View previous topic :: View next topic |
Author |
Message |
j0seph n00b
Joined: 26 Sep 2004 Posts: 55 Location: Slovakia
|
Posted: Sat Jan 29, 2005 1:49 am Post subject: /etc/security/limits.conf? |
|
|
Hi there!
I'd like to get to know how to disable an user to use no more than say 5MB of disk space? I know that it is possible to do it in the above file but I was not able to figure it out. _________________ Security access compromised! |
|
Back to top |
|
|
Decibels Veteran
Joined: 16 Aug 2002 Posts: 1623 Location: U.S.A.
|
Posted: Sat Jan 29, 2005 2:35 am Post subject: |
|
|
Never used it, but think your looking for: quota
There is an ebuild, check it out.
Code: | * sys-fs/quota
Latest version available: 3.12
Latest version installed: [ Not Installed ]
Size of downloaded files: 206 kB
Homepage: http://sourceforge.net/projects/linuxquota/
Description: Linux quota tools
License: GPL-2
|
_________________ Support bacteria – they’re the only culture some people have.”
– Steven Wright |
|
Back to top |
|
|
j0seph n00b
Joined: 26 Sep 2004 Posts: 55 Location: Slovakia
|
Posted: Sat Jan 29, 2005 4:33 pm Post subject: |
|
|
Thanks, I'll have a look at it. I was playing with the mentioned file but I haven't figured out how to do it. Mayby I should try some googling once again... _________________ Security access compromised! |
|
Back to top |
|
|
Decibels Veteran
Joined: 16 Aug 2002 Posts: 1623 Location: U.S.A.
|
Posted: Sat Jan 29, 2005 10:15 pm Post subject: |
|
|
Didn't see this before, but look at /etc/limits looks like it might do what you want without emerging another package like quota.
Then again, it might not work if using PAM.
Quote: | Set up limits in /etc/security/limits.conf (note that /etc/limits is not used if you are using PAM) Note: This particular was from Debian. |
Sure is confusing. Anyway, if want to wade thru it, the Gentoo docs have info on this:
Check out Code: | 6. User/group limitations | at http://www.gentoo.org/doc/en/gentoo-security.xml _________________ Support bacteria – they’re the only culture some people have.”
– Steven Wright |
|
Back to top |
|
|
|