LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-26-2003, 12:34 AM   #1
kelper
Member
 
Registered: Jan 2003
Posts: 77

Rep: Reputation: 15
Change/import passwd for many users


I am using rh 9.0
i want to import a passwd(text file) to these user
How can i use the script or other methods to
change the passwd for the users
THX
 
Old 08-26-2003, 02:37 AM   #2
Sliptwixt
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
You'll need to look into a language called Expect. To change passwords for existing users via passwd you'll need a way to wait for prompts and send data when it's ready.

Expect and shell or perl.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to sort regular users and system users from /etc/passwd joeyBig Red Hat 9 05-29-2008 01:59 AM
Delete group users from /etc/passwd SCRIPT wesleywest Linux - General 5 03-08-2005 10:59 AM
Showing Users from passwd kemplej Programming 1 12-30-2004 11:10 AM
Removing default users in passwd file? ridertech Linux - Newbie 1 05-08-2004 05:33 PM
user can change passwd kelper Linux - Software 3 08-28-2003 05:17 AM


All times are GMT -5. The time now is 01:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration