01-27-2009
A strange user appears in my quotas and I can't find it in my system
Hello, I am running a Solaris 8 system.
I Have encountered that each time I ask the system to report to me the users who have or are about to exceed their quota limit for disk usage, a strange number appears in a user name, it does not appear in my /etc/group or in my /etc/passwd files
The user appears as #833 and as you can see in the report, the number appears as a user, with the # symbol before it
I use: repquota -a | grep EXPIRED
juanma +- 225378 200000 250000 EXPIRED 0 0 0
#883 +- 365479 10000 15000 EXPIRED 11 0 0
felila +- 15007 15000 17000 EXPIRED 0 0 0
aidadia +- 5320 5000 6000 EXPIRED 0 0 0
I've been trying to solve it in several ways, however I can't seem to get it removed.
This is what I've done so far:
I've searched my /etc/passwd for a user called #883, as I've told you, there was no user
I've searched for the user with id 883 in my passwd file, so far, no user has that id number
I've used the command "finger 883" and it returns a bunch of users in the system, however, all of them have their own quotas and none has the id number 883
I've used the command find / -name "833" but it doesn't return any matches.
I've googled the user with and without the # simbol, along with keywords like solaris 8, however, it doesn't return any relevant information sources.
I would really appreciate help, since after all ,as you can see, the user's usage of HD space is growing and it'll be really troublesome.
Any aditional information I'm missing, feel free to tell me, so we can solve this problem. I hope I'm not the first person with this thig.
We think it might be a security breach, so if anyone knows about that, information is welcomed too
Thanks in advance
LZ
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. Shell Programming and Scripting
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
3. Shell Programming and Scripting
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
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
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
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
7. Solaris
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
8. Solaris
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
9. UNIX for Beginners Questions & Answers
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
LEARN ABOUT SUSE
repquota
REPQUOTA(8) System Manager's Manual REPQUOTA(8)
NAME
repquota - summarize quotas for a filesystem
SYNOPSIS
/usr/sbin/repquota [ -vspiug ] [ -c | -C ] [ -t | -n ] [ -F format-name ] filesystem...
/usr/sbin/repquota [ -avtpsiug ] [ -c | -C ] [ -t | -n ] [ -F format-name ]
DESCRIPTION
repquota prints a summary of the disc usage and quotas for the specified file systems. For each user the current number of files and
amount of space (in kilobytes) is printed, along with any quotas created with edquota(8). As repquota has to translate ids of all
users/groups to names (unless option -n was specified) it may take a while to print all the information. To make translating as fast as
possible repquota tries to detect (by reading /etc/nsswitch.conf) whether entries are stored in standard plain text file or in database and
either translates chunks of 1024 names or each name individually. You can override this autodetection by -c or -C options.
OPTIONS
-a, --all
Report on all filesystems indicated in /etc/mtab to be read-write with quotas.
-v, --verbose
Report all quotas, even if there is no usage. Be also more verbose about quotafile information.
-c, --batch-translation
Cache entries to report and translate uids/gids to names in big chunks by scanning all users (default). This is good (fast) behav-
iour when using /etc/passwd file.
-C, --no-batch-translation
Translate individual entries. This is faster when you have users stored in database.
-t, --truncate-names
Truncate user/group names longer than 9 characters. This results in nicer output when there are such names.
-n, --no-names
Don't resolve UIDs/GIDs to names. This can speedup printing a lot.
-s, --human-readable
Try to report used space, number of used inodes and limits in more appropriate units than the default ones.
-p, --raw-grace
When user is in grace period, report time in seconds since epoch when his grace time runs out (or has run out). Field is '0' when no
grace time is in effect. This is especially useful when parsing output by a script.
-i, --no-autofs
Ignore mountpoints mounted by automounter.
-F, --format=format-name
Report quota for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota),
vfsv0 (version 2 quota), xfs (quota on XFS filesystem)
-g, --group
Report quotas for groups.
-u, --user
Report quotas for users. This is the default.
Only the super-user may view quotas which are not their own.
FILES
aquota.user or aquota.group
quota file at the filesystem root (version 2 quota, non-XFS filesystems)
quota.user or quota.group
quota file at the filesystem root (version 1 quota, non-XFS filesystems)
/etc/mtab default filesystems
/etc/passwd default set of users
/etc/group default set of groups
SEE ALSO
quota(1), quotactl(2), edquota(8), quotacheck(8), quotaon(8), quota_nld(8), setquota(8), warnquota(8)
4th Berkeley Distribution REPQUOTA(8)