Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Create safe, simple accounts without passwords' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Create safe, simple accounts without passwords
Authored by: istumbler on Jun 23, '05 12:57:39PM

For an extra measure of protection you can disable the shell for an Anonymous account by setting the users shell variable to '/sbin/noshell'. At the command line you type:

sudo nicl . create /users/anonymous shell /sbin/noshell

This will prevent the user 'anonymous' from opening the Terminal application (it checks the users shell on startup and politly refuses to launch) and getting a shell at all, very usefull to sandbox anonymous users and kids.

---
iStumbler -- Wireless Intelligence -- http://istumbler.net/

[ Reply to This | # ]

10.4: Create safe, simple accounts without passwords
Authored by: englabenny on Jun 23, '05 01:11:30PM
There is no file /sbin/noshell. Use /usr/bin/false like the system users without shell use.

[ Reply to This | # ]
10.4: Create safe, simple accounts without passwords
Authored by: xcgr on Jun 24, '05 12:03:01AM

I think you meant /sbin/nologin. It's designed for exactly this purpose.



[ Reply to This | # ]