Server list in PassMass


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Server list in PassMass
# 1  
Old 03-21-2005
Server list in PassMass

Hi there-

I'm using passmass to change my user passwords on a few remote hosts. I'm going to be using it on additional systems in the near future, and as such I'm going to have to expand my server list within passmass. Right now I simply use the standard passmass format of "passmass -user john server1 server 2 etc". I currently use it on 10 servers.

Starting next week I am going to be using it on over 200 servers. I can't use the standard paramters to start the script very easily, so I was wondering if anyone has used passmass with an external server list. That is, have a text file of servernames and have passmass work its way through it. Anyone done that? Is it possible?

If anyone has any ideas on how to get this done I would greatly appreciate the help.

Thanks.
# 2  
Old 03-22-2005
Quote:
Originally Posted by buddy_lee
Hi there-

I'm using passmass to change my user passwords on a few remote hosts. I'm going to be using it on additional systems in the near future, and as such I'm going to have to expand my server list within passmass. Right now I simply use the standard passmass format of "passmass -user john server1 server 2 etc". I currently use it on 10 servers.

Starting next week I am going to be using it on over 200 servers. I can't use the standard paramters to start the script very easily, so I was wondering if anyone has used passmass with an external server list. That is, have a text file of servernames and have passmass work its way through it. Anyone done that? Is it possible?

If anyone has any ideas on how to get this done I would greatly appreciate the help.

Thanks.
Hi.

i have no idea what is passmass but you could create a file with all your servers and try this:

awk '{print "passmass -user john " $0 }' serversfile | csh

if others have better idea please share
# 3  
Old 03-22-2005
if u can do without passmass follow this link https://www.unix.com/showthread.php?t...=script+passwd
ppass
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

List all certificates on a server

Dear All, I am planning to find the list of certificates(WEBshpere/MQ) on a servers. My certificates are either stored in (.jks) / (.pem) / (.cer) . But some of the certificates are stored without these file formats. I tried using find command but unless I give the file name its difficult... (6 Replies)
Discussion started by: sidh_arth85
6 Replies

2. UNIX for Dummies Questions & Answers

List commands executed on a server

Hi All, how to list all the commands executed by users on a linux server.... I dont have access to others .bash_history. and i am not root user.. Please help.. Thanks in advance.. (6 Replies)
Discussion started by: nanz143
6 Replies

3. UNIX for Dummies Questions & Answers

Copying a list of files from one 'server' to another?

I have two servers. I would like to copy some files from one directory on server A into the same directory on server B. Its not all the files in in the directory, just some of them. Is there a way to make a file list in a txt file and then somehow copy all the files in that list in one go to... (6 Replies)
Discussion started by: Sepia
6 Replies

4. Shell Programming and Scripting

list files on a server ftp

Hello, I would want to list files of an server FTP with the path of the file... i try "ls -R" but ftp don't accept this command... Is it possible with curl command ??? Regards. (5 Replies)
Discussion started by: protocomm
5 Replies

5. Shell Programming and Scripting

Passmass

I just made 8 different users on 54 unix boxes. I now need to set there password. I have installed passmass and tweaked the script alittle. But when I run it and it logs into the remote machine our machines ask for a userid for loggin purposes due to being logged in as root. This can be blank but I... (1 Reply)
Discussion started by: Gibby13
1 Replies

6. Shell Programming and Scripting

Expect passmass

Hello I'm trying out expect on Solaris. I'm trying to use passmass to change my password on 2 boxes and i get the following error "password not changed on devn2 - bad password or login" I'm 100% positive i'm entering the correct login and password Help!! (0 Replies)
Discussion started by: runyar
0 Replies

7. Shell Programming and Scripting

expect-5.43 and "passmass"

Hello, I am starting to use "expect-5.43" on Solaris 10 and the sample expect file called "passmass". "passmass" allows you to update the root password on many servers at once. The script runs like "./passmass server1 server2 server3, etc. I would rather run it like "./passmass serversfile"... (0 Replies)
Discussion started by: stephanpitts
0 Replies

8. Shell Programming and Scripting

To get the dir list of a remote server

Dear all; I am new to UNIX scripting and I want to download remote server's dir listing every hour, to check whether it is updating. How can I do this. can I use ftp command to down load this dir listing. Pls help me in this regards. tks (1 Reply)
Discussion started by: HMS.Chandrasiri
1 Replies

9. Cybersecurity

List of HTTP/FTP-clients on a server

The other day, a friend of mine had his Linux webserver compromised because he was running a vulnerable PHP-script. The "hacker" had used a malformed URL to include a wget-command to fetch some stuff off the net and install it in /dev/shm where it ran undetected. Fortunately, the webserver ran as a... (2 Replies)
Discussion started by: indo1144
2 Replies
Login or Register to Ask a Question