Re: Automatically assigning user quotas

From: Alexey Fadyushin (fab_at_s-tunnel.com)
Date: 05/31/04

  • Next message: Mike Burger: "Re: Automatically assigning user quotas"
    Date: Mon, 31 May 2004 14:10:11 +0400
    To: golharam@umdnj.edu, General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    I think that option '-p' of 'edquota' will be useful in this case. You
    could
    manually set quota for some user and later use that option to copy quota
    settings from that user to newly created user.
    If you need to do this automatically for each new user, you could write
    a
    shell script for creating users and use it instead of `useradd`. The
    'useradd'
    and 'edquota' command in this case will be called from that script.

    Alexey Fadyushin
    Brainbench MVP for Linux.
    http://www.brainbench.com

    Ryan Golhar wrote:
    >
    > Is there a way to automatically set a user quota without running
    > edquota? For example, whenever a new user gets added to the system, I
    > don't want to have to manually set their quota. I want to use a
    > standard quota for all users.
    >
    > Ryan
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Mike Burger: "Re: Automatically assigning user quotas"

    Relevant Pages

    • Re: Automatically assigning user quotas
      ... On May 30, 2004 08:43 pm, Ryan Golhar wrote: ... > Is there a way to automatically set a user quota without running ... > don't want to have to manually set their quota. ... 'man edquota', have a look at the -p option. ...
      (RedHat)
    • Re: Automatically assigning user quotas
      ... Then, if you want to assign a specific user their own quota, you can do ... > and 'edquota' command in this case will be called from that script. ... > Ryan Golhar wrote: ... >> don't want to have to manually set their quota. ...
      (RedHat)
    • Re: edit users quota in a script
      ... Besides the -e switch to edquota as has already been mentioned, ... to make extensive use of the -p switch to use a prototype. ... enter quota informations. ...
      (freebsd-questions)
    • Re: Quota problems with nummeric Usernames
      ... | we run several Redhat Linux servers and recently we noticed, ... We create the accounts and set the quota by the ... | An other strange thing is, that the edquota command shows a strange uid ... | Filesystem blocks soft hard inodes soft hard ...
      (RedHat)
    • Quota problems with nummeric Usernames
      ... of our users do have a problem with their quota. ... that the edquota command shows a strange uid ... Filesystem blocks soft hard inodes soft hard ...
      (RedHat)