Re: No Shell User



Sean Murphy wrote:
> I need to create a user with no login or home directory abilities.
> It just needs to own a few directories and files and be able to
> run a daemon. would I use pw or adduser and what would be the
> options for that command?

Just set the users shell to /sbin/nologin and his home-directory to
/nonexistent. The home-directory could be anything else i think, just
make sure it doesn't really exist. FreeBSD's nobody user uses
/nonexistent, though.

Frank

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"