Re: ssh(1) is inaccurate

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On 2017-12-06T15:03, Stephen Harris <lists@xxxxxxxxxx> wrote:
> > So if a user has /dev/false as login shell, you cannot run a command on

The specified shells in /etc/passwd are also often checked against a
list of allowed shells in /etc/shells by PAM. Users without an allowed
shell (the usual entry to make there is /bin/false) are denied access,
usually even in services that never spawn a shell in the first place,
e.g. IMAP or graphical sessions. See also pam_shells(8).

This has little to do with SSH, but it makes /bin/false a bad example
for a shell here, since the aforementioned mechanism might lead to
nothing being executed at all, not even /bin/false.



Ciao,

Alexander Wuerstlein.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux