Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: au Up: Code management Previous: amv

Subsections



asme

Execute a command with the effective uid set to the real uid.

Synopsis

asme [command]

Description

asme executes a command with the effective uid set to the real uid. The requirement for such a utility arises because Bourne shell offers no mechanism within a setuid script to allow a command to be executed with the real uid.

Options

None.

Notes

Diagnostics

Status return values
-1: fork failed
0: success, value returned on stdout
else: exit status returned by the command

Examples

ai (p[*]) runs setuid to aips2mgr. It uses the following construct to ensure that the file to be checked in is readable by user and group:

   asme "chmod ug+r $i"

See also

The unix manual page for chmod(1).
ai (p[*]) AIPS++ code checkin utility.

Author

Original: 1996/03/28 by Mark Calabretta, ATNF.


next up previous contents index
Next: au Up: Code management Previous: amv   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15