[Samba] Adding samba users ?:/

Dariusz Blada darek at bdfelin.com.pl
Fri Mar 14 18:10:32 GMT 2003


----- Original Message ----- 
From: "Ketil Braun Larsen" <KetilL at it-college.dk>
To: <samba at lists.samba.org>
Sent: Friday, March 14, 2003 7:00 PM
Subject: [Samba] Adding samba users ?:/


> Hello world...
> 
> I have a problem, I have installed samba and I need to share some
> directory.
> I have defined the dirs 2 share etc etc etc.
> 
> I now want ad a user.
> 
> I need some help I have done some rtfm but cant seem to get it ..
> 
> I have tried to cat /etc/passwd > /usr/local/private/passwd 
> 
> But that dosent seem to work (I read it someplace that it whuld)
> 
> I imagen its because the hashes isent in the /etc/passwd (shadowd) or
> something.
> 
> 
> Is there a add user samba tool ? .. wherei can do like this or somtnhing
> 
> #Smb-adduser username 
> and then it meaby will ask for passwords or something....
> 
> 
> anyway I hope you can help me.
> 
> Thanks
> 
> 
> 
> 
> Ps -axe |grep Ketil
> 79 ?        S      1:09 /usr/sbin/klogd -c 3 -x PWD=/
> CONSOLE=/dev/console -x (Ketil Braun Larsen)
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

You should use smbpasswd tool

Darek



More information about the samba mailing list