[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] scripting guru's, quotas challenge

Barry R Cisna wrote:
Hello All,

Can someone think of a script that can be placed into the default home
folders for all users that would set their /home folder quota? In other
words so I do not have to manually enter each user's disk quota on the
file server. Yes, I Am lazy! I may be missing something but the only way the group quota can be
enforced is for the cumulative members in a given group. It seems this
should be able to be more granular ,but I haven't figured it out if this
is possible? Trying to think of some way to make this 'scriptable' so
the process is less labor intensive Yeah! and less error prone. (that
would be Moui),,:)

Take Care,
Barry Cisna

K12OSN mailing list
K12OSN redhat com
For more info see <http://www.k12os.org>

Do you users already exist ?

What I've done is create a template "ideal_student" that I use the line /usr/sbin/edquota -p $idealquota $uname in the bulk user script to setup the quotas

If you're users already exist it shouldn't be too hard read the existing users from a file & run the edquota command.


   The views expressed here are my own and not necessarily

the views of Portsmouth College
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]