Help with su on 6.3

Alex Zbyslaw xfb52 at
Thu Feb 14 14:16:08 UTC 2008

Derek Ragona wrote:

> I usually just set the shell to /usr/bin/false or /usr/sbin/nologin 
> for users like these.  Of course you can't test these interactively 
> with su.  If you want to do that, give the account a valid login 
> shell, test it, then set it to false or nologin.
It's not clear to me what you mean by "you can't test these 
interactively with su".  If you mean you can't su to them and get a 
shell; that's wrong.

su -m account_with_fake_shell


More information about the freebsd-questions mailing list