7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello. I have several domains which are using different LDAP trees. To make life easier i wrote such script
!#/bin/bash
case $1 in
"doman1")
login='login1'
password='pass1'
"doman2")
login='login2'
password='pass2'
"doman3")
login='login3'
password='pass3'
/usr/bin/expect... (2 Replies)
Discussion started by: urello
2 Replies
2. Solaris
I have message "root password for system maintenance (control-d to bypass)" after Solaris 10 boots up.
Why it appears ?
thx for help. (3 Replies)
Discussion started by: presul
3 Replies
3. UNIX for Dummies Questions & Answers
What is a supplementary group and how do you make a supplementary group for members of a team? Thanks in advance.
---------- Post updated 05-10-11 at 12:09 PM ---------- Previous update was 05-09-11 at 10:08 PM ----------
anybody? (1 Reply)
Discussion started by: nlassiter
1 Replies
4. UNIX for Dummies Questions & Answers
According to security guide i came across term as
"standard root password control application "
I have no imformation over what are such applications how to implement them?
Any guidance will be appreciated.
It was also suggested to audit root login .How would i go about it? (1 Reply)
Discussion started by: pinga123
1 Replies
5. UNIX and Linux Applications
I'm a sysadmin trying to help out one of our DBA's setup the RMAN backups (Oracle 11g on rhel5 ) so they can schedule and control them from the OEM grid control. But we want the oracle user to use ssh keys instead of a password. I have the working rsa keys in place for the user but the GUI seems to... (0 Replies)
Discussion started by: samael00
0 Replies
6. UNIX for Advanced & Expert Users
Helo ,
I m using linux pam library for user and its password authentication.
I m creating new user and giving its password.I m giving password of 10 characters.now when I login in as that newly created user its ask me
$ su - ram
Password:
You are required to change your password immediately... (12 Replies)
Discussion started by: amitpansuria
12 Replies
7. Shell Programming and Scripting
there is a example:
sh shell
name () {
echo $1
echo $2
echo $3
}
echo "Enter value:"
read a b c d
name $a $b
here permit user enter 1-4 value to the variables respectively, question is : no restrict for user input...?
using only 1 variable to... (3 Replies)
Discussion started by: trynew
3 Replies
LEARN ABOUT CENTOS
ns-newpwpolicy.pl
NS-NEWPWPOLICY.PL(8) System Manager's Manual NS-NEWPWPOLICY.PL(8)
NAME
ns-newpwpolicy.pl - Directory Server perl script for preparing new password policies.
SYNOPSIS
ns-newpwpolicy.pl [-Z serverID] [-v] [-D rootdn] { -w password | -j filename } [-P protocol] [-p port] [-h host] -U UserDN -S SuffixDN
DESCRIPTION
Adds entries required for implementing the user- and subtree-level password policy.
OPTIONS
A summary of options is included below:
-Z Server Identifier
The server ID of the Directory Server instance. If there is only one instance on the system, this option can be skipped.
-D Root DN
The Directory Manager DN, or root DN. If not specified, the script will search the server instance configuration for the value.
-w password
The rootdn password.
-w -
Prompt for the rootdn password.
-j password filename
The name of the file that contains the root DN password.
-P Protocol
The connection protocol to connect to the Directory Server. Protocols are STARTTLS, LDAPS, LDAPI, and LDAP. If this option is
skipped, the most secure protocol that is available is used. For LDAPI, AUTOBIND is also available for the root user.
-h host
Host name of the Directory Server.
-p port
Port number of the Directory Server.
-U userDN
Specifies the DN of the user entry that needs to be updated with user-level password policy attributes.
-S suffixDN
Specifies the DN of the suffix entry that needs to be updated with subtree-level password policy attributes.
-v
Display verbose ouput
EXAMPLE
ns-newpwpolicy.pl -Z instance3 -D 'cn=directory manager' -w password -P STARTTLS -U 'uid=user,ou=people,dc=example,dc=com'
Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it will default to next strongest/available
protocol automatically.
DIAGNOSTICS
Exit status is zero if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error.
AUTHOR
ns-newpwpolicy.pl was written by the 389 Project.
REPORTING BUGS
Report bugs to http://bugzilla.redhat.com.
COPYRIGHT
Copyright (C) 2013 Red Hat, Inc.
Mar 5, 2013 NS-NEWPWPOLICY.PL(8)