Sponsored Content
Top Forums UNIX for Advanced & Expert Users Need to find the user id of all users in UNIX Post 302767553 by Syed Imran on Thursday 7th of February 2013 05:09:56 AM
Old 02-07-2013
Need to find the user id of all users in UNIX

I need to find all the unix user id's of all the users in unix... is there any such command... pl help out
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

su - user... how to find out the list of users and their passwords..

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

2. Shell Programming and Scripting

how to find password for current user in unix box

hi all, kindly let me know the command to get password and user for current user in unix. thanks in advance. --Bali Reddy.Y (1 Reply)
Discussion started by: balireddy_77
1 Replies

3. AIX

Script allows user to kill other users: I'd like to know HOW...

Hello list, Have a problem that's highlighting gaps in my knowledge; can you assist? We have a script that's tacked onto our trading application which allows branch managers etc. to kill off the sessions of other users at their branch. A menu option in the application spawns a shell running... (8 Replies)
Discussion started by: alexop
8 Replies

4. UNIX for Advanced & Expert Users

How to find one partucular user logs when there are lots of users running on it

On my application there are lots of users are doing there work or tasks? ...In my SSH or in 'Putty' i am observing logs? Hot to observe one particular 'user' logs.. even through there are lots of users working on it? For EX: i am log in with use rid:nikhil@in.com. another one log in with... (4 Replies)
Discussion started by: ksr.test
4 Replies

5. AIX

cloning users access with different user name

Hi! this would be my first time to post here in this forums, hope you can help me with my queries. i would like to create a different user name but have the same access rights. Example: root > rootbaby. thanks (5 Replies)
Discussion started by: HPL1706
5 Replies

6. Shell Programming and Scripting

IF $USER is not in this list of users, then do this

I need to add to a BASH script if ${USER} is not in a list of users (smitha, brownd, adamsp) then do something... what is the best shortest way to accomplish an if statement with a list like this? Also the list of users should be in the script, not an external file. Thanks! (5 Replies)
Discussion started by: glev2005
5 Replies

7. UNIX for Dummies Questions & Answers

Need to find the OS JRE as well as User installed JRE on my UNIX box!

Hi, I want to determine whether my java application is pointing to the OS version of Java or the User installed Java version on my Unix box. I am aware of the "java -version" command, however I am unsure if the version returned is the OS one or the user one. Please help. Ali. (5 Replies)
Discussion started by: ali40
5 Replies

8. UNIX for Dummies Questions & Answers

Not able to switch to other users using su -user from root

Hi all, I have a small problem. When I log in as root and try to switch to any other user using su -user, then it is giving an error saying libncurses.so permission denied. Can you help me? Thank you in advance. Sai. (1 Reply)
Discussion started by: sai2krishna
1 Replies

9. HP-UX

Create a new user from using existing users profile

Hello, Just wanting to know if it is possible. Also I am new to command line. I am running 5.1b, if that matters. Thanks in advance (10 Replies)
Discussion started by: bcha
10 Replies

10. Solaris

How to find IP of user machine executing a particular UNIX command?

Hello, Our applications are deployed in SunOS 5.10 servers. All the team members use a same username/pwd to login to the box. Very often we face issue were we could see that weblogic server instance are KILLED and we are not able to trace who executed kill command. All team members use PUTTY to... (2 Replies)
Discussion started by: santtarius
2 Replies
NSEND(1)							       nsend								  NSEND(1)

NAME
nsend - Send messages to users or groups SYNOPSIS
nsend [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] [ -a ] -i objectID | -c connNum[,...] | { [ -t recipient type ] -o recipient name | recipient name } message DESCRIPTION
With nsend, you can send messages to the user's workstations. nsend looks up the file $HOME/.nwclient to find a file server, a user name and possibly a password. See nwclient(5) for more information. Please note that the access permissions of .nwclient MUST be 0600, for security reasons. OPTIONS
recipient name recipient name is either the NetWare name of the user to receive the message or the name of an existing user group on that server. You can use wildcards in this specification. -o recipient name Specifies recipient's name. This can specify user or group. -t recipent type Specifies recipient's type. -c connNum[,...] Specifies connection numbers of recipients. You can use this option as workaround to deliver messages to directory services users. -i userID Specifies recipient's object ID. You can use this option as workaround to deliver messages to directory services users. message message is the message to be sent. Please note that this has to be a single command line argument. If you want to send a message that contains spaces, you have to quote them on the command line. For example, to annoy your system administrator, you should try nsend supervisor 'I know how this works!' Program first searches (wildcards allowed) bindery with recipients name and type. If user is found, message is sent to this user, if group is found, message is sent to this group. Other object types are ignored. If no suitable object was found in this phase, connection list for specified object is retrieved (no wildcards allowed) and message is sent to this object (including print servers and so on). No expansions on group is done this time. -a By default, nsend prepends 'From ....' text to message. You can suppress this by adding -a to command line. -S server server is the name of the server you want to use. -U user name If the user name your NetWare administrator gave to you differs from your unix user-id, you should use -U to tell the server about your NetWare user name. -P password You may want to give the password required by the server on the command line. You should be careful about using passwords in scripts. -n -n should be given if specified user does not have password. If neither -n nor -P are given, nsend prompts for a password. -C By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off this conversion by -C. BUGS
Directory services connection are not supported yet. Options -c, -i and -o cannot be used together. If user is specified multiple times (using wildcards in group specification or by repeating same number in -c), message is delivered multi- ple times to him. SEE ALSO
nwclient(5), nprint(1), slist(1), ncpmount(8), ncpumount(8) CREDITS
nsend was written by looking at mars_nwe's message handling. Thanks to Martin Stover <mstover@freeway.de>. Support for Netware groups by Philippe Andersson <philippe_andersson@ste.scitex.com>. Support for connections greater than 255 by Petr Vandrovec <vandrove@vc.cvut.cz>. nsend 04/07/1999 NSEND(1)
All times are GMT -4. The time now is 07:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy