Re: Why do system users have shells?
On Mon, 25 Nov 2002 20:39, H. S. Teoh wrote:
> On Mon, Nov 25, 2002 at 12:10:44PM -0700, James Hamilton wrote:
> > I'm curious why system users such as bin, sys, and nobody have /bin/sh
> > as a shell instead of a noshell program or /bin/false.
>
> [snip]
>
> Possibly because otherwise, you cannot run any shell scripts as that user.
> (This may also apply to more than shell scripts, but I'm not sure about
> that.)
sudo, start-stop-daemon, su -s
Why can't people read man pages before replying?
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
Reply to: