[Samba] (no subject)

Christian Barth barth at cck.uni-kl.de
Fri Feb 15 00:14:08 GMT 2002


> Hi all
> 
> The trouble I am still having is creating the machine account.  I get an 
> error saying that the dir /dev/null cannot be created because a file by the 
> name of null exists in  /dev.  Does the machine account need to be in 
> /dev/null or can I change it to something else. 
It should be for security reasons. But you can use an other directory 
and hand edit /etc/passwd later.

> I am running redhat 7.2. 
> and using this script to try and create accounts
> 
> /usr/sbin/useradd -g machines -d /dev/null -s /bin/false CLIENT$
Look at the manpage of useradd. There should be an option not to 
create the home directory, may be -M.

Christian

> 
> 
> 
> Thanks
> 
> Shaun
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




More information about the samba mailing list