Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2003 12:56:40 -0500
From:      "Charles Howse" <chowse@charter.net>
To:        "'David Banning'" <david+dated+1062438732.fcbda4@skytracker.ca>, <questions@freebsd.org>
Subject:   RE: how to reset password with nologin shell?
Message-ID:  <006601c36cc4$91fe2e50$04fea8c0@moe>
In-Reply-To: <20030827175210.GA30966@skytrackercanada.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> If I have a user that has a nologin shell and they forget
> thier password, is there a way to give them a new password?
> 
> Right now I am resetting their password to nil, then
> giving them a shell like /bin/sh, logging in on their behalf,
> setting up a password, and then changing their shell back
> to /bin/nologin.
> 
> I would like to elliminate the noshell to shell and then
> back to noshell part.

# passwd <username>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006601c36cc4$91fe2e50$04fea8c0>