From owner-freebsd-questions Tue Apr 9 15: 6: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from PHSEXCHICI.MGH.HARVARD.EDU (phsexchici.mgh.harvard.edu [132.183.126.51]) by hub.freebsd.org (Postfix) with ESMTP id 32EDB37B417 for ; Tue, 9 Apr 2002 15:06:02 -0700 (PDT) Received: by phsexchici.mgh.harvard.edu with Internet Mail Service (5.5.2650.21) id <2HM4MK46>; Tue, 9 Apr 2002 18:06:01 -0400 Message-ID: <375F68784081D511908A00508BE3BB1701EF18FA@phsexch22.mgh.harvard.edu> From: "Morse, Richard E." To: 'Brendan McAlpine' , Ryan Thieme Cc: questions@FreeBSD.ORG Subject: RE: Problem su'ing to root Date: Tue, 9 Apr 2002 18:05:56 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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