All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aman Sharma <amansh.sharma5@gmail.com>
To: SELinux <selinux@tycho.nsa.gov>,
	Stephen Smalley <sds@tycho.nsa.gov>,
	centos@centos.org
Subject: Re: PAM Security related issue
Date: Wed, 13 Dec 2017 14:44:37 +0530	[thread overview]
Message-ID: <CAPMH7-8LyLy3QeFiazgo8dqypfaYn=bsxxrNvsnaQgZdfkCSWA@mail.gmail.com> (raw)
In-Reply-To: <CAPMH7--1HHC1tj9SYpMp2Mcxo6_kjBRgViA76qbSo4PQ-_dstA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

Also in the logs, I am getting the below error message :


Dec 13 13:00:00 aman authpriv 3 sshd: pam_selinux(sshd:session): Unable to
get valid context for sftpuser
Dec 13 13:00:00 aman authpriv 6 sshd: pam_unix(sshd:session): session
opened for user sftpuser by (uid=0)

On Wed, Dec 13, 2017 at 10:17 AM, Aman Sharma <amansh.sharma5@gmail.com>
wrote:

> Hi All,
>
> just wanted to know the meaning of line *session    required
>  pam_selinux.so open env_params *added in */etc/pam.d/sshd *file.
> Actually I am facing one issue related to this. When I changed this *env_params
> to restore *then my Sftp is not working.
>
> Can anybody Please guide me on this.
>
>
> --
>
> Thanks
> Aman
> Cell: +91 9990296404 |  Email ID : amansh.sharma5@gmail.com
>



-- 

Thanks
Aman
Cell: +91 9990296404 |  Email ID : amansh.sharma5@gmail.com

[-- Attachment #2: Type: text/html, Size: 1780 bytes --]

  reply	other threads:[~2017-12-13  9:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-13  4:47 PAM Security related issue Aman Sharma
2017-12-13  9:14 ` Aman Sharma [this message]
2017-12-13 15:24 ` Stephen Smalley
2017-12-13 16:10   ` Aman Sharma
2017-12-13 18:17     ` Dominick Grift
2017-12-13 19:15     ` Stephen Smalley
2017-12-14  7:18       ` Aman Sharma
2017-12-14  8:16         ` Dominick Grift
2017-12-14 13:49         ` Stephen Smalley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPMH7-8LyLy3QeFiazgo8dqypfaYn=bsxxrNvsnaQgZdfkCSWA@mail.gmail.com' \
    --to=amansh.sharma5@gmail.com \
    --cc=centos@centos.org \
    --cc=sds@tycho.nsa.gov \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.