Anyway 'chsh' is for admin use, not editing directly /etc/passwd, doing
that is a bad practice (i do too as always i think but that dont mean it's ok).
At 23.00 27/6/00 +0200, Harald Thingelstad wrote:
On Tue, 27 Jun 2000, Frank van der Hulst wrote:
> Help!!!
>
> I just installed Debian GN
Many thanks to those who emailed me help.
In the end (after perusing the list archives), I figured out that
there's many more parameters that can follow 'rescue' when booting from
the CDROM. In particular, I found that
rescue root=/dev/hda1 single
was enough to get root access back. From there,
On Tue, Jun 27, 2000 at 04:21:16PM +1200, Frank van der Hulst wrote:
> Help!!!
>
> I just installed Debian GNU/Linux, everything was going well.
>
> Then I decided I'd change the shell for root to the C shell. So I used
> emacs to change the /etc/passwd entry for root, so that root's shell is
> /
I prefer booting with a lilo option like init=/bin/sh, remounting the root
partition read-write and edit again...
Or perhaps you got sudo installed and configed?? That'll be the easiest
...
Ron Rademaker
On Tue, 27 Jun 2000, Harald Thingelstad wrote:
> On Tue, 27 Jun 2000, Frank van der Hulst w
On Tue, 27 Jun 2000, Frank van der Hulst wrote:
> Help!!!
>
> I just installed Debian GNU/Linux, everything was going well.
>
> Then I decided I'd change the shell for root to the C shell. So I used
> emacs to change the /etc/passwd entry for root, so that root's shell is
> /bin/tcsh
>
> Then,
On Tue, 27 Jun 2000, Frank van der Hulst wrote:
> Is there a way to login as root, and specify the shell to run?
Very easy if you have physical access to the machine:
Reboot, hold the Shift key while LILO is booting, enter the default
booting image name (e.g. Linux) and append
init=/bin/bash
Help!!!
I just installed Debian GNU/Linux, everything was going well.
Then I decided I'd change the shell for root to the C shell. So I used
emacs to change the /etc/passwd entry for root, so that root's shell is
/bin/tcsh
Then, I found that tcsh isn't in the /bin directory! And I've logged out
7 matches
Mail list logo