Summary: Batch password reset help.

From: Loukinas, Jeremy <>
Date: Wed Nov 12 2003 - 09:40:06 EST
 Jeremy S. Loukinas        
Unix Systems Administrator
Evenflo Company, Inc.
937-415-3353 Business
937-415-3111 Fax
-- Due to budget cuts, the light at the end of the tunnel has been turned
off... --

-----Original Message-----
From: Bruntel, Mitchell L, ALABS [] 
Sent: Wednesday, November 12, 2003 9:34 AM
To: Loukinas, Jeremy
Subject: RE: Batch password reset help.

I use sudo to do the work
for i in `cat flatfile name` #(cut username if necessary ( cut -f1 -d: )
	echo "doing $i
	sudo passwd <newpassword> <id from flatfile>

the first sudo needs a password, but if you run it from your terminal, then
you have 5 minutes without a request

-----Original Message-----
From: Loukinas, Jeremy []
Sent: Tuesday, November 11, 2003 1:01 PM
To: ''
Subject: Batch password reset help.

I have an application that needs a massive number of user passwords reset.
The trick here is they do not have any sort of terminal on the machine. They
log directly into an application that uses unix authentication. I have been
tasked with changing a couple hundred passwds and I know there has got to be
easy way to pull this off. 
I have all the usernames in a flat file already. My first idea was to just
script a passwd -f on all the accounts, but these users will never log in @
the Unix level to change them. 
 Jeremy S. Loukinas        
sunmanagers mailing list
sunmanagers mailing list
Received on Wed Nov 12 09:40:01 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:23 EST