02-02-2012
Each box has username and password and password changes every 60 days; I can hardcode the username and passwd.
Thanks,
---------- Post updated at 10:49 AM ---------- Previous update was at 10:43 AM ----------
If run the script just for one box AIXMC01 (local; not remote) it prompt for passwd.
---------- Post updated at 10:49 AM ---------- Previous update was at 10:49 AM ----------
If run the script just for one box AIXMC01 (local; not remote) it prompt for passwd.
---------- Post updated at 11:00 AM ---------- Previous update was at 10:49 AM ----------
The problem is i cant hardcode the passwd for each box using my own userid; each box use secure ID.
secure ID contain 6digit + PIN.
But the best solution is I can get root passwd for each box;
I would like to hard code root passwd; root passwd dont required secure ID but they changes every 30 days; when they change I will change the script.
9 More Discussions You Might Find Interesting
1. Programming
Hi !
Please tell me how to get radio buttons, text boxes , check boxes , option buttons , pull down menus in C++ on Unix.
I think it would be done using curses.h ..but that's all i know.
TIA,
Devyani. (3 Replies)
Discussion started by: devy8
3 Replies
2. Solaris
Dear All,
We are going for Disaster Recovery project, the vendor asked for more details about how much is the daily data changes only. using sar / iostat can any one help me to collect this ?!
Note: only I need the changed data size not the daily increasing data. this is to know how much... (1 Reply)
Discussion started by: adel8483
1 Replies
3. Shell Programming and Scripting
How can my unix shell script automatically connect to remote host?
Assume that there is a remote host called "rhost". When I connect to that host i give the command "telnet rhost".
It then asks me for my id and password. Once i give it connects there.
I want to automate these steps. I want... (8 Replies)
Discussion started by: digdarshan
8 Replies
4. UNIX for Dummies Questions & Answers
hi
I am very new to UNIX.
I need to retrieve data from a unix system and store it and display as output on a windows system.
Initiation of procedure is through JAVASCRIPT-based buttons on a HTML page.
This should cause a set of commands to run which colllect data from a unix based server and... (1 Reply)
Discussion started by: rossalyn_maxter
1 Replies
5. Shell Programming and Scripting
Hi All ,
In my environment we have 12 SAN switches .Culd u pls help me for below queries .
would like to telnet to all switches and collect information in daily basis with "switchstatus" command and store the output under /tmp/ folder on systemA .
To keep passwords of 12switches in a... (1 Reply)
Discussion started by: chinni-script
1 Replies
6. Shell Programming and Scripting
hi all
I am looking for shell script ,by which i need to gather all the DB information in Sybase server .
Thanks in advance :) (3 Replies)
Discussion started by: mvsramarao
3 Replies
7. UNIX for Dummies Questions & Answers
Hi
Kindly provide me shell script on server to collect inbound connections, using port number on Linux. (4 Replies)
Discussion started by: adminhelp
4 Replies
8. Shell Programming and Scripting
I m trying to run a batch script in remote desktop which executes unix commands on the unix server...the problem is i wnt the output in HTML format.so in my batch script i m giving the cmd like
ssh hostname path ksh HC_Report.ksh>out.html
...but it generates the HTML file in
remote desktop .i... (2 Replies)
Discussion started by: navsan
2 Replies
9. SuSE
Dear users,
SUSE 10 sp3 and SUSE 11.
I made configuration changes in '/etc/syslog-ng/syslog-ng.conf'
to move SYSLOG content to LogRhythm.
This is what I changed in the file.
Un-comment out the following lines
#Enable this and admop IP to send log messages to... (10 Replies)
Discussion started by: JDBA
10 Replies
LEARN ABOUT DEBIAN
cvsd-passwd
cvsd-passwd(8) System Manager's Manual cvsd-passwd(8)
NAME
cvsd-passwd - generate password entries for repositories
SYNOPSIS
cvsd-passwd REPOS [+|-]NAME...
DESCRIPTION
cvsd-passwd adds, updates or deletes users from repository passwd files for use with cvsd.
OPTIONS
REPOS Specify the directory in which the repository is located. This argument can be the top of the repository, the CVSROOT directory or
even the passwd file in the CVSROOT directory.
[+]USER[:SUSER]
Add or update the user to the CVSROOT/passwd file. If the user does not exist a password for the user is asked and the user is
added for use with cvsd. If the user already exists a password for is asked and the password field is modified.
The :SUSER part can be user to change or set mapping to a system user. If you do not specify anything, a reasonable default is used
based upon your cvsd configuration. If you don't want to map the user to any specified system user you can specify an empty SUSER
and use 'USER:'.
-USER Remove the user from the CVSROOT/passwd file.
EXAMPLES
Add an anoncvs user to access the given repository:
cvsd-passwd /var/lib/cvsd/myrepos +anoncvs
If the user already exists, change the password.
Remove a user from the repository passwd list:
cvsd-passwd /var/lib/cvsd/myrepos -foo
Add a user and specify that cvs should remap this user to the joe system user:
cvsd-passwd /var/lib/cvsd/myrepos joecvs:joe
Note that the user joe should be known in the system passwd file and that cvsd should be run as root or user joe for this to work.
SEE ALSO
cvsd(8)
AUTHOR
Arthur de Jong <arthur@arthurdejong.org>.
Version 1.0.24 Jun 2012 cvsd-passwd(8)