Restricted Shell

Ingemar Nilsson init at pdc.kth.se
Fri Dec 1 15:18:14 UTC 2006


"Miner, Jonathan W (CSC) (US SSA)" <jonathan.w.miner at baesystems.com> writes:

> What about replacing their shell with "/bin/false" ?  You may also need
> to edit the /etc/shells file and add "/bin/false" so that FTP recognizes
> it as a valid shell.

There is already a shell for this purpose, it's called /sbin/nologin.

Regards
Ingemar




More information about the fedora-list mailing list