Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you help with a password question?

Status
Not open for further replies.

JustKIDn

MIS
May 6, 2002
386
US
Help,

On my home network, I have an account for me and one for my wife.

My account never seems to expire, but my wife's does. ( I haven't noticed how long between resets )

I checked useradd -D

# useradd -D
GROUP=100
HOME=/home/%s
SHELL=/bin/bash
SKEL=/etc/skel
PASS_MIN_DAYS=0
PASS_MAX_DAYS=-1
PASS_WARN_DAYS=7
PASS_INACTIVE=-1
PASS_EXPIRE=-1

It looks to me as though the password default is to NOT expire. Am I right?

O.K. I know that's not a samba question!

So my wife ONLY access's the Linux server through samba connections. Sometimes she gets prompted for a password, which suddenly doesn't work.

I have to log on to the Linux server and use passwd to set her password. The good thing here is, at least it lets her use the same password. (this is a home network so that's ok.)

After I do that, it works again.

So I'm wondering if samba has any user defaults that could be causing her password to expire?

tgus

____________________________
Families can be together forever...
 
is it windows that is asking for the password to change?
 
Actually, nothing is asking for a password change.

It's just asking for a password.

(i.e. go into network neighborhood in win98 and click on one of the usually available samba shares.)

Generally this works without being prompted for a password. But once every month or two it prompts for a password.

That's when I have to log on to the Linux PC and change her password for her. Then everything's fine for a few weeks.

Any ideas?

tgus

____________________________
Families can be together forever...
 
if you take your wifes line above, and compare it to yours can you see any difference (apart from the name, and possibly the gcos) ...

you could set the PASS_MIN_DAYS and PASS_WARN_DAYS to -1 and that might help ...

another thing that could work is removing all the numbers so that it is just ::::::

 
Sorry for the delay, I've been distracted.

I finally gave-up and went to the user manager tool in KDE.

In Default settings there was an option that said something like "Password Expire" and it was set to 30.

So I changed it to -1.

I hope that works. But I guess this couldn't be corrected at the console prompt?

Thanks for the help!

tgus

____________________________
Families can be together forever...
 
should have done ... but i couldn't have told you off the top of my head :)

glad you've fixed it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top