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 ...
- 08-08-2007 #1Just Joined!
- Join Date
- Mar 2004
- Location
- karachi
- Posts
- 45
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
- 08-18-2007 #2Linux 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)


Reply With Quote