LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-12-2002, 12:19 PM   #1
johnpayback
LQ Newbie
 
Registered: Jul 2002
Posts: 15

Rep: Reputation: 0
Question Automatic User Quotas?


How can I set the user quotas to be a default value for every new user? When I do a useradd command I need it to automatically set the default user quota that I have defined.
This is a Redhat 7.2 system.

Thanks,

John Payback
 
Old 05-21-2003, 12:34 PM   #2
donchron
LQ Newbie
 
Registered: May 2003
Location: Boston
Distribution: Fedora, SLES 8.2/UnitedLinux 1.0, RH9
Posts: 6

Rep: Reputation: 0
Automatic User Quotas + Red Hat 9?

I've found plenty of references to manual user quotas, but nothing like you describe. I'd like to do the same thing myself.

It looks like you can do this in linuxconf - per http://howto.lycos.com/lycos/step/1,...+15942,00.html

But I haven't found any other tools to do this (or a linuxconf rpm on the RH9/Shrike cd's).

Any ideas?
 
Old 05-21-2003, 01:43 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Re: Automatic User Quotas + Red Hat 9?

Quote:
Originally posted by donchron
I've found plenty of references to manual user quotas, but nothing like you describe. I'd like to do the same thing myself.

It looks like you can do this in linuxconf - per http://howto.lycos.com/lycos/step/1,...+15942,00.html

But I haven't found any other tools to do this (or a linuxconf rpm on the RH9/Shrike cd's).
linuxconf is unstable and buggy, one reason why its most likely not included and not installed by default no longer by most distro's.
 
Old 05-21-2003, 02:35 PM   #4
donchron
LQ Newbie
 
Registered: May 2003
Location: Boston
Distribution: Fedora, SLES 8.2/UnitedLinux 1.0, RH9
Posts: 6

Rep: Reputation: 0
OK. Fair enough. No linuxconf. I played with it for a little while and got rid of it.

Any thoughts on automatic, per-user disk quotas?
 
Old 05-21-2003, 03:44 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
"man edquota" under option "-p"?
 
Old 05-22-2003, 02:30 PM   #6
donchron
LQ Newbie
 
Registered: May 2003
Location: Boston
Distribution: Fedora, SLES 8.2/UnitedLinux 1.0, RH9
Posts: 6

Rep: Reputation: 0
Thanks. That's good. I found this simple script/command at http://www.tldp.org/LDP/solrhe/Secur...1.3/index.html -->

edquota -p wahib `awk -F: '$3 > 499 {print $1}' /etc/passwd`

where wahib is the prototypical user name.

Cheers.

-Don
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User Quotas gsibble Linux - General 4 06-12-2007 09:30 PM
copying user quotas from proto user jomy Linux - Enterprise 0 01-09-2005 03:06 AM
User Quotas humanrig Linux - Hardware 1 03-15-2004 08:24 AM
User Quotas Dipdngold Linux - General 2 01-21-2004 06:47 PM
User Quotas johnpayback Linux - General 5 08-12-2002 04:15 PM


All times are GMT -5. The time now is 12:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration