Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* repquota wierdness on RH 6.2
@ 2001-01-18 15:35 Speedracer
  0 siblings, 0 replies; 2+ messages in thread
From: Speedracer @ 2001-01-18 15:35 UTC (permalink / raw)
  To: axp-list

This is a general question, but it is running on one of my alphas :)
I run a script that checks for people over quota.  Generally I'm looking
for mailbombs and the like.  (repquota -a | grep +)

The script turns up a user "1328" which doesn't really exist.  There is no
directory in the user directory that is owned by anyone with that user
number.  Doing a bit of digging, it appears that there was a user 1328 but
this user was deleted some time ago (before I admined the box even)  So
there is no way to find the user name. 

Thinking that it was a dir that wasn't deleted when the user account was
removed I have scoured the user dirs to no avail.  Wrote a perl script
that did a du -s on every user directory and list those over quota.  It
matches the repquota EXCEPT for mysterious user 1328.  Wrote another
script that searched the /home/users directory for anyfile that was
owned by a uid of 1328, nothing.

So how do I get that darn thing out of my quota report?  Do I just ignore
it or is a bug with repquota?  If it's a repquota bug who do I report it
to.


TIA


\--------------------------------------------------------------------------/
 \ Aaron Gee AKA Spdracer                                                 /
  \"Maseratis are more than cars, they are a passion that is understood  /
   \by some, but enjoyed by a very few"	                                /
    \URL---> http://www.italian-cars.com                               /
     \e-mail--> spdracer@america.com   Fax-->1 (904) 446 1186         /
      \--------------------------------------------------------------/
				\  |  /
				 \_|_/
				 (---)
				   0 




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: repquota wierdness on RH 6.2
       [not found] <Pine.GSO.3.96.1010118102613.9798B-100000@softwareag.com>
@ 2001-01-18 16:00 ` Joerg Bruehe
  0 siblings, 0 replies; 2+ messages in thread
From: Joerg Bruehe @ 2001-01-18 16:00 UTC (permalink / raw)
  To: axp-list

Hi N.N.!

Speedracer wrote:
> 
> [...] 
> 
> The script turns up a user "1328" which doesn't really exist.  There is no
> directory in the user directory that is owned by anyone with that user
> number.  Doing a bit of digging, it appears that there was a user 1328 but
> this user was deleted some time ago (before I admined the box even)  So
> there is no way to find the user name.

Brute force: 
   find / -user 1328 -print 

HTH, 
Joerg Bruehe

-- 
Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany
     (speaking only for himself)
mailto: joerg@sql.de




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-18 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.GSO.3.96.1010118102613.9798B-100000@softwareag.com>
2001-01-18 16:00 ` repquota wierdness on RH 6.2 Joerg Bruehe
2001-01-18 15:35 Speedracer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox