LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2011, 12:54 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Rep: Reputation: 31
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
 
Old 08-19-2011, 05:55 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 08-21-2011, 03:45 AM   #3
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Original Poster
Rep: Reputation: 31
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

Last edited by gardenair; 08-21-2011 at 04:03 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I create linux and samba users with a script? replica88 Linux - General 3 06-07-2011 05:22 PM
[SOLVED] Where is samba password file - need to list samba users explorer Slackware 8 04-06-2011 06:26 PM
SAMBA getent passwd command doesnt list all the users loganking Linux - Software 0 06-14-2006 12:22 PM
[Samba] how to list users yan1 Linux - Networking 2 04-04-2005 08:23 AM
Create users in Samba br_sriram Linux - Software 2 09-24-2004 12:49 PM


All times are GMT -5. The time now is 08:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration