LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to create separate list of samba users. (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-create-separate-list-of-samba-users-898204/)

gardenair 08-18-2011 11:54 PM

How to create separate list of samba users.
 
hi,
I am using cent os 5 for samba.For samba users i make a user in my linux bos like

Code:

# useradd smith
# useradd jone

These users can also login into my linux system if they want. For samba I want to know that is there any way to create a valid list of samba users so that they may access files from windows xp.

Thanks in advance,
garden

Tinkster 08-19-2011 04:55 PM

Not sure how useradd is supposed to give the user access to
samba ... the "normal" way to give a linux user access to samba
facilities is to use, e.g.:
smbpasswd -a smith


Cheers,
Tink

gardenair 08-21-2011 02:45 AM

Thanks for the reply. Well it means that "smbpasswd -a smith" is the way to add user and assign its password ?
Kindly guide me if i am wrong.

2- This is the syntax to add samba user and its password "smbpasswd -a <username>" My question is where is this database located ?

regards
gardenair


All times are GMT -5. The time now is 12:18 PM.