Question restricting ssh access for some users only
Jeremie Le Hen
jeremie at le-hen.org
Sat Oct 9 06:49:28 PDT 2004
> Is there a way to enforce sshd login restrictions without using login(1)?
> (i.e. I want to enforce a specific umask for all ssh logins).
AFAIK this should be achievable using the PAM session facility. But I
found no `pam_umask' module. BTW it should be pretty easy to implement
by derivating an existing session module such as `pam_chroot'.
--
Jeremie Le Hen
jeremie at le-hen.org
More information about the freebsd-security
mailing list