Date: Tue, 9 Apr 2002 18:05:56 -0400 From: "Morse, Richard E." <REMORSE@PARTNERS.ORG> To: 'Brendan McAlpine' <bmcalpine@macconnect.com>, Ryan Thieme <rt@pinhead.nshl.com> Cc: questions@FreeBSD.ORG Subject: RE: Problem su'ing to root Message-ID: <375F68784081D511908A00508BE3BB1701EF18FA@phsexch22.mgh.harvard.edu>
next in thread | raw e-mail | index | archive | help
Brendan McAlpine [mailto:bmcalpine@macconnect.com] wrote: > Thanks for the help. Here is where my problem gets more complex. > > 1. I don't have sudo set up on this machine. > > 2. csh is not on the machine for some reason. > > Right now there is no way for me to get root powers on the > machine. Even > sitting at the console doesn't let me log in as root. > > Any other ideas? > Try typing this (the '$' is your prompt): $ su root -c /bin/sh Then enter the root password. This _should_ run /bin/sh (you can enter another shell if you wish), which you can then use tho make whatever changes you need to make to /etc/shells and/or /etc/passwd (remember to use vipw) HTH, Ricky 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?375F68784081D511908A00508BE3BB1701EF18FA>