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. User Password
    By MosMon in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 06-10-2010, 05:30 AM
  2. User password expires automatically
    By Suhas! in forum Redhat / Fedora
    Replies: 2
    Last Post: 01-06-2009, 07:56 AM
  3. Access denied for user: '@192.168.0.71' (Using password: NO)
    By infinite_root in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 11-20-2008, 02:10 AM
  4. Squirrel Mail-unknown user or password incorrect
    By rhonneil in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 10-31-2003, 08:33 AM
  5. How to tell if user has changed password
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 8
    Last Post: 04-17-2003, 10:36 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
  •