Date: Tue, 15 Aug 1995 23:13:28 +0930 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: freyes@i-2000.com Cc: questions@FreeBSD.ORG Subject: Re: root shell problem Message-ID: <199508151343.XAA25969@genesis.atrad.adelaide.edu.au> In-Reply-To: <9508151241.AA20407@i-2000.com> from "Francisco Reyes" at Aug 15, 95 08:39:16 am
next in thread | previous in thread | raw e-mail | index | archive | help
Francisco Reyes stands accused of saying: > > I was attempting to change my shell for the roo to bash. I left > out the initial '/' so I wrote usr/.... instead of /usr.... > > How can I fix this? I can not log in as root. Is there a way to log > in an indicate a shell at the same time? No, that would be a lethal security hole. If you managed to change the shell to something that wasn't listed in /etc/shells you must have been editing /etc/passwd - don't do that! Use 'vipw' to edit the password database. /etc/passwd is only there for compatability - FreeBSD uses a shasow password scheme. -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" - Terry Lambert [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508151343.XAA25969>