Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 01-16-2005, 07:57 PM   #1
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

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, 11:39 AM   #2
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


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 09:15 AM
ORPHAN (no passwd entry) markus1982 Linux - General 6 08-19-2010 09:57 AM
odd entry in /etc/passwd file globeTrotter Linux - Security 4 07-21-2004 10:27 PM
/etc/passwd entry secprovider Linux - Security 1 06-25-2004 11:55 AM
passwd / shadow issues -- Authentication failed BartonOC Linux - General 2 02-12-2004 09:50 PM > Forums > Linux Forums > Linux - General

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

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