couldn't find wps

Richard Meglino rmeglino at
Sun Jan 9 05:19:11 GMT 2000

My bad ... I did mistype that in this message... I did redirect that to
/etc/smbpasswd and I did execute a smbpasswd username command to create a samba
password.  However the error still exists.

Steve Langasek wrote:

> On Sun, 9 Jan 2000, Richard Meglino wrote:
> > Jan 8 11:46:31 bucka PAM_pwdb[18444]: authentication failure; (uid=0) ->
> > smbuser for samba service
> > However, I am using the correct password for smbuser and I have executed
> > successfully the command:
> > cat /etc/passwd | > /etc/passwd
> > is there another password file that should exsist?
> Um.  I hope the above commandline was miscopied.  If not, you've just
> overwritten your system password file with Samba-specific password data.
> You'll need to recover your original /etc/passwd file, or your system will
> likely be completely unusable after you log out.
> The script is for making an *SMB* password file, which is a
> separate file on the system (with a location configurable via the 'smb passwd
> file' directive in smb.conf).
> Also, making the smbpasswd file isn't enough to let you use encrypted
> passwords; you also have to populate the file with actual encrypted passwords.
> The smbpasswd command should help you with this.
> -Steve Langasek
> postmodern programmer

More information about the samba-technical mailing list