04-28-2009
oh! sorry! I was incorrect. UID's are different. But the problem is that now we just have the user names not UID's (because we store users info in a ldap server). how can we get UID's from user names in a client?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All
I am being trained in unix and am tryin to write a script for listing the user Processes by user's names exactly the following manner WITHOUT USING A TEMPORARY FILE or SED OR AWK! The format of the output I want is:
James Hallan
PID TTY TIME CMD
31799 pts/3 00:00:00 vim
31866... (1 Reply)
Discussion started by: kartikkumar84@g
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All
I am being trained in unix and am tryin to write a script for listing the user Processes by user's names exactly the following manner WITHOUT USING A TEMPORARY FILE or SED OR AWK! The format of the output I want is:
Code:
James Hallan
PID TTY TIME CMD
31799 pts/3 00:00:00 vim ... (2 Replies)
Discussion started by: kartikkumar84@g
2 Replies
3. Shell Programming and Scripting
Hi all,
I am trying to eject the cdrom from a livecd after certain stage...
Now assuming that it is possible to eject,please consider my issue!!!
The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive...
However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies
4. Forum Support Area for Unregistered Users & Account Problems
To Whom It May Concern,
I've tried registering, and am unable to do so. The message being returned is that my name choices are being rejected for not meeting some administrator criteria, which is not discernible from the message returned by the board software.
The password I chose was all... (1 Reply)
Discussion started by: username_in_use
1 Replies
5. Solaris
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... (13 Replies)
Discussion started by: lzcool
13 Replies
6. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
7. Shell Programming and Scripting
Hi All
I have written one shell script for GPRS route add is given below named GPRSRouteSet.sh
URL="www.google.com"
VBURL="10.5.2.211"
echo "Setting route for $URL for GPRS"
URL_Address=`nslookup $URL|grep Address:|grep -v "#"|awk -F " " '{print $2}'|head -1`
echo "Executing ... (3 Replies)
Discussion started by: mnmonu
3 Replies
8. UNIX for Advanced & Expert Users
Besides doing some shell-script which loops through /etc/passwd, I was wondering if there was some command that would tell me, like an enhanced version of getent.
The Operating system is Solaris 10 (recent-ish revision) using Sun DS for LDAP. (5 Replies)
Discussion started by: ckmehta
5 Replies
9. Shell Programming and Scripting
Hi I need help..........
I have an Sun One Directory server LDIF file with 5000 user entries, I need to change the data to match Test ID's, so I can run a perf test.
I'm way out of my league as I have not done any scripting for 10 years.
There are four entries for each user in the file... (3 Replies)
Discussion started by: Macdaddy99
3 Replies
10. UNIX for Dummies Questions & Answers
Whenever i switch from root to another user, by doing su - user, it takes me to home directory of user. This is very annoying as i want to be in same dir to run different commands as root sometimes and sometimes as normal user.
How to fix this? (1 Reply)
Discussion started by: syncmaster
1 Replies
LEARN ABOUT OPENDARWIN
repquota
REPQUOTA(8) BSD System Manager's Manual REPQUOTA(8)
NAME
repquota -- summarize quotas for a file system
SYNOPSIS
repquota [-g] [-u] [-v] filesystem ...
repquota [-g] [-u] [-v] -a
DESCRIPTION
Repquota prints a summary of the disk usage and quotas for the specified file systems.
Available options:
-a Print the quotas of all the filesystems configured with a quota mount option file at its root.
-g Print only group quotas (the default is to print both group and user quotas if they exist).
-u Print only user quotas (the default is to print both group and user quotas if they exist).
-v Print a header line before printing each filesystem quotas.
For each user or group, the current number of files and amount of space (in kilobytes) is printed, along with any quotas created with
edquota(8).
Only members of the operator group or the super-user may use this command.
FILES
Each of the following quota files is located at the root of the mounted filesystem. The mount option files are empty files whose existence
indicates that quotas are to be enabled for that filesystem.
.quota.user data file containing user quotas
.quota.group data file containing group quotas
.quota.ops.user mount option file used to enable user quotas
.quota.ops.group mount option file used to enable group quotas
SEE ALSO
quota(1), quotactl(2), edquota(8), quotacheck(8), quotaon(8)
DIAGNOSTICS
Various messages about inaccessible files; self-explanatory.
HISTORY
The repquota command appeared in 4.2BSD.
4.2 Berkeley Distribution March 28, 2002 4.2 Berkeley Distribution