PMDF User's Guide
OpenVMS Edition


Previous Contents Index


SET USERNAME

Become another mail user.

restrictions

Requires CMKRNL privilege as well as sufficient privileges to access other users' mail files.

Syntax

SET USERNAME [username]

Command Qualifiers Defaults
None. None.

Parameters

username

Optional parameter specifying the username to assume.

Description

The SET USERNAME command may be used to examine mail problems with other users; it is intended for use by system managers only. This command does the following:

  1. Closes any open mail files and shuts down any mail context.
  2. Changes your process's username to the specified username.
  3. Creates a new mail context under the guise of the new username.
All subsequent commands which you enter will have the same effect as if you had logged in as that user.

Issue the SET USERNAME command without any parameter to resume operating as yourself. When you exit PMDF MAIL, your username will be restored if you have not already done so.


Examples

In this example, the user WALTER becomes the user WENDY:


$ PMDF MAIL
 
You have 1 new message. 
 
EMAIL> SET USERNAME WENDY
 
You have 4 new messages. 
 
EMAIL> SPAWN SHOW PROCESS
 
24-FEB-2012 15:46:17.90   User: WENDY            Process ID:   20203D41 
                          Node: VAX1             Process name: "WENDY_1" 
 
Terminal: 
User Identifier:    [MANAGER,WALTER] 
Base priority:      4 
Default file spec:  D1:[WALTER] 
EMAIL> EXIT
$ SHOW PROCESS
 
24-FEB-2012 15:46:31.10   User: WALTER           Process ID:   20203115 
                          Node: VAX1             Process name: "Pilgermann" 
 
Terminal:           FTA83: 
User Identifier:    [MANAGER,WALTER] 
Base priority:      4 
Default file spec:  D1:[WALTER] 
$ 


Previous Next Contents Index