LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-26-2003, 12:49 PM   #1
Pigdog
LQ Newbie
 
Registered: Feb 2003
Posts: 1

Rep: Reputation: 0
Exclamation User automation Script


I have allot of users to input into a new system I've setup. I've written a script to automate pulling all the information from a computer generated file. I want the script to run without input from me of course.

I hit a snag at giving them a password you have to type the password out and verify the password. How do I script around this to make it where I dont have to input 800 Passwords * 2?

If I remember right theres a way to get around chpasswd taking the 2 standard keyboard inputs in one line of scripting. I just cant remember how!

Im searching as of now also so If I find it I will post it for others.

Thanks in advance.

Last edited by Pigdog; 02-26-2003 at 01:09 PM.
 
Old 02-26-2003, 02:01 PM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
Look at:
http://www.linuxquestions.org/questi...threadid=46005
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
automation bong.mau Programming 2 09-06-2005 03:26 PM
OpenOffice automation with C++ Paulo Góes Linux - Software 2 10-22-2004 08:55 AM
how do I make sure that the user that is going to run the script is a root user??? nikold01 Linux - General 3 09-10-2004 07:54 AM
Pan automation - how? technobeast Linux - Software 0 07-12-2004 03:37 AM
ftp automation Mad_C Linux - General 12 09-15-2003 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:11 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
Open Source Consulting | Domain Registration