Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

yppasswdd(4) [opensolaris man page]

yppasswdd(4)							   File Formats 						      yppasswdd(4)

NAME
yppasswdd - configuration file for rpc.yppasswdd (NIS password daemon) SYNOPSIS
/etc/default/yppasswdd DESCRIPTION
The yppasswdd file contains a parameter that modifies the behavior of the rpc.yppasswdd(1M) daemon. The yppasswdd file contains a single parameter: #check_restricted_shell_name=1 By default in the current release, this line in yppasswdd is commented out. If you uncomment the line, when a user attempts to change his default shell using `passwd -r nis -e` (see passwd(1)), the rpc.yppasswdd daemon checks whether the name of the user's current shell begins with an 'r'. rpc.yppasswdd considers any shell whose name begins with an 'r' (for example, rcsh) to be a restricted shell. If a user's shell does begin with 'r', his attempt to change from the default shell will fail. If the line in the yppasswdd file is commented out (the default), the rpc.yppasswdd daemon does not perform the restricted shell check. The yppasswdd file is editable only by root or a member of the sys group. FILES
/etc/default/yppasswdd configuration file for rpc.yppasswdd daemon SEE ALSO
rpc.yppasswdd(1M) SunOS 5.11 8 Nov 2001 yppasswdd(4)

Check Out this Related Man Page

yppasswdd(8yp)															    yppasswdd(8yp)

Name
       yppasswdd - server daemon for modifying the yellow pages (YP) password file

Syntax
       /usr/etc/rpc.yppasswdd file [ -m arg1 arg2 ...  ]

Description
       The daemon is a server that handles password change requests from It changes a password entry in the specified file, which is assumed to be
       in the same format described in An entry in file will be changed only if the password presented by matches the encrypted password  of  that
       entry.

       If  the	option is given, then after file is modified, a will be performed in Any arguments following the flag will be passed to The option
       should be set only at a YP master server machine.

       This server is not run by default, nor can it be started up from If it is desired to enable remote password updating for the yellow  pages,
       then an entry for should be put in the file of the host serving as the master for the yellow pages file.

Examples
       If the yellow pages password file is stored as then to have password changes propagated immediately, the server should be invoked as:
       /usr/etc/rpc.yppasswdd /var/yp/src/passwd -m passwd DIR= /var/yp/src

Files
See Also
       yppasswd(1yp), passwd(5yp), ypfiles(5yp), ypmake(8yp)

																    yppasswdd(8yp)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

using tail -f

Working in HP-UX 10.20. I eventually want to write a bourne shell script to handle the following problem, but for now I am just toying with it at the command line. Here's what I am basically trying to do: tail -f log_X | grep n > log_Y I am doing a tail -f on log_X . Once it sees "n", I... (6 Replies)
Discussion started by: cdunavent
6 Replies

2. Shell Programming and Scripting

how can i check if text file is closed ?

Hello all im trying to make daemon that listen for incoming textiles and then it will move them to defined directory now the daemon part is ok but im stack on how to check of file is close and done copied to directory . so i could process it and move it forward tnx (13 Replies)
Discussion started by: umen
13 Replies

3. Shell Programming and Scripting

Run shell script as a daemon

I have simple shell script that I run as cron job every hour of the day. I would like to make it a daemon that runs far more frequently like every 30 seconds or so, but I have never made daemon before. How can I do this? -Sam (7 Replies)
Discussion started by: Sammy_T
7 Replies

4. Shell Programming and Scripting

Check EOF in shell script

Hi, I need to check whether one file has EOF or not. There's one daemon in our system, which will pick the files FTPed to us. However, sometimes the daemon picks the file before FTP is finished. So I'm planning to add some checking of EOF on the FTPed files in the shell script. Could... (8 Replies)
Discussion started by: ideazhcy
8 Replies

5. Solaris

Modify Shell default

Hi All, How can I change the shell default used in my Solaris? eg.. modify it to always use bash.... thanks! (8 Replies)
Discussion started by: ffpradella
8 Replies

