• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

Script Password Assignment

Hello,

This applies to a Redhat Enterprise 3 server...

I am moving all of my users to a new server. We had a weak passwor d policy on the old server, so at the same time I would like to create new passwords for the users. I already have my password list created (in plain text)

What I can't figure out is how to assign them to the users. I know I can use usermod -p "encrypted password" username to do the assignment, but how can I script this so that i don't have to use the passwd command and type in the randomly generated passwords for everyoe manually

0
rbohac
Asked:
rbohac
1 Solution
 
rbohacAuthor Commented:
Nevermind.. I found an answer here:  http://www.luci.org/luci-discuss/200006/msg00092.html
0
 
EE_AutoDeleterCommented:
rbohac,
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now