Checking passwords - scripts


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Checking passwords - scripts
# 1  
Old 03-09-2008
Question Checking passwords - scripts

Hi Unix experts....

I am in the process checking user and root password of more than 1000 servers manulay.

I am very pissed of checking these many servers manualy.

Could some one of you help me how can i check the passwords just by runing some scripts..!

Need Help Guys..! Smilie
# 2  
Old 03-10-2008
Password - Script

Hello friends...!

Please help me for above que..! SmilieSmilieSmilie

regards,
Prakash K
Unix Tricz & Tipz
# 3  
Old 03-10-2008
The problem is bit unclear to me.What do you exactly want to check in the passwords..?

If you want to check if the user exists on thousands of servers , then one hint is to use ssh and check the /etc/passwd file on all servers for those particular users.
# 4  
Old 03-10-2008
bullz, provide some examples Or hints that what exactly you need to achieve from the script.
# 5  
Old 03-10-2008
Meta answer - use expect scripting language, or its child - autoexpect - look at the man pages for both, they are very useful when automating unix passwords or similar tasks.
# 6  
Old 03-11-2008
Different passwords

I take it that your root passwords are different is to why you want to even do this. With that being said you may have to log in to each server anyway.

Sorry for the bad news.

SeaCros
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to store the passwords securely and use in scripts?

I want to store the passwords in a global file, so that all the users will not use them to login but a process should use it. One way is to keep the passwords in a .ini file and execute the file in the start of the script and use that variable. But with this, one can echo the variable in the... (15 Replies)
Discussion started by: karumudi7
15 Replies

2. SCO

Stop boot system at "Checking protected password and checking subsystem databases"

Hi, (i'm sorry for my english) I'm a problem on boot sco unix 5.0.5 open server. this stop at "Checking protected password and checking subsystem databases" (See this image ) I'm try this: 1) http://www.digipedia.pl/usenet/thread/50/37093/#post37094 2) SCO: SCO Unix - Server hangs... (9 Replies)
Discussion started by: buji
9 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. HP-UX

Scripts to move files via FTP with error checking

Hi Members, Can members please advise or suggest how to write UNIX script which move all zip files in source directory and when done delete zip files from source directory? We want to delete only on successful transfer to the destination. secondly want to add some error checking if the FTP... (1 Reply)
Discussion started by: dxj0815
1 Replies

5. Shell Programming and Scripting

SSH - Passing Unix login passwords through shell scripts

Hi All , I need to call a script runscript_B.sh on server A, the runscript_B.sh script locating in server B. The runscript_B.sh in calls another script runscript_A on server A itself. it seend, i need to be connect from Server A to Server B using ssh. I have tryed like this in... (3 Replies)
Discussion started by: koti_rama
3 Replies

6. Shell Programming and Scripting

Error Checking in Shell scripts.

What i need to do is when the database connection is not successful , the script should move to next list i.e skip the current. But when i do this - if ; then break; fi The script break but it goes to the condition - if ; then for LIST in $LISTS do for TABLE in $TABLES do... (2 Replies)
Discussion started by: dinjo_jo
2 Replies

7. Shell Programming and Scripting

Oracle Passwords in Unix scripts

Hi Most of the shell scripts I am dealing with have to connect to oracle database . The username password is stored in a environment file which sets the variables for username and password . Set user id do not work on AIX so users who will execute these scripts need to have read or execute... (5 Replies)
Discussion started by: clifford
5 Replies

8. UNIX for Advanced & Expert Users

QA checking for shell scripts

Hi all Does the notion of QA make sense when talking about shell script development? I would like to put in place such a QA procedure to ensure the code we provide is full compliant with certain norms we think are right. I just thought it would be a good idea to ask the community about the... (7 Replies)
Discussion started by: Indalecio
7 Replies

9. Shell Programming and Scripting

How to pass passwords to bash scripts?

I'm finding the following command very tedious to type in all the time, so I created a one line bash script called mount.bash with the following contents: mount -t cifs //mark/C\$ -o unc=//mark\\C$,ip=10.1.1.33,user=Administrator,password=$1 /mnt/mark I don't like the fact that I have to put... (5 Replies)
Discussion started by: siegfried
5 Replies
Login or Register to Ask a Question