Date: Mon, 20 Sep 1999 09:35:25 -0400 From: "Jeff Poole" <korvus@tasam.com> To: <veenoghu@uvic.ca>, "Michael Henry" <mhenry@pgrad.cs.usyd.edu.au> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: Locking myself out of Root @ Wheel Message-ID: <006301bf036c$ff5e88c0$03000004@korvus> References: <19990920064917.D64181557B@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
If your passwords are the same but only your login shells are messed up, you should be able to FTP in a new master.passwd file... Ur... Unless you have FTP disabled for root , whicch I believe to be the default. Nevermind. :) ----- Original Message ----- From: Michael Henry <mhenry@pgrad.cs.usyd.edu.au> To: <veenoghu@uvic.ca> Cc: <freebsd-newbies@FreeBSD.ORG>; <freebsd-questions@FreeBSD.ORG> Sent: Monday, September 20, 1999 2:49 AM Subject: Re: Locking myself out of Root @ Wheel > > CC'd to -questions. Please post follow-ups there. > > > I have locked myself out of the root user account. > > Impossible. > > > Using a basic search & replace function on the master.passwd file I renamed the > > shell in use by root (and nearly all other users), from /bin/sh to /bin/csh > > I won't ask. > > > The user I added immediately after making this change still works, all of the > > other users don't. > > I would help if you included /etc/passwd in your post. > (Or you could include /etc/master.passwd so we could try > to crack your passwords :) ). > > > When doing this I'm greeted with the following error right as the shell should > > start: > > > > : No such file or directory > > > > The server is still operational and working just fine without me. But, I will > > eventually need to have access to it again. > > Single user mode was designed for contingencies such as this. > > Type "boot -s" at the boot: prompt. > > > I need a suggestion for how I override either the default shell or otherwise > > gain access to the file system in order to restore the backed up master.passwd > > file. > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006301bf036c$ff5e88c0$03000004>