A strange user appears in my quotas and I can't find it in my system


 
Thread Tools Search this Thread
Operating Systems Solaris A strange user appears in my quotas and I can't find it in my system
# 8  
Old 01-29-2009
Ok, thanks for that hint =). You're right. I'm searching the process list right now, I solved the immediate problem, however, I've to find what process was writing in those files.
I'll try to find anything useful in my server. Smilie
# 9  
Old 01-29-2009
What I meant is erasing the file doesn't even solve the immediate problem if the file is still open by the writing process.
# 10  
Old 01-30-2009
Reminder: Extracting a tar as root will create files with the archived user id. This is probably not, but could be the source of your problem.

Do a ps -ef and grep for 833.
# 11  
Old 01-31-2009
Is there any trace of the user in /etc/passwd?
I have seen some administrator just commenting(#) the user line with # in /etc/passwd.
In /etc/passwd, if you preceed the user line with #, the user is not disabled instead a user caller "#uname" is created with the same uid.
# 12  
Old 02-03-2009
There was no trace of the user in /etc/passwd :S
What I believe happened, was that a previous administrator deleted him from there, and the user had a process in his /export/home directory that was increasing a file size, maybe a log.
After I searched each process, we (the other administrator and me) found a process that seemed to be owned by him.
We killed it and the other administrator deleted all his home files without giving me the chance to know what file was increasing it's size.
However, so far we've not had any more trouble concerning this user, there were other cases of similar users not being deleted correctly, but due your nice help, we've handled them.
Thanks a lot =)
# 13  
Old 02-03-2009
just kill all this user's processes.....


Code:
kill -9 `ps -U 833 | grep -v PID | awk '{print $1}'`

BTW -- files owned by him, if they are group or world writable could be
getting bigger legimitately by someone actually doing work.
# 14  
Old 02-03-2009
Quote:
Originally Posted by quirkasaurus
Code:
kill -9 `ps -U 833 | grep -v PID | awk '{print $1}'`

or simpler:
Code:
pkill -9 -u 833

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Calling system() if certain text appears on the screen.

Hi. I'm wondering if it is possible to execute system(), if a certain string of text appears on the screen or not? I want to be able to run system("rz -Z") based on if "B00000000000000" appears on the screen. rz is a program to recieve files via Zmodem protocol. Is this possible? In C, of... (3 Replies)
Discussion started by: ignatius
3 Replies

2. Solaris

Strange space consumption on file-system

Hello, I have a x86 Solaris server running on VMWare. c1t0d0 is root disk of 40 GB. I am not able to find, where space is being consumed. It just available space is 2.6 GB only. There is no quota or reservation set. Can somebody give me some pointer to fix it ? -bash-3.2# zpool list NAME ... (6 Replies)
Discussion started by: solaris_1977
6 Replies

3. Solaris

quotas on two file system

Hi Guys, I have quota support turned on, on two file systems. However, when I do a repquota -va I get report only for one. What might be the problem? I will really appreciate your help. Thanks Gurus. (0 Replies)
Discussion started by: cjashu
0 Replies

4. UNIX for Dummies Questions & Answers

Strange system activity no matter what I try

When I choose to encrypt my drive during a Linux install, it encryps it, but I receive errors in dmesg and in ~/.xsessions-errors during use. The first error is in dmesg where it sometimes shows errors writing to the encypted device. The second error is in ~/.xsessions-errors with an error about... (0 Replies)
Discussion started by: justgoogleit
0 Replies

5. Shell Programming and Scripting

find a user on the system

i am prompting for a name to search. read user if then however, i get this error: please enter a username on the system: fool menu_script2.sh: line 123: (4 Replies)
Discussion started by: icelated
4 Replies

6. UNIX for Dummies Questions & Answers

how to find a word in a file that appears next to a given keyword

Hi Experts, I have a file which contains some text. i need to print the word next to a given keyword. Please help. Ex: test.txt ===================== NEXT HOST ===================== AEADBAS001 access-list 1 permit xxxxxxxxxxxxxx ip access-list extended BLA_Outgoing_Filter... (6 Replies)
Discussion started by: mwrg
6 Replies

7. Shell Programming and Scripting

Find user owner of the most recently file in the system

Good evening everybody, I have to find the user owner of the most recently file in the system How can I do? :confused: (5 Replies)
Discussion started by: Guccio
5 Replies

8. Shell Programming and Scripting

Find the user with less number of files in the system

Good morning everybody, I'm using Minix and I want to find the user with less number of files in the system I have tried this solution: #! /bin/sh indice=0 listaCut=$(cut -f 3 -d : /etc/passwd) for USER in $listaCut; do cont=0 listaFind=$(find / -user "${USER}" -type -f) ... (4 Replies)
Discussion started by: Guccio
4 Replies

9. UNIX for Advanced & Expert Users

integer user names and user quotas!

hello, i want to implements user quotas. the problem is that all of our user names are integer numbers, like 8510453. so when i set quota for a user (e.g. 8510453), it wont be set for that user name instead it will be set for exactly this: #8510453 (this is what webmin report shows). i have... (5 Replies)
Discussion started by: mrhosseini
5 Replies
Login or Register to Ask a Question