Posts

Showing posts from November, 2011

change DATE on system by CLI mode

date -s "2 Nov 20011 20:30:00" or use --set in place of -s

trcshcsh shell for change password

[root@LDAP-Server openldap]# trcshcsh [root@LDAP-Server openldap]# foreach user (`cat users.list`) foreach? echo $user foreach? end [pankaj@LDAP-Server openldap]# foreach user ( `cat users.list` ) foreach? echo "============== Changing password for $user ===================" foreach? ldappasswd -s welcome -x -W -D "cn=Manager,dc=IBMISL" "uid=,ou=People,dc=IBMISL"=$user2ibm -x -W -D "cn=Manager,dc=IBMISL" "uid=$user,ou=People,dc=IBMISL" foreach? end