?
Solved

Script Password Assignment

Posted on 2005-03-30
2
Medium Priority
?
194 Views
Last Modified: 2010-04-20
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
Comment
Question by:rbohac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Author Comment

by:rbohac
ID: 13665938
Nevermind.. I found an answer here:  http://www.luci.org/luci-discuss/200006/msg00092.html
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 14877743
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

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month12 days, 21 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question