01-20-2009
yeah it works..thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Student doing a UNIX course here, wanting 2 ways of finding out if users have been at a terminal lately. Can anyone help?? (1 Reply)
Discussion started by: millsy
1 Replies
2. UNIX for Dummies Questions & Answers
hi, to do a su - user, we need to know what are the users...
so in unix
1) which file to see the list of users, passwords? (2 Replies)
Discussion started by: yls177
2 Replies
3. UNIX for Dummies Questions & Answers
# uptime
01:55:24 up 22 days, 2:50, 3 users, load average: 0.01, 0.02, 0.00
i have this when i do uptime. but there isnt anibody inside it. all are root ( that is me ) when i go to /dev/pts/ i can only see 0. so how do i clear this counter of 3 users to a real logical one? (4 Replies)
Discussion started by: djstudio
4 Replies
4. UNIX for Dummies Questions & Answers
Hey, got a few questions here for anyone who can help......
Command line to - display users using the system, but count them only once.
Command line to - use the lastcomm command to display how many times ive used grep in october.
Command line to - list all logged on users with at least 6... (3 Replies)
Discussion started by: xBuRnTx
3 Replies
5. AIX
Hi Group,
Could someone tell me how to find world writable files on my server? I can use find command in conjuction with -perm option and I will get an output. But what I need is an output which looks similar to ls -l output. Meaning, it should give me the full path of the file along with the... (1 Reply)
Discussion started by: matifr
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
What command is needed to find all or certain users from a terminal window in MAC OS X 10.5?
Where is a list of categorized commands that could help me find answers similar to this particular question?
Thanks.
Juan Dent (1 Reply)
Discussion started by: Juan Dent
1 Replies
7. UNIX for Dummies Questions & Answers
I finally got how to su - in my mac from the terminal. Now I would like to be able to add new users. useradd -m -d ..... doesn't seem to work. (1 Reply)
Discussion started by: bigmac18
1 Replies
8. UNIX for Dummies Questions & Answers
Being a system administrator i came across a statement as " Excluding temporary directories /tmp and /var/tmp, no root owned files should be in world writable directories"
While the above statement may look straight forward but how would i check if there are any such directories in the... (7 Replies)
Discussion started by: pinga123
7 Replies
9. UNIX for Dummies Questions & Answers
Hi,
On my system, I have about 75 users. Some uers have two or three sessions on the same systems. when I do w, it shows all the sessions. Is there any way to find only the users and not worry about how many sessions. For example: you can see sshe has four connection. I only want to know... (5 Replies)
Discussion started by: samnyc
5 Replies
10. UNIX for Advanced & Expert Users
Hello all,
I want to find the files for certain users. I cant make the or condition work in this instance. I've tried the code below but it didnt worked. Any input on how to get the list for all files for this users.
find . -type f -user abc134 -o -user xyz345 -o bce483 -exec ls... (6 Replies)
Discussion started by: sethmj
6 Replies
LEARN ABOUT DEBIAN
zlocate
ZLOCATE(1) General Commands Manual ZLOCATE(1)
NAME
zlocate - find a user using Zephyr
SYNOPSIS
zlocate [ -a | -d ] [ -1 ] [ -p ] user ...
DESCRIPTION
Zlocate uses the Zephyr(1) Notification Service to find where a user is currently logged in. If the user is not logged in, or has set his
location information such that you do not have access to see it, zlocate prints "Hidden or not logged-in". Otherwise, each machine that
the user is currently logged into is printed, along with the time of login and location. The location is usually the X window system dis-
play name of the user's display, but may be the terminal name if he is not using X or for some other reason is only using the terminal
interface to zwgc(1).
By default, all zlocate requests are authenticated using Kerberos. If you do not have Kerberos tickets, or for some other reason do not
want to authenticate, the -d option will turn off authentication. The -a option is the default, authentication on.
When locating multiple users, zlocate will display the user name on a line by itself, followed by the locations for that user. To display
the user name on the same line as the output, use the -1 option (the numeral one).
To look up multiple users in parallel asynchronously, use the -p option.
DIAGNOSTICS
zlocate exits with status zero (0) if at least one user was found, and one (1) if no users were found.
SEE ALSO
zctl(1), zephyr(1), znol(1), zwgc(1), zhm(8), zephyrd(8), X(1)
Project Athena Technical Plan Section E.4.1, `Zephyr Notification Service'
AUTHORS
Robert S. French (MIT-Project Athena)
Marc Horowitz (MIT-Project Athena)
RESTRICTIONS
Copyright (c) 1987,1988 by the Massachusetts Institute of Technology. All Rights Reserved.
zephyr(1) specifies the terms and conditions for redistribution.
MIT Project Athena April 17, 1990 ZLOCATE(1)