LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-03-2002, 02:08 PM   #1
X-Ray5
LQ Newbie
 
Registered: Aug 2002
Distribution: Red Hat 7.3, Win2k Pro.
Posts: 10

Rep: Reputation: 0
Samba adduser?


Hey I'm setting up a samba server and I'm running version 2.2.5-1 and I don't know how to add user. I think the command is "smbadduser <name>:<password>" But when I enter that command in as root I get a "command not found" and I also have Samba running at the time I try adding the new userm what am I doing wrong do I have to edit the password file, I don't know what to do
 
Old 09-03-2002, 02:47 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The command is smbadduser. Maybe you just don't have it in your path? Try
locate smbadduser
or
find / -name smbadduser
and then use with the right path, for example
/usr/bin/smbadduser
 
Old 09-03-2002, 04:11 PM   #3
X-Ray5
LQ Newbie
 
Registered: Aug 2002
Distribution: Red Hat 7.3, Win2k Pro.
Posts: 10

Original Poster
Rep: Reputation: 0
In /usr/bin/ I have not dir called "smbadduser" so the command must not be there how can I get the command in there? Also when i did find / -name smbadduser it did not find anything. But I do have samba installed and running so I don't know why this is happening. Is there any onther way I can add a user for my samba server?

PS For samba command I have

smbcacls
smbclient
smbcontrol
smbpasswd
smbprint
smbspool
smbstatus
smbtar

Last edited by X-Ray5; 09-03-2002 at 04:13 PM.
 
Old 09-04-2002, 11:53 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Smbadduser comes with Samba.... Maybe just download source/upgrade Samba you're running? Maybe the file was deleted?
 
Old 09-04-2002, 01:05 PM   #5
X-Ray5
LQ Newbie
 
Registered: Aug 2002
Distribution: Red Hat 7.3, Win2k Pro.
Posts: 10

Original Poster
Rep: Reputation: 0
I got it

Yes I got it this is what I had to do you must first add a user to the computer "adduser" blah blah and then you must type smbpasswd -a <username> and that adds a new user to the samba server
 
Old 09-04-2002, 07:10 PM   #6
needamiracle
Member
 
Registered: Apr 2002
Location: North Attleboro, MA
Distribution: RH 7.3
Posts: 106

Rep: Reputation: 15
Hey X-Ray5,

Are you using samba as a PDC or just as a file server? I can't seem to get the PDC working, but the file server works just fine. Although it does not hide the dot files even though I have hide dot files = yes, in the global section.

Just wondering what your experience with Samba has been.
 
  


Reply



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
adduser 64bitPlaya Slackware 2 08-13-2004 05:05 PM
adduser bally Linux - General 7 08-09-2004 01:28 PM
Adduser - xmdms Linux - Newbie 3 10-23-2003 03:54 PM
need to adduser(s) b_usa Linux - General 3 04-04-2003 07:40 PM
winbind in samba wont adduser cmyrvold Linux - Networking 0 05-07-2002 07:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:30 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
Open Source Consulting | Domain Registration