Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Change NIS Passwords without dxaccounts/SAM? Post 34526 by RTM on Wednesday 26th of February 2003 09:53:34 AM
Old 02-26-2003
If you connect to the NIS master you might be able (as root) to use passwd username and change it.

Also look at the man page on passwd - there may be an option to specify type of file/service (i.e. NIS)
 

7 More Discussions You Might Find Interesting

1. Solaris

Urgent !!! - Script to Change passwords in unix

I have SunOs 5.8. I need to change password using a unix shell script. I have tried to pipe the passwords to the passwd command but does not work. Pls provide a script to change passwds of a list of users using a shell script. ( I have also tried crypt() but did not work) The flow of the... (2 Replies)
Discussion started by: tofani
2 Replies

2. Shell Programming and Scripting

script to change passwords for the same user on multiple servers

I am trying to write a script to change passwords for the same user on multiple servers. My environment runs purely ssh / scp not rsh / rcp and therefore coping using rcp is not an option. I have been playing with expect to perform tasks but think there must be a better way. Has anyone got... (7 Replies)
Discussion started by: stolz
7 Replies

3. UNIX for Dummies Questions & Answers

Batch file to change all passwords

Hi all I am using tru64 Unix and I want to use batch file which makes me to change all user passwords at the same time ,instead of changing everyone separately. Please could anyone help me to do that. bye. (2 Replies)
Discussion started by: ahmedbashir
2 Replies

4. Solaris

To restrict the users not to change the passwords for NIS users

Hi All, How to restrict the NIS users not to change their passwords in for NIS users?? and my NIS user is unable to login to at client location what could be the problem for this ? Any body can help me. Thanks in advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies

5. UNIX for Dummies Questions & Answers

Change user passwords using shell script

Hi, I want to change the password of unix users on a number of servers.My plan was to ssh to all the servers in a shell script and use the passwd command. I tried to do so but everytime i run it i get this error. ssh -x -n -l user1 host passwd Changing password for "user1" 3004-709 Error... (3 Replies)
Discussion started by: poojabhat
3 Replies

6. UNIX for Dummies Questions & Answers

Unable to change domain user passwords

Hi, I'm new to this site, so my apologies if this is posted to the wrong board. I'm the student administrator of a small computer science lab (20 Win 7 PCs) at a university. The logins to the PCs are handled by samba (v. 3.5.8) on a CentOS server (kernel v. 2.6.9-100.ELsmp). Recently I ... (1 Reply)
Discussion started by: kerona
1 Replies

7. Shell Programming and Scripting

Shell script to ssh and change the passwords

Hi All, I am trying to create a script with the help of while and expect loop to do the following: 1. script will pick up the servers one by one from server_list file and will do ssh to it. 2. for each server it will change the password of user test1. 3. script should also provide logs for... (1 Reply)
Discussion started by: omkar.jadhav
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 10:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy