Find the answer to your Linux question:
Results 1 to 2 of 2
User Home Directory is : /export/home Password is : password Now i want a script that add user automatically according to above mention directory after asking userid & set passowrd ...
  1. #1
    Just Joined!
    Join Date
    Mar 2004
    Location
    karachi
    Posts
    45

    Post Required Scripts

    User Home Directory is : /export/home
    Password is : password

    Now i want a script that add user automatically according to above mention directory after asking userid & set passowrd 'password' automatically too.


    ------------------------------------------------------

    I enable quota 15MB on mail server.
    Now i require script if user mailbox exced over 13MB then email to user

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    452
    > script that add user automatically
    > according to above mention directory after asking
    > userid & set password 'password' automatically too.

    did you try "useradd"?

    > if user mailbox exceed over 13MB then email

    surely there's a standard program for this. I suppose
    you could use "du" on the mboxen, then pick out the
    big ones with awk, use awk again to list the offending
    userids.... and cobble up something with mailx.
    the sun is new every day (heraclitus)

Posting Permissions

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