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@xxxxxxxxx> 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.