is /dev/null a vaild Home Directory??

Bevan C. Bennett bevan at fulcrummicro.com
Fri Apr 30 16:07:28 UTC 2004


Ow Mun Heng wrote:
> Hi,
> 
> 	I'm creating a bunch of users on the server that only needs to have 
> samba file share access. Their Shell is /sbin/nologin.
> 
> Currently, all of them have home directories, which I do not want. 
> Can I put in /dev/null as their default home directory??

I've always used /dev/null for non-users that don't need to store any 
regular user config files and haven't had a problem yet.

I don't know if it's the recommended method, but it certainly seems to work.





More information about the fedora-list mailing list