Tcl Powered!NeoWebScript

Home
 
Download
User Info
New User FAQ
Tutorials
Demos
Commands
Variables
Troubleshooting
Sysop Info
Sysop FAQ
Theory
Installation
Management
Tests
Troubleshooting
Feedback
Resources
Release Notes
Credits
Disclaimer
ID - Extended TCL
Synopsis * Description

Provides a means of getting, setting, and converting user, group, and process ids

Synopsis

  • id options

Description

This command provides a means of getting, setting and converting user, group and process ids. The id command has the following options:

id user ?name?

id userid ?uid? Set the real and effective user ID to name or uid, if the name (or uid) is valid and permis- sions 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 Convert a user ID number to a user name, or vice versa.

id group ?name?

id groupid ?gid? Set the real and effective group ID to name or gid, if the name (or gid) is valid and permis- sions allow it. If the group name (or gid) is not specified, the current group name (or gid) is returned.

id groups

id groupids Return the current group access list of the process. The option groups returns group names and groupids returns id numbers.

id convert groupid gid

id convert group name Convert a group ID number to a group name, or vice versa.

id effective user

id effective userid Return the effective user name, or effective user ID number, respectively.

id effective group

id effective groupid Return the effective group name, or effective group ID number, respectively. id effective groupids Return all of the groupids the user is a mem- ber of.

id host Return the hostname of the system the program is running on.

id process Return the process ID of the current process.

id process parent Return the process ID of the parent of the current process.

id process group Return the process group ID of the current process.

id process group set Set the process group ID of the current pro- cess to its process ID.

id host Returns the standard host name of the machine the process is executing on.

Copyright © 1995-1999 NeoSoft Inc., 1770 St. James Place, Suite 500, Houston, TX 77056 USA. All Rights Reserved