Re: No Shell User
- From: Frank Steinborn <frank@xxxxxxxxxx>
- Date: Tue, 31 Jan 2006 23:26:44 +0100
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"
- References:
- No Shell User
- From: Sean Murphy
- No Shell User
- Prev by Date: Re: Proper FreeBSD installation practices
- Previous by thread: No Shell User
- Next by thread: Upgrading 5.3 to 6.0 question
- Index(es):