Thursday, April 20, 2006

how to create samba user

Hello All,
 
To create samba user..you should be root or sudo user.
 
1. First create a local user.
e.g.
$adduser abc
$passwd abc
(give the password.)
 
2. Then add that user in samba.
$smbpasswd -a abc
(Give the same password which you given in first stage.)
 
Thats it!     

4 comments:

Sanjay said...

hey, is it neccessary to give same password as system user's? what if we give different password?

Anonymous said...

I think no need of that

Anonymous said...

I think no need of that

Amol P Kesare said...

Sanjay you have to same password which is in /etc/passwd