6. Shell Programming and Scripting

Remote simulation and 'at' command

Hey, Task seems to be quite easy, but I'm still a bit green in shell scripting. I hope you can help me a bit. I have to run some simulation at the distance by remote terminal. Normally when I'm working on the server directly I just type: mpirun -np 8 compressibleInterFoam -parallel > log.txt... (7 Replies)
Discussion started by: PiPrus
7 Replies

7. Shell Programming and Scripting

Script to perform record format checks

Hi All, I have a requirement to perform the following checks. Input file is a "|" delimited file and looks like this. A|c1|c2|c3|.... B|G1|G2|G3.... C|H1|H2|H3... A|c4|c5|c6|.... B|G4|G5|G6.... C|H4|H5|H6... Now the check is to see if all the "A" records have a corresponding B... (7 Replies)
Discussion started by: gsjdrr
7 Replies

8. Shell Programming and Scripting

Accepting A-Za-Z

Is there a way accept A-Za-z0-9 from the user from a parameter? EX. I want to take the parameter from the user even if its hEu or H3y and store it as a parameter ( $1 ) (18 Replies)
Discussion started by: puttster
18 Replies

9. Shell Programming and Scripting

adding characters end of line where line begins with..

Hi all, using VI, can anyone tell me how to add some characters onto the end of a line where the line begins with certain charactars eg a,b,c,......., r,s,t,........, a,b,c,......., all lines in the above example starting with a,b,c, I want to add an x at the end of the line so the... (6 Replies)
Discussion started by: satnamx
6 Replies

10. Shell Programming and Scripting

AWK

Hi, The code below selects errors (ORA-/Corrupt) in a first field of alert.log file and outputs error along with time stamp which is a previous line. awk '/.........:: ....$/ {TM=$0} {if ( $1 ~ /ORA-/ || $1 ~ /Corrupt/) { print TM,$0 }}' alert.log My Question is - how can I modify the... (8 Replies)
Discussion started by: zam
8 Replies

11. Shell Programming and Scripting

Insert ongoing numeration in each line?

Hi. I have a text file with lines like this: ( chp_testfile_0065 "Blablabla." ) ( chp_testfile_0003 "Blablabla" ) ( chp_testfile_0123 "Blablabla" ) I need one more 0 in each line, so that I have 5 digits in a sequence. I also need an ongoing numeration from 1 to n, so that (... (12 Replies)
Discussion started by: Bloomy
12 Replies

12. Shell Programming and Scripting

shell script to change the extension of a file

I have a directory that contains several files, out of which some files are have an extra extension for example file1.new.new.new file2.new.new.new file3.new.new.new file4.new.new.new i want to write a shell script that rename all such file with only single extension like file1.new... (7 Replies)
Discussion started by: mukulverma2408
7 Replies

13. Shell Programming and Scripting

Commenting a specific line and inserting a new line after commented line.

Hello All, I have following file contents cat file #line=aaaaaa #line=bbbbbb #line=cccccc #line=dddddd line=eeeeee #comment=11111 #comment=22222 #comment=33333 #comment=44444 comment=55555 Testing script Good Luck! I would like to comment line line=eeeeee and insert a new line... (19 Replies)
Discussion started by: manishdivs
19 Replies

14. Shell Programming and Scripting

How to store the file name in a single line??

hi, i have a variable, in which i am storing the file names that are present in the current directory. $ls -1 s1.txt s2.txt s3.txt $FILES=`ls -ltr | grep "^-" | awk '{print $NF}'` $echo $FILES s1.txt s2.txt s3.txt i want to store the files names in a single line in the variable... (7 Replies)
Discussion started by: Little
7 Replies

15. UNIX for Beginners Questions & Answers

Replace matches string in each line with the arrayvalue in shell

I have a list of value , and need to replace that in my file. Eg: File1 tcname:fail tcname: Pass tcname:skipped File2: 01,02,03 Output: File 1 01:fail 02: Pass 03:Skipped (8 Replies)
Discussion started by: DevAakash
8 Replies