Summary: Batch password reset help.

From: Loukinas, Jeremy <Jeremy.Loukinas_at_evenflo.com>
Date: Wed Nov 12 2003 - 09:40:06 EST
 Jeremy S. Loukinas        
Unix Systems Administrator
Evenflo Company, Inc.
<mailto:jeremy.loukinas@evenflo.com>
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 [mailto:mbruntel@att.com] 
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: )
do
	echo "doing $i
	sudo passwd <newpassword> <id from flatfile>
done

Mitch
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 [mailto:Jeremy.Loukinas@evenflo.com]
Sent: Tuesday, November 11, 2003 1:01 PM
To: 'sunmanagers@sunmanagers.org'
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@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
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