Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Login Shell, login shell problem for the root
post Jan 16 2003, 12:20 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 16-January 03
Member No.: 328

we have logged with linux as root over a telnet session.But, by mistake we changed the passwd file with the intention of adding users to passwd file.But in the process the default shell in the passwd file got changed into /bin/bash:xyz in the passwd file for the root user.when the next time we logged it is not allowing to login either from main machine or from the telnet for the root user.we are unable to change the file as we could not login through the System administrator proompt. There is a passwd.bak also.what is the remedy.
Please help.
Thanks and Regards,
Go to the top of the page
+Quote Post
post Jan 16 2003, 09:28 PM
Post #2

RMS is my Hero

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29

here u r.ur options r:
1.if u have lilo as boot loader .then at the menu press ctr-x.then from the boot command line enter" linux single" or enter
linux init=/bin/sh
2.if u have grub as boot loader without boot passwd.then press "e" edit at he boot
kernel /vmlinuz-xxxx and press "e"
u get a cursor at the end of the line add "single" press enter
and press "b" to boot that image.u will get a #root prompt
3.u have enabled boot passwd for grub or for lilo than use ur installation
cd.just type linux rescue.u will get the prompt to workon.
type chroot/mnt/sysimage
type passwd
put ur new passwd
type exit
and don't forget to mail me if this works.
type exit agian. to boot

Hemant Kumar
user posted image
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 20th June 2018 - 06:51 AM