04-15-2008
How can I find a user profile
Hi, I want to know how can i find a user when he has logged in and how many times and days
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Sorry to I am not familiar with script writing ,
attach is the /etc/profile in my system , we have limit each user can only have one login in the system . When the user login , if the system found the user have a dead process in the system , the system will confirm the user to kill the previous... (1 Reply)
Discussion started by: ust
1 Replies
2. Shell Programming and Scripting
Hello there,
I would like to know how can i prevent a normal user (not root user) from accessing his .profile and editing its information?
Also, how can i prevent this user from deleting a certain file named "script"?
Any help in that?
Thanks in advance, (3 Replies)
Discussion started by: charbel
3 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
Im really new with this stuff...could anybody help to guide me ...how do i change/edit user profiile ? (2 Replies)
Discussion started by: gagasan_makmur
2 Replies
4. UNIX for Dummies Questions & Answers
Scenario: a non-root user is under primary group "devel" and I change their primary group to "nondevel"; I then want to be able to give the user a command which refreshes their user profile so that any new files created under their session are assigned to the new group.
What is the command for... (1 Reply)
Discussion started by: dhinge
1 Replies
5. IP Networking
Hi I want to know how can i find a user when he has logged in, at what time and how many days, anyone can help me (1 Reply)
Discussion started by: darwinscp@hotma
1 Replies
6. AIX
It's been a long time since I've done this and I can't remember which file is needed to edit. I would like to change the prompt for a user on my AIX 5.3 box, but I don't see a .profile file or a rc.ksh file to edit. Which file do I need to edit to get this? (1 Reply)
Discussion started by: bbbngowc
1 Replies
7. Infrastructure Monitoring
Hello
I really wonder what's trap in etc/profile and in each user .profile.
I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing.
I want to know ...
1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies
8. Shell Programming and Scripting
Hello ,
i am on sles 11, and i can't figure out how can i locate my profile file,
the one that is use for setting the environment when i log in.
oracle@r200:~> cd
oracle@r200:~> pwd
/opt/oracle
oracle@r200:~> echo $SHELL
/bin/bash
oracle@r200:~>
oracle@r200:~> cat .profile
cat: .profile:... (4 Replies)
Discussion started by: tonijel
4 Replies
9. UNIX for Dummies Questions & Answers
I want to copy .Profile file from user1 homedirectoryto user2 homedirectory in Aix.
Please help me with the process. (4 Replies)
Discussion started by: Laxxi
4 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)