Results 1 to 3 of 3

Thread: How to add 100 User with default formated Password

  1. #1
    Newbie
    Join Date
    Jun 2004
    Location
    Dhaka
    Posts
    1

    How to add 100 User with default formated Password

    Can any one assist ? How can I add 100 user with default formated password

  2. #2
    Try this URL for an "expect" script that does some of what you want to do.

    http://www.faqs.org/faqs/unix-faq/fa...section-9.html

    You can write a simple perl script to read in usernames from a file, create the user accounts and then set the passwords by executing the expect script using the "system" perl statement.

    Hope this helps.

  3. #3
    Newbie
    Join Date
    Jul 2004
    Location
    India
    Posts
    9
    its possible.
    store all users name in a file.
    write a shell script which will accept username from above file and
    will create user with the useradd command use -p switch to give the password . Try it if any problem then i will give u the code .

    Himanshu

Similar Threads

  1. vsftpd : cannot login with non-anonymous user ...
    By debellez in forum Linux - Hardware, Networking & Security
    Replies: 8
    Last Post: 05-10-2006, 07:12 PM
  2. Cannot start X again ....
    By DjiT in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 02-23-2005, 11:51 PM
  3. Dial-Up Networking Password Is Not Saved
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 01:31 AM
  4. Resulution problem in KDE
    By Buller in forum Linux - General Topics
    Replies: 3
    Last Post: 08-13-2004, 05:25 PM
  5. Gentoo XF86Config
    By mojo jojo in forum Linux - Software, Applications & Programming
    Replies: 9
    Last Post: 02-06-2004, 07:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •