I just screwed up!!


 
Thread Tools Search this Thread
Operating Systems Linux I just screwed up!!
# 1  
Old 05-03-2005
I just screwed up!!

Ok, trying to increase the security of my Linux box, I put /sbin/nologin under roots entry in the etc/passwd file. I copied the old passwd file before making this change, but didnt set perms the way I should have. SO now my normal user has NO rights to change the passwd file and ROOT cannot login...period. I wanted to make it so there were no SSH logins by root so the users had to SU to root, but I think i just screwed the pooch. I didnt know that when you did that, you couldnt even SU to root. Is there any way I can get the passwd file back?? Maybe go to a run level 3 and edit the file?? Anythng else??
# 2  
Old 05-03-2005
Always use the search function - since screwing the pooch is all too common, there are already answers in the forums, for example, see this thread.

Cheers,

Keith
# 3  
Old 05-03-2005
Also you might look in the faq section...
# 4  
Old 05-03-2005
Quote:
Originally Posted by kduffin
Always use the search function - since screwing the pooch is all too common, there are already answers in the forums, for example, see this thread.

Cheers,

Keith

I really thought i looked a little deeper into the search function...guess i was wrong my apologies and thanks for the link...looking into it now. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Mail with several attachments screwed up in Lotus Notes

Hi everybody! I needto send a mail with several attachments to a foreign recepient using the following command line: neo$ (cat mailbody; uuencode file1 file1.txt; uuencode file2 file2.txt) | mailx -m -s "Mail with two attachments" john.hancock@mailserver.com The result is just fine on... (3 Replies)
Discussion started by: marvin70
3 Replies

2. UNIX for Dummies Questions & Answers

I screwed up linux bad

Hey, I definately screwed up my libraries, but I am not sure how. I get this error: /bin/sh: relocation error: /usr/local/lib/libdl.so.2 symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference when I try to even login. I cannot even get... (2 Replies)
Discussion started by: farhan00
2 Replies

3. Linux

I screwed up linux really bad...

Hey, I definately screwed up my libraries, but I am not sure how. I get this error: /bin/sh: relocation error: /usr/local/lib/libdl.so.2 symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference when I try to even login. I cannot even get to a... (1 Reply)
Discussion started by: farhan00
1 Replies

4. UNIX for Dummies Questions & Answers

Ooops. GRUB screwed up

Hi Guys. I moved my root partition, deleted the old one and set GRUB up using Yast. It all booted OK when I tested it but the second reboot has just brought me straight onto a GRUB promt GRUB > _ Any help much appreciated. I don't know anything about GRUB and the stuff I find on google is... (1 Reply)
Discussion started by: d11wtq
1 Replies
Login or Register to Ask a Question