LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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


Closed Thread
  Search this Thread
Old 10-07-2010, 02:22 PM   #1
adloaiz
LQ Newbie
 
Registered: Oct 2010
Posts: 13

Rep: Reputation: 0
Deleted root from passwd and shadow file


I deleted root from passwd and shadow file....

Can I crate a new root user?
 
Old 10-07-2010, 02:34 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,948

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by adloaiz View Post
I deleted root from passwd and shadow file....

Can I crate a new root user?
Check your other thread that you opened, asking the same question. Don't post the same question multiple times.

You can TRY to boot from a CD, and go into rescue mode, and you might be able to create a new root user. But having never done/tried that, no idea if it'll work or not.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What is the easiest way to replace a hash in a shadow file, not using passwd? abefroman Programming 3 08-05-2010 07:56 AM
[SOLVED] Deleted testuser from passwd file but squid still allows connections qwertyjjj Linux - Server 2 08-15-2009 12:46 PM
root-owned file is able to be deleted with my non-root account win32sux Linux - Security 3 11-18-2008 03:00 AM
How to edit the /etc/passwd file not using root? elthox Linux - Newbie 9 04-10-2008 02:31 AM
LXer: Recovering deleted /etc/shadow password file LXer Syndicated Linux News 0 12-21-2005 04:46 PM


All times are GMT -5. The time now is 12:15 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration