List Info

Thread: No Shell User




No Shell User
user name
2006-01-31 19:11:32
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?

Thanks

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
No Shell User
user name
2006-01-31 22:26:44
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-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )