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.10 8 Nov 2001 yppasswdd(4)
Check Out this Related 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
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)
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)
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)
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)
Hi there
How can I check line by line in a file?
I need to compare the first value with the second to know if they are equal. If those values are equal, I require to send "TRUE" to the output or "FALSE" otherwise until the complete file has been read.
Thank you (6 Replies)
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)
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)
Hi all
i need to check that if user has passed any input parameter while executing he shell script like
./test1.sh -a"-v"
then do smothing
if user execute the script without giving input paramater then
./test1.sh
then do something
how can we check this input parameter (6 Replies)
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)
I have one configuration file. The number of lines in the file will vary. I need to pass each line as a parameter to a shell script in a single shot.
Ex:
Suppose file contains:
ou=x,o=z
o=y
Suppose the shell script name is sample.sh. Then the script should be called like sample.sh ou=x.o=z... (6 Replies)
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)
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)
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)
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)