id(TCL)
id --
get, set, convert user, group, process IDs
Synopsis
id options
Description
This command provides a means of getting, setting and
converting user, group and process IDs.
Options
id user [name]
id userid [uid]-
Sets the real and effective user ID to
name or uid, if the name (or uid) is
valid and permissions allow it. If the name (or uid) is
not specified, the current name (or uid) is returned.
id convert userid uid
id convert user name-
Converts a user ID number to a user name, or vice
versa.
id group [name]
id groupid [gid]-
Sets the real and effective group ID to
name or gid, if the name (or gid) is
valid and permissions allow it. If the group name (or gid)
is not specified, the current group name (or gid) is
returned.
id convert groupid gid
id convert group name-
Converts a group ID number to a group name, or vice versa.
id effective user
id effective userid-
Returns the effective user name, or effective user ID number,
respectively.
id effective group
id effective groupid-
Returns the effective group name, or effective group ID number,
respectively.
id process-
Returns the process ID of the current process.
id process parent-
Returns the process ID of the parent of the current process.
id process group-
Returns the process group ID of the current process.
id process group set-
Sets the process group ID of the current process to its process
ID.
02 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005