LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-16-2005, 06:57 PM   #1
GUIPenguin
Member
 
Registered: Aug 2004
Location: Maine
Distribution: Gentoo Linux
Posts: 239

Rep: Reputation: 30
Samba failed to modify passwd entry


I am trying to setup samba passwords for users

smbpasswd john
New SBM password: ********
Retype New Password: *******

then when I hit enter it gives me an error

Failed to find entry for user john
Failed to modify password entry for john


this happens with any user including root despite whether or not it is /bin/bash or /bin/false or anything


I am going by this guide
http://www.samba.netfirms.com/sambconf.htm#smb

I am using Fedora Core 3
SMB server works fine, I just have to create users and that is my problem.


All help would be great!, Thanks!
 
Old 01-17-2005, 10:39 AM   #2
gjh
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
If the user hasn't been added to the database yet, you need to use the -a option.
For example

smbpasswd -a john

It adds the new user and sets the password.

Good luck
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Failed to find entry for user david_wliu Linux - Networking 9 12-14-2013 08:15 AM
ORPHAN (no passwd entry) markus1982 Linux - General 6 08-19-2010 08:57 AM
odd entry in /etc/passwd file globeTrotter Linux - Security 4 07-21-2004 09:27 PM
/etc/passwd entry secprovider Linux - Security 1 06-25-2004 10:55 AM
passwd / shadow issues -- Authentication failed BartonOC Linux - General 2 02-12-2004 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:02 PM.

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