Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-26-2004, 12:14 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 4

Rep: Reputation: 0
passwd set password to blank - always


I am new user in Linux, SUSE 9.1, and have a problem when a try to change my password (a common user)

When a execute passwd, I can change my password, but the password always is set to "blank".

I noticed that /etc/shadow was changed.
If a try to execute passwd again, or even login, the current valid password is always blank.

I try with others common users and I got the same results.

Could you anyone help-me ?
Old 07-26-2004, 03:53 PM   #2
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
1. How are you entering the passwd command?
2. Just to clarify, is the password getting set to "blank" as in nothing/null or is it getting set to the actual word "b-l-a-n-k"?
3. Does this behavior happen for root as well?

Try verify the rpm packages that supply passwd and pam, like this:
#rpm -q --whatprovides passwd

#rpm -V passwd-0.68-4

#rpm -q whatprovides pam

#rpm -V pam-0.77-15

Your version numbers will likely be different than the ones in the above example.
If any of the rpm verifications (rpm -V) produce output, please post it. No output means the files are intact (at least according to the rpm database)
Old 07-26-2004, 04:33 PM   #3
LQ Newbie
Registered: Jul 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks to help me !

1) I have null password (ENTER on password field)

2) rpm -q --whatprovides passwd
no package provides passwd
rpm -q --whatprovides pam
fernando@linuxtoto:~> rpm -V pam-0.77-221
..?..... /lib/security/pam_filter/upperLOWER

3) I think that I found the origin of the problem.
I remove my SAMBA client and server from my Suse and passwd worked.
After, I reinstall SAMBA client and Server (no winbind package), passwd worked
After, I install winbind , passwd does not work.

4) I found this messagem in my system log :

pam_winbind[6348]: password - (old) token not obtained
pam_winbind[6348]: write to socket failed!
pam_winbind[6348]: internal module error (retval = 3, user = `katia'

5) If it helps, my pam_unix2.conf is :
auth: nullok
password: call_modules=winbind nullok
session: none

6) Why do I need winbind ? Do you know ? Everything works without it :
I can print on SMB printer, I can access Windows on the network, mount smbfs devices and share my hard drive !

Last edited by fantunes; 07-26-2004 at 04:54 PM.
Old 07-26-2004, 05:45 PM   #4
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Is the winbindd (winbind daemon) up and listening for connections? It looks like the pam_winbind module is having problems writing to the winbindd socket.

Winbind is for mixed environment CIFS/SMB authentications, where users are authenticated by a central server. If you are simply using samba and don't mind creating smbpasswd databases for each system, then you don't need it.
Old 07-27-2004, 07:41 AM   #5
LQ Newbie
Registered: Jul 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, I will dig for more information and try to understand what's going wrong with pam X winbind.

Thanks for your time and clues.

Last edited by fantunes; 07-27-2004 at 07:42 AM.


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
blank password ? Oisin Linux - Security 1 04-04-2005 06:31 AM
passwd: Bad password, too simplistic ??? qwijibow Linux - Security 2 02-05-2005 05:58 PM
my mysql-3.23.58 can't set root passwd bear_bear Linux - General 1 01-05-2004 04:48 AM
Bash script to edit passwd without Root password? NetFlash Linux - Newbie 2 11-29-2003 05:22 PM
how decode the passwd file's password? yikaikai Linux - Security 10 08-07-2001 05:13 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:37 PM.

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
Open Source Consulting | Domain Registration