LinuxQuestions.org
Help answer threads with 0 replies.
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 11-11-2008, 06:07 AM   #1
Zafoid
LQ Newbie
 
Registered: Sep 2008
Posts: 13

Rep: Reputation: 0
Samba Password Issues


Hi,
I have set up Samba on slackware 12.1 which is working fine, however added a user to the share in exactly the same as before then tried creating a password for that user and it comes back with

Failed to find entry for user root.
Failed to modify password entry for root


Prior to this I have set up a new user with matching user name and password with adduser command and this worked fine and have tested this. I am not sure what to look at next because this is the same process that I went through before I had to reset up slackware due to a harddrive failure?????
Thanks
 
Old 11-12-2008, 02:16 AM   #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
Can you please post the exact command you ran, not just
some part of an error message?



Cheers,
Tink
 
Old 11-12-2008, 02:25 AM   #3
anonobomber
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
You're probably looking for the 'smbpasswd' command. Also it isn't a good idea to let someone login to your system with samba as root. I suggest you learn how file permissions work on Linux so that you can ensure that it is going to be a far more secure setup. Here is a bit of information on how file permissions work http://www.dartmouth.edu/~rc/help/faq/permissions.html .

Good luck!
 
Old 11-14-2008, 09:06 PM   #4
Zafoid
LQ Newbie
 
Registered: Sep 2008
Posts: 13

Original Poster
Rep: Reputation: 0
Stupidity on my part

I realised after I went back over my notes that the right command and therefore adding the password was not an issue was that it should have been;

smbpasswd -a "username"


and not;

smbpasswd

Thanks for your help.

Cheers

Craig
 
  


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
After changing Windows AD password Samba\Winbind still uses old password Criller Linux - Security 2 02-28-2008 04:14 AM
Can't work Samba, password issues lin00b Linux - Networking 3 07-29-2004 05:08 AM
Samba + Windows: Password Issues Sayman Linux - Networking 1 11-22-2003 05:24 PM
Logon samba on other samba password list hernandi Linux - Networking 1 10-14-2003 12:46 PM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:49 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