finding users first name and last name


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting finding users first name and last name
Prev   Next
# 2  
Old 04-19-2011
All homework should be posted here, with special rules in place.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

finding users first name and last name

an someone help me how do i do this.. Display user id, first and last names of all the members of your CIS132 class in alphabetical order by last name. Hint: • All classmate names are in the file /etc/passwd • the first 5 characters in the user id are the same for all class members. (s132a) ... (0 Replies)
Discussion started by: an2up
0 Replies

2. Shell Programming and Scripting

Finding the list of users who modified a file

Dear all, Need a quick help/suggestion on monitoring a particular directory . We have a deployment directory say (/users/integration/deploy ) under this there are several files which can be edited by a number of users - We need to write a script which will check this deployment directory... (5 Replies)
Discussion started by: jambesh
5 Replies

3. UNIX for Dummies Questions & Answers

Finding out all users and their UNIX groups??

Is there a way to find out all users and the UNIX groups they belong to?? :) (3 Replies)
Discussion started by: Hangman2
3 Replies

4. UNIX for Dummies Questions & Answers

Finding users logged on time and space useage

I need to find what users are currently logged onto the system that is easy just a simple who | awk '{ print $1 }' (thats all I need for the part), but I also need to find how long they have been logged on and the total amount of file space they are using. Thanks in advance, I have been looking... (3 Replies)
Discussion started by: mauler123
3 Replies

5. IP Networking

Finding all users on a LAN and their IP

On a local network, how can I generate a list that includes all usernames with their current ip? I get this list in Apple Remote Desktop but it would be much more handy to be able to get this kind of a list in Terminal. Using Terminal on a Mac. Thanks for this awesome forum! (2 Replies)
Discussion started by: sigurarm
2 Replies

6. Shell Programming and Scripting

finding idle users

I am trying to write a script that will list the idle users on my system which is running HPUX 11.11. The script is currently written as : who -u > /home/rfm/scripts/user.txt echo " There are currently... " wc -l /home/rfm/scripts/user.txt echo " User logins on System : `uname -n` ... (3 Replies)
Discussion started by: rfmurphy_6
3 Replies

7. UNIX for Dummies Questions & Answers

Finding last time users logged in

I would like to find out the last time all users have logged in or out. I tried the last command, but it could not find the wtmp file in /var/adm (I searched in othe directories also). This is an AIX rs6000 4.2.1 system. We are moving our applications from this system to an AIX 5.2 system and I... (11 Replies)
Discussion started by: jyoung
11 Replies

8. UNIX for Dummies Questions & Answers

Finding out users

Hi. After using the command 'who' and getting all used accounts on current machine - how can i found out who are the users? (2 Replies)
Discussion started by: roco
2 Replies

9. Shell Programming and Scripting

Finding valid users

Is there a way to determine the names of valid system users? I know that last, finger, and who will give you the names of users who have accessed the system and / or those who are currently logged onto the system. I was trying to determine a way to find the names of any valid user whether or not... (5 Replies)
Discussion started by: jrdnoland1
5 Replies

10. Shell Programming and Scripting

Finding users currently accesing a directory

Is there any command/script to find a list of all users accessing a particular directory (from all machines on the network??) (3 Replies)
Discussion started by: mehtad
3 Replies
Login or Register to Ask a Question
logins(1M)																logins(1M)

NAME
logins - display system and user login data SYNOPSIS
groups] logins] DESCRIPTION
displays data concerning system and user logins. The format and content of the output is controlled by command options and may include: system or user login, user ID number, comment field value (for example, user name, location), primary group name, primary group ID, supple- mentary group names, supplementary group IDs, home directory, login shell, user security level, user audit events, and password aging parameters. The default data is: login, user ID, primary group name, primary group ID, and comment field value. Output is sorted by user ID, with user logins following system logins. The default output consists of login, user ID, primary group, primary group ID and comment field formatted into columns. The following options are available to this command: Display two account expiration fields. The fields show how long the account can be unused (in days) before it becomes inactive and the date the account will expire. Display logins with duplicate UIDs. Show multiple group membership data. Display with alternate format of one line of colon separated fields. Display logins with no passwords Display all system logins Sort output by login rather than UID. Display all user logins. Display extended information about selected users. This extended information includes home directory, login shell and password aging data, each on its own line. Password information consists of pass- word status (PS for valid password, LK for locked and NP for no password) and, if a password is present, date of last change, required number of days between changes, and number of days allowed between changes. In the case of non-trusted systems, the date of last change will be the latest Thursday since the change. Display all users belonging to groups, sorted by login. A comma separated list specifies multiple groups. Display the requested logins. A comma separated list specifies multiple logins. Specify a switch used to classify NIS or local users. With the option, only users belonging to the specified repository are displayed. Multiple options may be used. Any login matching any of the criteria will be displayed. A login will be displayed only once, even if it meets multiple criteria. EXAMPLES
List all logins in default format. List all logins that have no password or have a duplicate UID in default format. List all system logins in the alternate format. List all local users of the system. List all the NIS users of the system. WARNINGS
HP-UX 11i Version 3 is the last release to support trusted systems functionality. FILES
HP-UX password file. HP-UX group file. SEE ALSO
listusers(1), passwd(1), group(4), passwd(4), prpwd(4), shadow(4). STANDARDS CONFORMANCE
logins(1M)