LinuxQuestions.org
Help answer threads with 0 replies.
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 05-18-2003, 12:03 AM   #1
KneeLess
Member
 
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Rep: Reputation: 30
Deleted Bin, Daemon, Adm, and Lp Users, now to fix it...


Okay, silly me. I said look at this /etc/passwd file! All these users I don't use (starts deleting them [bin, daemon, adm, lp]). Then to prove to my friend that i could still login I logged out. And I couldn't log back in.

Live and learn. Now I'm on my first harddrive (Windows) and the second is my linux (Slack9). Think I can use Cygwin to restore it? If so, there must be special options to supply to these users. Can someone help me out?

(By the way, I'm sure everyones done this at least once. Or maybe, it's just me and my delete first and ask questions later ideals.)

Thanks guys. (Second day with Linux, already broken, geez.)

EDIT: Nevermind, I fixed it. Go me

Last edited by KneeLess; 05-18-2003 at 01:30 AM.
 
Old 05-18-2003, 12:16 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
You should probably be able to boot up into a single user mode, maybe specifying a shell to boot to like /bin/bash to go in and edit/fix your hilarious mistake..

Not sure how to boot into single mode, search this site, its done all the time cause I'm not sure what bootloader your using so it can differ.
 
Old 05-18-2003, 12:35 AM   #3
KneeLess
Member
 
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Original Poster
Rep: Reputation: 30
I think I have to pass init=/bin/bash.

So I can just adduser bin (and the rest) and leave the defaults?

Heh.
 
Old 05-18-2003, 12:44 AM   #4
KneeLess
Member
 
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Original Poster
Rep: Reputation: 30
Heh, nope.

I'm using Syslinux (because of my two harddrives). Must find single user diddly for that whatchamacallsit.

 
  


Reply


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
Accidently deleted the wastebin, now no "bin icon jebus69 Linux - Newbie 6 11-23-2005 09:34 PM
I have /bin/bin - how do I fix this? rblythe Linux From Scratch 1 06-01-2005 05:47 AM
deleted trash bin + desktop folder?? psa Linux - Newbie 3 01-27-2005 12:43 AM
Accidentally deleted /usr/bin/net larley Linux - General 2 07-26-2004 11:22 PM
How to make deleted files auto go to trash bin? subaruwrx Slackware 1 07-24-2004 11:10 AM


All times are GMT -5. The time now is 07:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration