Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rpc.yppasswdd(8) [netbsd man page]

RPC.YPPASSWDD(8)					    BSD System Manager's Manual 					  RPC.YPPASSWDD(8)

NAME
rpc.yppasswdd -- NIS update password file daemon SYNOPSIS
rpc.yppasswdd [-d directory] [-noshell] [-nogecos] [-nopw] [-m arg1 [arg2 ...]] DESCRIPTION
rpc.yppasswdd must be running on the NIS master server to allow users to change information in the password file. The options are as follows: -d directory Change the root directory of the password file from ``/'' to directory. It is important to create the binary database files (pwd.db and spwd.db) when using this switch or the password change will fail. The databases need to be created only once with the following command: pwd_mkdb -d directory directory/etc/master.passwd -noshell Don't allow changes of the shell field in the passwd file. -nogecos Don't allow changes of the gecos field in the passwd file. -nopw Don't allow changes of the password in the passwd file. -m arg1 [arg2 ...] Additional arguments to pass to make in /var/yp. FILES
/etc/passwd /etc/master.passwd SEE ALSO
chpass(1), passwd(1), hosts_access(5), nis(8), ypbind(8), ypserv(8) AUTHORS
Mats O Jansson <moj@stacken.kth.se> BSD
February 26, 2005 BSD

Check Out this Related Man Page

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)
Man Page

13 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk help.

HI, Please help, i am new to this. I have a list of user's ID in excel file and i want to run against /etc/passwd (on server). And capture the output like this. If the user has noshell then output userId, name and write “notshell” if use has she then useid, name and write “SHELL” how do I... (5 Replies)
Discussion started by: myguess21
5 Replies

2. UNIX for Dummies Questions & Answers

hw to reterive root passwd

heyy i forgot my root passwd but i cant reinstall due to some reason can anyone tell me hw to reterive root passwd (10 Replies)
Discussion started by: mightypp.nits
10 Replies

3. HP-UX

Change root password?

Hello! I forget the root password and I need to change it. I've read others threads about it in this forum, but it seems it's necessary to modify /etc/passwd file. In my HPUX Systems this passwd file have only "read" permissions ant its owner is the root user, so how can i modify this file, if I... (4 Replies)
Discussion started by: kaugrs
4 Replies

4. Red Hat

forgot root passwd

hi i have a RHEL 4 and have forgot root passwd tried to boot in by singel user and then changing the passwd but it's not letting me do that ......throwing some weird error as .......manipulation i also tried to make a new user from CLI but even though it's not letting me in from that user as... (12 Replies)
Discussion started by: techbravo
12 Replies

5. Shell Programming and Scripting

Scripted passwd but it won't really be quiet!

First off, sorry if this is in the wrong forum. I have made a script that will always set the password back to a specified value when I log in as root, this is because for testing purposes I regularly change it as I'm logged in..but this isn't the point. The thing that's bothering me is that... (3 Replies)
Discussion started by: Tyralia
3 Replies

6. Shell Programming and Scripting

Updating the comments field on /etc/passwd

Hi there, I have more that 300 servers that I need to updated the comments field on /etc/passwd for users that have a blank comments fields. The users have accounts on different servers. I have created a list of these users on a text file called update.txt check below. I need a script that... (11 Replies)
Discussion started by: Linux Duke
11 Replies

7. Solaris

make "strong" password

Hi I`m newble here. How I can make "strong" password by dafault? Variable in /etc/default/passwd set PASSLENGTH=6 I need to make setting password min passlength 8 and include sumbols !@#$%^&*() , digits, ets... Plz, help me where I must change setting? P.S. Sorry for my english. (4 Replies)
Discussion started by: xmoonlight
4 Replies

8. Shell Programming and Scripting

/etc/passwd

Hello All I want to print only the full name from the /etc/passwd file and print it to the screen . Could you please let me know how can I do that? (4 Replies)
Discussion started by: supercops
4 Replies

9. UNIX for Advanced & Expert Users

unable to change the root password?

I tried to change the root password. but it shows the following error. passwd: Authentication token manipulation error passwd: password unchanged If I login as a normal user that time I'm able to change my (user) password. If I login as a ROOT then I'm not able to change the password root... (6 Replies)
Discussion started by: ungalnanban
6 Replies

10. Shell Programming and Scripting

Compare two files and set a third one using awk or perl

Folks I need your help cuz I've a file with 100,000 records that need to be compared against a passwd file (300) and then create a third one with the data in the first one and the passwd from the second one set in it. The format of the first file is: host xxxxxx "" 0,0 Closed control00/... (4 Replies)
Discussion started by: ranrodrig
4 Replies

11. Shell Programming and Scripting

Special characters in command arguments

Hey Guys, I have a program that populates a database based on input I feed it. so it would look like: cmd arg1 arg2 ... argN Now some of the arguments have special characters in them so I wrote a small script to pull the args and wrap them in quotes ('arg'). The problem is sometimes... (10 Replies)
Discussion started by: aaron0001
10 Replies

12. Shell Programming and Scripting

AWK? parsing /etc/passwd file.

Hello guys, please help me to make simple script for parsing passwd file. I have many passwd files from our servers, named server1.pass, server2.pass etc.. so for server in `ls *.pass` i need to print these rows: server1;root:!:0:0::/root:/usr/bin/ksh... (7 Replies)
Discussion started by: rubico
7 Replies

13. Shell Programming and Scripting

Bashing of 2 files

Hi All, Seeking for your assistance on how to bash 2 files and then print if the condition met. Ex. file1.txt: Field1 Field2 Field 3 Field 4 usa <blank> <blank> INDIA file2.txt: Field1 Field2 Field 3 Field 4 canada jap INDIA utah... (7 Replies)
Discussion started by: znesotomayor
7 Replies