Sponsored Content
Operating Systems Solaris How can I get only the number of the UID from id command? Post 302072941 by umen on Tuesday 9th of May 2006 04:45:49 AM
Old 05-09-2006
How can I get only the number of the UID from id command?

Hello (sorry for the cross posting )
im using sun Solaris, I need to get the user id number (generating unique id's)
but I fail to find switch to get only the number of the id

when i try to do id -u , i got:
id: illegal option -- u
Usage: id [-ap] [user]

thanks for the help
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UID problem

I'm teaching myself UNIX, so bear with me! :) I created two user accounts on my box. One day I shut down the system using "shutdown -h 1". The system shut down cleanly. A few days I rebooted the box, no problem. But root is the only account that can log in. The other 2 user accounts... (10 Replies)
Discussion started by: ChrisFoxx
10 Replies

2. UNIX for Dummies Questions & Answers

Reversing UID's

Is it possible given a uid to determine information about the person with the uid? An example would be simple information regarding what group and the name of the person associated with that uid. It seems there is probably an easy staring me in the face but i cant seem to find it... (3 Replies)
Discussion started by: dreaming1
3 Replies

3. UNIX for Dummies Questions & Answers

How can I get only the number of the UID from id command?

Hello im using sun Solaris, I need to get the user id number (generating unique id's) but I fail to find switch to get only the number of the id thanks for the help (5 Replies)
Discussion started by: umen
5 Replies

4. Shell Programming and Scripting

Shall I go for uid or ppid?

Hi Guys, I'd like to ask your advice on the following, I've written this script to terminate a given process by name: #!/bin/bash echo 'Please enter the process you wish to terminate' read process pid=$(pidof $process) kill -9 $pid echo $2 to make it safer I want it to reject the... (4 Replies)
Discussion started by: Lora Graham
4 Replies

5. UNIX for Advanced & Expert Users

Numeric uid and gid in ls -l command

I´m listing the contents of a directory using the command ls -lI get numeric uid and gid for some lines. example: drwxr-xr-x root root 1970-01-01 01:00 sys -rw-r--r-- 501 20 0 2010-08-04 14:54 shutdown.bravo.rc drwxr-x--- 501 20 ... (5 Replies)
Discussion started by: flocki
5 Replies

6. Shell Programming and Scripting

UId

is tty command opens a process in the system if yes then why process got the userid????? (5 Replies)
Discussion started by: Mac91
5 Replies

7. AIX

More than 1 UID 0

Hi, Can any one please tell what are the risks of having more than one users having UID 0 (root)? Thanks Naveed (9 Replies)
Discussion started by: naveedaix
9 Replies

8. Solaris

Changing uid value

Hi, I want to change user id gefadm ,uid=0(root) gid=0(root) to uid=16649(isaadmin) gid=16284(dstage), how can i change this uid ,gid one value to another value. Please provide the steps how can i change , uid=0(root) gid=0(root) to uid=16649(isaadmin) gid=16284(dstage). Thanks in advance for... (2 Replies)
Discussion started by: sridhardwh
2 Replies

9. Solaris

New root account with Different UID number

Hi Unix Gurus . I have requirement where in which - I would like create duplicate root equivalent account with all the privileges equal to root. Is it possible to create this duplicate account with different UID. ? this id i would like give it to my teams - who does multiple activities using... (2 Replies)
Discussion started by: johnavery50
2 Replies

10. UNIX for Dummies Questions & Answers

Using the "find" command to look for multiple UID's

I have a security audit requirement to produce a list of files that a specific list users have access to. In other words, I'm trying to use find to search files which user1 owns OR user2 owns OR user3 owns, and so on. Can this be done on one command line or do I need to use a for loop and just loop... (15 Replies)
Discussion started by: westmoreland
15 Replies
FLAME(1)						      General Commands Manual							  FLAME(1)

NAME
flame -- reply to Usenet News posting automatically SYNOPSIS
flame [options] [filename] DESCRIPTION
Flame is a AI tool providing an automated method for replying to articles posted to Usenet News. Special care is paid to allow the user to specify the type of reply he desires. The following options are supported by flame: -- Take input from stdin. -x regexp Crosspost to all newsgroups matching regexp. -n number Post this reply number times. -b Reply in BIFF MODE. -d Delay response until original posting expires. -m Misdirect to a random Author. -r ROT13 quotes from original posting. -g regexp Reply to all messages in newsgroups matching regexp. -A Call the Author Assh*le in 12 languages. -B Bait the Author. -C Accuse the Author of communist leanings. -D Denigrate the Author. -E Picks apart the Author's educational background. -F Accuse the Author of fascist leanings. -G Post using Greek insult module. -H Accuse the Author of homophobic leanings. -I Question the Author's intelligence. -J Accuse the Author of purchasing Japanese imports. -K Accuse the Author of working for the KGB, MOSSAD, CIA, or MI5 as appropriate. -L Post using Latin insult module. -M Insult the Author's mother. -N Accuse the Author of Neo-Nazi leanings. -O Quote obscure references proving falsehood of the posting. -P Question the Author's parentage. -Q Accuse the Author of deviant sexual practices. -R Accuse the Author of racist leaning. -S Accuse the Author of sexist leanings. -T Accuse the Author of cross dressing. -U State that the Author just doesn't understand anything. -V Pretend sympathy for Author's virgin sensibilities. -W Accuse the Author of voting for George Bush. -X Prepend obscene adjectives wherever syntactically correct. -Y Accuse the Author of PLO membership. -Z Accuse the Author of Zionist leanings. ENVIRONMENT
The environment variable FLAME_TYPE can be set to any combination of the above parameters, and will be used as the default flame type to generate. The environment variable OBSCENE points to a file containing miscellaneous obscene adjectives for the -X option above. MACROS
Macro Support will be added to the next release of flame. AUTHOR
Unknown FILES
.lastflame This file contains the number of the last article flamed. Used when flameing an entire newsgroup. .prefflame This file contains the user's preferred flames. .altflame This file contains alternate phrasing of some of the more standard flames. Used to keep the program from flaming itself. SEE ALSO
rn(1), more(1), newsrc(5), readnews(1), Pnews(1), Rnmail(1) DIAGNOSTICS
Self Documenting. BUGS
Occasionally, flame will turn on the user, and flame all outgoing postings. When this happens, the best thing to do reinstall your news software and flame. FLAME(1)
All times are GMT -4. The time now is 01:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy