Transfer passwords


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Transfer passwords
# 1  
Old 01-23-2002
Question Transfer passwords

Problem: I transferred user accounts (using "ap") from our production SCO UnixWare (7.1.1) server to a new server that I will be implementing next week. After transferring all accounts and passwords to the "new" server, I had to force a password change for all users on the old one due to an employee getting laid-off.

So the problem is that I have old passwords on the new server and new passwords on the old server! I thought I could just copy over /etc/shadow and even tried /etc/passwd but no luck...

Smilie

Any ideas? Any info would be most appreciated.

Thanks,
Dave
dlkox
# 2  
Old 01-23-2002
Disregard! I decided to just create an awk script using:

"userdel -r -n 0 username "

and run it against all normal user accounts on the "new" server. So I can now start all over again. (Yippee) I'd still be interested to hear if there was a way to move the passwords over by themselves, though.

Thanks,
D
dlkox
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Random Passwords

Hi Friends, I need a quick help in unix scripts, my aim is to generate random passwords like, 1. first 3 characters are alphabets or numbers 2. then one of special characters like &()/?:;+- 3. Last 4 characters are alphabets or numbers total length will be 8. i tried with... (1 Reply)
Discussion started by: Nandy
1 Replies

2. HP-UX

Passwords and shadows

version 11.22 1 - In this version there is the shadow file by default?. If so why when I search the file I get "No / etc / shadow file found"? 2 - What does the "*" in etc / password? at the beginning of each password? (1 Reply)
Discussion started by: shinju15
1 Replies

3. UNIX for Advanced & Expert Users

When did UNIX start using encrypted passwords, and not displaying passwords when you type them in?

I've been using various versions of UNIX and Linux since 1993, and I've never run across one that showed your password as you type it in when you log in, or one that stored passwords in plain text rather than encrypted. I'm writing a script for work for a security audit, and two of the... (5 Replies)
Discussion started by: Anne Neville
5 Replies

4. Shell Programming and Scripting

ssh and passwords

In my environment "SunOS - 5.10 Generic_142900-14 sun4v sparc SUNW,T5240" when I issue an ssh i get prompted for a password. I need to run an ssh in a script but is it possible to ready an encrypted password file or to pass the password in the script or configure it so that a particular user-id... (1 Reply)
Discussion started by: Harleyrci
1 Replies

5. Shell Programming and Scripting

passwords

Dear all, I need to automate/script a user password change process. I'm helpless cannot use expect since it's not installed and cannot install it either. Do i have an alternative. I can store the password in a file and that would be the password that would be set to all the users. If not i don't... (1 Reply)
Discussion started by: earlysame55
1 Replies

6. Cybersecurity

Securing Passwords

Hi All, I'd like to give you an example of what I am trying to achieve and perhaps you might be able to help me along. I would like to add the following criteria to new servers, from a password aging and lockout standpoint. -Number of failed logins before lockout: = 5 -Number of Passwords... (1 Reply)
Discussion started by: mkono
1 Replies

7. UNIX for Dummies Questions & Answers

sqlplus and passwords

Hope I'm in the right place to ask this. ... and I'm a total noob by the way. When changing an account password through telnet, everything seems fine. I can telnet back in afterward, but if I try to use sqlplus to get in it tells me password invalid. If I try to get in through sqlplus with the... (1 Reply)
Discussion started by: tazman4
1 Replies

8. UNIX for Dummies Questions & Answers

Unix passwords?

The local policy is set in our LAN so that passwords have to be 8 characters and contain a capital letter, a small letter and a special character. Is Unix able to restrict users passwords to certain lengths and characters. (1 Reply)
Discussion started by: wmosley2
1 Replies

9. UNIX for Dummies Questions & Answers

Passwords

I am running unix 11.xxx....How do you change a user password. The previous vs was passwd at the command prompt. This no longer works. Thanks for the help (3 Replies)
Discussion started by: turner.rd
3 Replies
Login or Register to Ask a Question