From owner-freebsd-questions@FreeBSD.ORG Tue May 31 15:23:56 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C213A16A41C for ; Tue, 31 May 2005 15:23:56 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7916743D49 for ; Tue, 31 May 2005 15:23:56 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2) with ESMTP id j4VFNuJF018398; Tue, 31 May 2005 11:23:56 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2/Submit) id j4VFNuSl018397; Tue, 31 May 2005 11:23:56 -0400 (EDT) From: Jerry McAllister Message-Id: <200505311523.j4VFNuSl018397@clunix.cl.msu.edu> To: mail@myunix.net (Christian Tischler) Date: Tue, 31 May 2005 11:23:56 -0400 (EDT) In-Reply-To: <429C809C.4070008@myunix.net> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, "Eugene M. Minkovskii" Subject: Re: FreeBSD 5.x forgetting passwords. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2005 15:23:56 -0000 > > 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" >