LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 06-20-2002, 03:47 AM   #1
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Why do user's passwords change?


I am a self-made system administrator (we have a real one, too) with access to three FreeBSD servers on our Intranet, each dancing samba for Windows clients.
From time to time I experience that one or the other user cannot connect to his (her) own user directory on one or other server.
It seems as if the FreeBSD servers sometimes 'forget' user's passwords, or set new passwords automatically (which new passwords are not known to anyone). In such cases I have to set the old password of the user concerned and everything is OK again.
However, I am worried about the fact of mysteriously changing passwords.
Did anyone experience such behaviour with FreeBSD (or Samba)? What can be the reason?

Last edited by J_Szucs; 06-20-2002 at 03:48 AM.
 
Old 07-02-2002, 05:15 PM   #2
sancho5
Member
 
Registered: Jul 2001
Location: Utah
Distribution: RedHat v7.3, OpenBSD 3.3, FreeBSD 5.0
Posts: 327

Rep: Reputation: 30
that's ridiculous.
 
Old 07-02-2002, 05:37 PM   #3
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 32
More than likely the problem is that the user changes
password on the windows machine? Unless you got password set to expire on the BSD boxes?
Also keep in mind samba has it's own password file.
I don't believe (by default) either the samba or Unix password is sync when the Win password is chagnes.
 
Old 07-05-2002, 07:45 AM   #4
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
Well, that's ridiculous and I would really laugh if it was not me who has to re-set the original passwords from time to time.

And, actually not the samba password changes but the user password in FreeBSD, as once the password has changed the user cannot connect via SSH, either.

(Naturally, it is me who tries to connect via SSH just to give it a try, since the Windows users have never heard about SSH)
 
Old 07-05-2002, 08:29 AM   #5
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 32
What's ridiculous about FreeBSD/Unix expiring passwords?

What are these accounts used for, are they just used for
samba shares, or do users actually login into them via
telnet, ssh, ftp etc?

The passwd man page (man passwd) discusss this under
"Password expiry information"

Check /etc/default, is there a file called sometihing like useradd? I

Unix may be cryptic, but it's not random.

Last edited by pickledbeans; 07-05-2002 at 08:35 AM.
 
Old 07-09-2002, 02:23 PM   #6
sancho5
Member
 
Registered: Jul 2001
Location: Utah
Distribution: RedHat v7.3, OpenBSD 3.3, FreeBSD 5.0
Posts: 327

Rep: Reputation: 30
I guess the reason i find it odd is that if that's the expiring passwords causing this, i'm not aware of a system that does that by default. seems the admin would have to enable that theirselves, no? So in that case they should be aware of it?
 
Old 07-09-2002, 02:37 PM   #7
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 32
I've never heard of this happeing, in 7 years of working with *nix.

But I'm still waiting for a answer to the guestion about what type of accounts are talking about: users logging into shell accounts or accounts just used for samba?

The only other suggestion would be to post it a FreeBSD mail list. When you review the FreeBSD docs, you didn't
see anytihng?


BTW, If we were talking OpenBSD instead I wouldn't supprise be at all if Theo and the gang put password aging in my default

Last edited by pickledbeans; 07-09-2002 at 02:42 PM.
 
Old 07-09-2002, 03:46 PM   #8
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 32
I hope you kids appreciate me doing you homework for you.

Take a close look at the these two entries from /etc/shadow;
davej is a standard user acouunt with no expiratiion.
timeout has the password/accouint set to expire on Aug 09, 2002.
Question what the difference between these two accounts setup?

slacker:root >> egrep "davej|timeout" /etc/shadow
davej:$1$Al8skv7x$7kMZUDeL9CZKpUwu3rbNz/:11875:0:99999:7:::
timeout:$1$AYE/GDw8$ibjg6ohOuvhUTn4jLk87j1:11877:0:99999:7::11908:

Now I've set the in active days to "13" notice the 13 in the /etc/shadow record:

timeout:$1$AYE/GDw8$ibjg6ohOuvhUTn4jLk87j1:11877:0:99999:7:13:11908

Last edited by pickledbeans; 07-09-2002 at 03:51 PM.
 
  


Reply



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
How do I change a user's primary group? Akhran Linux - Newbie 4 03-19-2010 08:54 PM
How can I change a user's uid and gid? homesp Debian 2 05-31-2005 02:39 PM
Changing user's passwords from the root accont Quartzophobia Linux - General 5 01-25-2004 07:27 AM
change a user's gid eastj1974 Linux - Newbie 3 12-09-2003 04:40 PM
how to change a user's Home directory n1wil Linux - General 8 08-24-2002 03:22 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 10:24 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
Open Source Consulting | Domain Registration