Date: Wed, 27 Aug 2003 23:59:33 -0500 From: "Micheal Patterson" <micheal@cancercare.net> To: <questions@freebsd.org>, "David Banning" <david+dated+1062438732.fcbda4@skytracker.ca> Subject: Re: how to reset password with nologin shell? Message-ID: <011f01c36d21$8e1931b0$0201a8c0@dredster> References: <20030827175210.GA30966@skytrackercanada.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "David Banning" <david+dated+1062438732.fcbda4@skytracker.ca> To: <questions@freebsd.org> Sent: Wednesday, August 27, 2003 12:52 PM Subject: how to reset password with nologin shell? > 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. > > -- > _______________________________________________ > 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" As root, you can run passwd <username> to set it to what they request. -- Micheal Patterson Network Administration Cancer Care Network 405-733-2230
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?011f01c36d21$8e1931b0$0201a8c0>