Sponsored Content
Full Discussion: root password
Top Forums Shell Programming and Scripting root password Post 17832 by silver40 on Wednesday 20th of March 2002 02:07:37 PM
Old 03-20-2002
ok i rebooted the machine and changed the password in single user mode. it worked perfectly.

However my problem is a little more extensive than this (as usual)

I have the same root passwd on all 4 of my servers. All running Red Hat Linux.

For some odd reason the root passwd will not work on any of my servers. It looks like someone manually changed the root passwd on all my servers (sounds like a hacker).

My question is there a way to change the root passwd on all of my servers without having to reboot every single one of them or creating boot disks ?

The reason i dont want to reboot these servers is because they are production web servers.
 

10 More Discussions You Might Find Interesting

1. Answers to Frequently Asked Questions

Lost root password / Can't login as root

We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
Discussion started by: Perderabo
0 Replies

2. Linux

how to access root priveliges if root password is lost

wish to know how to access root password it root password is forgotten in linux (1 Reply)
Discussion started by: wojtyla
1 Replies

3. UNIX for Dummies Questions & Answers

I need it to prompt me for a root password, so I don't have to log as root

Hi folks, I'm trying to install a program, and I want to place some of the executables into /usr/bin so that they can be executed from any folder on the computer. I've been giveng the root password, but told never to log in directly as root. Instead, I can wait for a password prompt. However, I... (2 Replies)
Discussion started by: lunchtime
2 Replies

4. Linux

root password

Hi everybody: I have a problem. How does it possible that when I type the root password on terminal, later write: su password: ****** System recognize the password, but when a I use the GUI environment, the system does not recognize it. Any suggestion. :o Thanks in advance. (2 Replies)
Discussion started by: tonet
2 Replies

5. HP-UX

Root Password

Hi all, I am changing the root password periodically from eg: password01 to password02. However, I can still use password01 after it is changed, it seems that it only authenticates up the first few characters. Please can someone let me know how I can fix this. Thanks Ryan (1 Reply)
Discussion started by: macgre_r
1 Replies

6. Shell Programming and Scripting

how to change root password using shell script with standard password

Hi Friends. I am new to scripting now i want to change the root password using the script with standard password. which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies

7. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

8. Solaris

Lost Root Password on VXVM Encapsulated Root Disk

Hi All Hope it's okay to post on this sub-forum, couldn't find a better place I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies

9. Ubuntu

Root access that can't change root password?

We are having a little problem on a server. We want that some users should be able to do e.g. sudo and become root, but with the restriction that the user can't change root password. That is, a guarantee that we still can login to that server and become root no matter of what the other users will... (2 Replies)
Discussion started by: 244an
2 Replies

10. UNIX for Beginners Questions & Answers

Can a root role change the root password in Solaris 10?

i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet. and do i have to use the # chgkey -p afterwards? i need to patch is why i am asking. thanks (1 Reply)
Discussion started by: goya
1 Replies
yppasswdd(1M)															     yppasswdd(1M)

NAME
yppasswdd: rpc.yppasswdd - daemon for modifying Network Information Service passwd database SYNOPSIS
passwd_file log_file] [arg1 arg2 ...]] directory] log_file] [arg1 arg2 ...]] Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (yp). Although the name has changed, the functionality of the service remains the same. DESCRIPTION
The daemon handles password change requests from (see yppasswd(1)). It changes a password entry in the passwd and shadow files. The passwd and shadow files provide the basis for the passwd.byname and passwd.byuid maps. Entries in the passwd or shadow files are changed only if the password presented by matches the encrypted password of the entry. All password files are located in the directory. If the option is given, the passwd or shadow files are placed under the directory path that is the argument to should be executed only on the master Network Information Service (NIS) server for the passwd database (map). The daemon is not executed by default, nor can it be started by (see inetd(1M)). To enable automatic startup of at boot time, the variable should be set to 1 in file on the master NIS server. The daemon in HP-UX 11i version 3 supports the shadow mode. The system can be converted to shadow mode by using and reverted by using The variable must be set to 1 in file on the master NIS server to support the shadow mode in NIS. The server does not insist on the presence of a shadow file unless there is no option present or the directory named with the option is Options recognizes the following options and command-line arguments: Log diagnostic and error messages to log_file. These messages are not available if is started without the option. Information logged to the file includes date and time of the message, the host name, process ID and name of the function generating the message, and the message itself. Note that different services can share a single log file because enough information is included to uniquely identify each message. If these are given, then these fields may not be changed remotely using is HP specific. After the password or shadow file is modified, and if using the option, executes to update the NIS passwd database (see ypmake(1M)). Any arguments following the flag are passed to To ensure that the passwd map is rebuilt to contain the new password and all slave NIS servers have their passwd maps properly updated to include the change, always use the option to but do not use the argument to The directory input specifies which directory contains the passwd file (and the shadow file when the system is in shadow mode). Note that the directory specified must contain the file named "passwd". If shadow mode is enabled, then the directory specified must contain a file called "shadow". EXAMPLES
Assume the daemon is started on the master NIS server as follows: This indicates that the ASCII file from which the NIS passwd database is built is When this file is updated by a request from the NIS passwd database is rebuilt and copied to all slave NIS servers in the master's NIS domain (see domainname(1)). Log messages are written to the file WARNINGS
uses lock file to get exclusive access to passwd_file when updating it. The file may persist if passwd_file is being updated and o The system crashes or o is killed using (see kill(1) and signal(2)). File must be removed before can function properly again. also uses when updating (see vipw(1M)). As a result, competes with when it updates passwd_file if passwd_file is AUTHOR
was developed by Sun Microsystems, Inc. FILES
lock file used when updating passwd_file SEE ALSO
domainname(1), kill(1), yppasswd(1), inetd(1M), vipw(1M), ypmake(1M), signal(2), yppasswd(3N), passwd(4), publickey(4), ypfiles(4), pwconv(1M), pwunconv(1M), shadow(4). yppasswdd(1M)
All times are GMT -4. The time now is 02:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy