Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 11:23:56 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        mail@myunix.net (Christian Tischler)
Cc:        freebsd-questions@freebsd.org, "Eugene M. Minkovskii" <emin@mccme.ru>
Subject:   Re: FreeBSD 5.x forgetting passwords.
Message-ID:  <200505311523.j4VFNuSl018397@clunix.cl.msu.edu>
In-Reply-To: <429C809C.4070008@myunix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Eugene M. Minkovskii wrote:
> 
> >On Mon, May 30, 2005 at 03:53:29PM +0200, Christian Tischler wrote:
> >" Eugene M. Minkovskii wrote:
> >" 
> >" >On Sun, May 29, 2005 at 10:55:41PM +0200, Christian Tischler wrote:
> >" >" Hi,
> >" >" I am running a FreeBSD 5.1 system and some time ago it startet to 
> >" >" "forget" some user passwords.
> >" >" As the system is now running for over 2 years I cannot imagine any 
> >" >" reason why this shound be.
> >" >" Any ideas.
> >" >
> >" >root# su user
> >" >user$ passwd
> >" >newpasswd
> >" >newpasswd
> >" >user$ exit
> >" >
> >" >
> >" >
> >" >" Thanks in advance
> >" >" 
> >" >" Christian
> >" >" _______________________________________________
> >" >" freebsd-questions@freebsd.org mailing list
> >" >" http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >" >" To unsubscribe, send any mail to 
> >" >"freebsd-questions-unsubscribe@freebsd.org"
> >" >
> >" > 
> >" >
> >" And how do I do it from remote via ssh?
> >" 
> >
> >you$ sudo su user
> >
> >or, if you in group wheel, perhaps possible following
> >
> >you$ su user
> >
> >if you are not sudoer and you have not other way to take a root
> >privilegies, you can't be other user. And this is right. In other
> >case anybody can be anybody.
> >
> >" thx
> >" 
> >" Christian
> >" 
> >" PS: that was not quite an answer to my question I think, was it?
> >
> >  
> >
> Sorry for the confusion. But the problem is that the server forgets the 
> password of the user (in wheel) I want to log in with from remote.
>  The question was not how to become root or any other user to change the 
> password. The question was why the box forgets the passwords in the 
> first place, and how to stop this.

You may have to give more information.
I have never seen a system "forget" a password unless someone or something
intervened and specifically changed them.    Or, is it possible that you
put an expiration on the passwords?    By default, I believe FreeBSD
sets that at infinite, but you or someone might have changed that while
tinkering around.

////jerry

> 
> thx
> 
> Christian
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505311523.j4VFNuSl018397>