LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-11-2009, 08:53 AM   #1
dvazart
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
Question Need help with disk Quotas (phantom users)


Hello!

After doing some tests, when I run the following command I find that there are some UIDs beginning with # :

Code:
root@myhome:/# repquota -as

*** Rapport pour les quotas user sur le périphérique /dev/sda2
Période de sursis bloc : 00:00 ; période de sursis inode : 00:00
                        Limites bloc               Limites fichier
Utilisateur     utilisé souple stricte sursis utilisé souple stricte sursis
----------------------------------------------------------------------
root      --  15153M       0       0          38511     0     0       
man       --    1076       0       0             76     0     0       
mail      --   33260       0       0              1     0     0       
news      --       4       0       0              1     0     0       
www-data  --    2380       0       0              9     0     0       
mysql     --   26684       0       0            297     0     0       
Debian-exim --     388       0    100M             18     0     0       
ftpuser   --       4       0       0              2     0     0       
awstats   --      76       0       0              4     0     0      
#500      --    2604       0       0            313     0     0       
#501      --    3352       0       0            463     0     0       
#512      --     240       0       0             22     0     0       
#1000     --    5600       0       0            586     0     0       
#1001     --     336       0       0             30     0     0       
#3001     --      12       0    200M              3     0     0       
#9307     --    3016       0    200M            342     0     0
The most strange is that these users are not in my /etc/passwd and besides, I can edit his quotas with the command:

Code:
root@myhome:/# edquota -u 500

Quotas disque pour user 500 (uid 500) :
 Système de fichiers           blocs       souple     stricte   inodes    souple   stricte
  /dev/sda2                     2604          0          0        313        0        0
How can I remove these users from quota ???

Thanks !
 
Old 08-11-2009, 01:57 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
The most strange is that these users are not in my /etc/passwd
You sure? Not to insult your intelligence, but I can't see it for myself . Do you get naything from:
Code:
grep 500 /etc/passwd
grep 9307 /etc/passwd
To find files owned by user 9307:
Code:
find / -uid 9307
I'm not sure how to delete them from quota.
 
Old 08-12-2009, 01:24 AM   #3
dvazart
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Of course, the first thing I did was look for them in /etc/passwd and nothing !

by contrast with the find command if I could find some files that his owns.

I suppose that if the lines begin with # the quota for these users is off, but since the file /aquota.user is encrypted, I dont know if linux does assume the typical # like comments in bash.

Thanks for your answer.
 
  


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
disk quotas shahz Red Hat 4 10-28-2008 01:38 AM
Disk Quotas aniketgore Linux - Newbie 1 01-13-2008 08:17 AM
Disk Quotas or What? dalponis Linux - Software 3 02-04-2006 07:53 AM
disk quotas johnnycash Linux - General 1 03-16-2004 08:12 AM
phantom disk problem reading floppy wsimmons Linux - General 3 10-19-2001 08:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:00 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