LinuxQuestions.org
Visit Jeremy's Blog.
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 05-17-2003, 11:03 PM   #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 12:30 AM.
 
Old 05-17-2003, 11:16 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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-17-2003, 11:35 PM   #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-17-2003, 11:44 PM   #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



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 08:34 PM
I have /bin/bin - how do I fix this? rblythe Linux From Scratch 1 06-01-2005 04:47 AM
deleted trash bin + desktop folder?? psa Linux - Newbie 3 01-26-2005 11:43 PM
Accidentally deleted /usr/bin/net larley Linux - General 2 07-26-2004 10:22 PM
How to make deleted files auto go to trash bin? subaruwrx Slackware 1 07-24-2004 10:10 AM

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

All times are GMT -5. The time now is 11:00 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