Sponsored Content
Full Discussion: I just screwed up!!
Operating Systems Linux I just screwed up!! Post 70741 by caddyjoe77 on Tuesday 3rd of May 2005 01:57:04 PM
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??
 

4 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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
yppasswdd(8)						      System Manager's Manual						      yppasswdd(8)

NAME
yppasswdd, rpc.yppasswdd - server daemon for modifying the Network Information Service (NIS) password file SYNOPSIS
/usr/sbin/rpc.yppasswdd file [-m arg1 arg2...] DESCRIPTION
The yppasswdd daemon is a server that handles password change requests from yppasswd(1). It changes a password entry in the specified file, which is assumed to be in the same format described in passwd(4). An entry in file will be changed only if the password presented by yppasswd(1) matches the encrypted password of that entry. If the -m option is given, then after file is modified, a make(1) will be performed in /var/yp. Any arguments following the option will be passed to make. The -m option should be set only at a NIS master server machine. This server is not run by default, nor can it be started up from inetd(8). If it is desired to enable remote password updating for the NIS, then an entry for yppasswdd should be put in the /sbin/init.d/nis file of the host serving as the master for the NIS passwd file. SECURITY NOTE
When enhanced security is installed and NIS is used to distribute the protected password authentication database, the yppasswdd daemon man- ages writes to that database. A strict C2 security policy, which is optionally configurable using enhanced security, requires each user login or login failure to be recorded in the protected password authentication database. These updates, in combination with password changes and system administration functions affecting user accounts, are coordinated by the daemon. EXAMPLES
If the NIS password file is stored as /var/yp/src/passwd, then to have password changes propagated immediately, the server should be invoked as: /usr/sbin/rpc.yppasswdd /var/yp/src/passwd -m passwd DIR= /var/yp/src FILES
SEE ALSO
Commands: yppasswd(1), ypmake(8) Files: passwd(4), ypfiles(4) yppasswdd(8)
All times are GMT -4. The time now is 05:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy