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.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> [rhl 9.0] There Are No Users, Now I Can't Log In
Fat_N_Furry
post Jul 30 2003, 11:16 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 30-July 03
Member No.: 1,175



I was working with Red Hat Linux 9.0, and I deleted all my users (I was experimenting, like the moron I am dry.gif) and now I cannot log in. The root user still exists, but when I attempt to log in as root, I get this error message:

QUOTE
The home directory is listed as:
'/home/root'
but it does not appear to exist. 
Do you want to log in with the root
directory as your home directory?

It is unlikely that anything will work unless
you use a failsafe session. 


So I changed my session to Failsafe, and clicked the Yes button - no such luck. It just goes back to the username prompt. I tried changing my session to Failsafe and clicking the No button, and it did the same thing.


Thankyou for taking the time to read my thread, and thankyou for any assistence you would provide.
Rick

This post has been edited by Fat_N_Furry: Jul 30 2003, 11:18 AM
Go to the top of the page
 
+Quote Post
Joey
post Jul 30 2003, 12:06 PM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



Try loading linux into single user mode. Reboot the system and at the lilo prompt type:

linux single
Go to the top of the page
 
+Quote Post
Fat_N_Furry
post Jul 30 2003, 12:53 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 30-July 03
Member No.: 1,175



Thanks for your reply. Actually I'm using GRUB. Is there any way I can get to LILO from GRUB, or perform the same actions from GRUB?


Thanks again.
Rick
Go to the top of the page
 
+Quote Post
Joey
post Jul 30 2003, 12:56 PM
Post #4


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



Not sure, have a look at http://www.redhat.com/docs/manuals/linux/R...ing-single.html
Go to the top of the page
 
+Quote Post
hughesjr
post Jul 30 2003, 07:12 PM
Post #5


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



Booting off the RH9 first CD and entering this at the prompt substitute your partition for XX:

linux single root=/dev/hdXX initrd=

should get you into the system in single user mode ...

you can then create a /home/root directory .... and create a non root user using the useradd command!


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
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 October 2017 - 10:20 PM