01-14-2002
I will leave ssh up to the Systems Administrators, to see if they can provide some type of solution to synchronize our passwords. Some Admins but not all, use NIS+ which works well.
I don't care if I pass a clear text password. How would I create the script anyway?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to write a script which will automatically take password
sequentially from a file after every 10 days.
i.e the passwd command should be executed automatically every 10 days and it should take the input from the password file sequentially.
Has any1 got a solution?????????????? (1 Reply)
Discussion started by: rahulrathod
1 Replies
2. UNIX for Dummies Questions & Answers
All,
I am unable to change a password for the user called : poller
I am logged in as root When I do the following command
passwd poller
New Password:
Permission denied
Whe i enter the new password, it gives the above error.
When i log in as poller and then execute the command, then... (2 Replies)
Discussion started by: rahulrathod
2 Replies
3. Shell Programming and Scripting
I need to change root password automatically in some servers all three months. I want to run this process in one of the servers and reply it to the others. The password must be known by the administrator. (3 Replies)
Discussion started by: Alrica
3 Replies
4. Shell Programming and Scripting
Hi Experts,
I had tried to executes this script to change the user password through script:
No lines in buffer
#!/bin/ksh
cat /etc/passwd | grep -v userid >> /tmp/pass.tmp1
cat /etc/passwd | grep userid >> /tmp/pass.tmp2
PASS1=`cat /tmp/pass.tmp2 | cut -d ":" -f2`
PASS2=`q2w3e4r5`
sed... (3 Replies)
Discussion started by: indrajit_renu
3 Replies
5. Shell Programming and Scripting
I need to retrieve thousands of lines of information from hundreds of nodes. Each node requires a passowrd in order to retrieve the information. Fortunately, the password is the same for each one of them. So I am trying to come up with a script that would allow me to include the password so I can... (0 Replies)
Discussion started by: Ernst
0 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password.
But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies
7. Linux
Dear Forum,
In our organization 100 user is existing. Now i want to change password for 100 user in linux server. Pls help to write script for changing password.
Regads//
Taifur (3 Replies)
Discussion started by: taifurakhand
3 Replies
8. Solaris
Hello Experts,
There is a log file which has date stamp, I just wanted to change the date automatically on daily basis when it runs.
Tried the below, but no luck.
grep -i error /var/bv1to1_var/logs/bv03.bectondickinson.com/bvlog.out.`date +\%Y\%m\%d` | tee error_bv03.doc
I would highly... (10 Replies)
Discussion started by: seenuvasan1985
10 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a script called user.sh that parses the name and password of given in a file (user.txt) and creates the user... (1 Reply)
Discussion started by: Nygenesis
1 Replies
10. Shell Programming and Scripting
Hi
I'm working with AIX 6.1
I would like to ssh to a server without entering password ( to monitor something) but there's no way to do that by authentication keys, so I need to write a script which can ssh to that server without entering password ( no need to hide passsword in the script, just an... (9 Replies)
Discussion started by: bobochacha29
9 Replies
LEARN ABOUT OSF1
convuser
convuser(8) System Manager's Manual convuser(8)
NAME
convuser - convert user profile information between BASE and ENHANCED formats
SYNOPSIS
/usr/tcb/bin/convuser -a [-c] [-i] [-n] [-u] [-R] [-U uid] [-M] [-T template] [-[qv]] [users]
/usr/tcb/bin/convuser -b [-T template] [-[qv]] [users]
/usr/tcb/bin/convuser -d [-n] [-M] [-[qv]] [users]
/usr/tcb/bin/convuser -H
FLAGS
-a Converts from BASE to ENHANCED authentication format. This option is incompatible with the -b and -d options. If none of -a, -b,
or -d have been supplied, then -a is implied by any of -c, -i, -n, -u, -R, or -U.
-b Converts from ENHANCED to BASE authentication format. This option is incompatible with the -a and -d options. The conversion in
this case is bring any compatible passwords from the extended profile back to the BASE profile.
-c Causes the conversion for -a to create new extended profiles only. If the -c option is given, existing extended profiles will
remain unchanged.
-d Removes any extended profiles which do not still have corresponding BASE profiles.
-i Cause the conversion for -a to invalidate the encrypted password field in the BASE profile if the change to the ENHANCED profile is
successful.
-n Cause the -a and -d conversions to include NIS passwd.byname map entries in the list of BASE profiles for consideration.
-q Cause non-error output to be suppressed.
-u Cause the -a conversion to leave the migrated passwords still usable. The default is to pre-expire them.
-v Cause more verbose reports of progress to be given.
-M Work on NIS master map files rather than the local profiles. This option works on NIS master hosts only.
-R Cause newly-created extended profiles to be written only to the /tcb/files directory tree (v4 only).
-T template
Causes the creation of new extended profiles to use user template as the template for the account default values. Causes the con-
version for -b to consider only accounts with template as the associated account template.
-U uid Causes newly-crated extended profiles with UID values less than uid to be written to the /tcb/files directory tree (v4 only).
-H Cause an extended usage message to be given and no other processing to be performed.
DESCRIPTION
The convuser utility is used to provide migration between BASE and ENHANCED security levels, as well as to provide support for the use of
existing account-creation scripts. The most common uses are to clean up dangling extended profiles (those without corresponding BASE pro-
files) after the removal of the base profiles, and to create new extended profiles to correspond to newly added base profiles.
EXAMPLES
To remove dangling profiles:
# convuser -d
# convuser -Md To finish the addition of new accounts on a system using NIS to supply the extended profile information:
# convuser -iu
# convuser -Miu To finish the addition of new accounts on a system using NIS to supply the extended profile information:
# convuser -iun
RELATED INFORMATION
Files:
prpasswd(4), authcap(4)
Security delim off
convuser(8)