LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-12-2002, 06:26 PM   #1
SuperRye
LQ Newbie
 
Registered: Feb 2002
Location: South Florida
Distribution: Slackware 8.0
Posts: 6

Rep: Reputation: 0
Root


Hi it's me again you guys are probably sick of me

As I mentioned before I got hacked so here is my question:

My system say's "Unknown user id: root" when I try to su, so I know root has been deleted
How can I restore root?


-------------------------------------------Rye
 
Old 02-12-2002, 06:55 PM   #2
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
have you tried: "boot single" at the lilo prompt, and doing passwd root to change root password? Have you checked your /etc/passwd file to see if there is still a entry for root?
 
Old 02-12-2002, 07:28 PM   #3
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
sorry it's linux single

these might help:

http://www.uwsg.iu.edu/edcert/sessio...oot_linux.html

http://docs.rinet.ru:8083/Slackware-....htm#Heading21
 
Old 02-13-2002, 12:12 AM   #4
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
please just post the same problem to a single thread - it makes it much easier to find a solution if the information isn't spread across several threads.
 
Old 02-13-2002, 04:39 AM   #5
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Rep: Reputation: 30
Is this likley to be an attempt at cracking his box? Besides to be malicious, I assume there is no point to deleting, or making the user root in-accessible.
How would this be possible anyway? (not from a crackers point of view, but the genuine user) Is it possible that it's a configuration error, or a partition not being mounted on boot or something??

You're welcome to ignore me here, I'm just curious!

glj
 
Old 02-13-2002, 11:43 AM   #6
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
it's possible to delete the root user by changing the user files in the /etc directory. that could be what happened.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 08:32 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 04:14 PM
cant resize root thru rescue, auto mounts root dir absolutal Linux - Newbie 0 06-18-2003 03:06 PM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration