ASROOT

Section: User Commands (1)
Index Return to Main Contents
 

NAME

asroot - run a command with effective and real uid of root  

SYNOPSIS

asroot command [ arguments ]  

DESCRIPTION

Asroot executes another program as if root had tried to execute it. For security reasons, asroot will only work for members of the group wheel.  

EXAMPLES

To give user cedman ownership of the whole current directory structure:

        asroot chown -R cedman .

To launch Installer.app as root without logging in again:

        cd /NextAdmin/Installer.app
        asroot Installer &

To wipe out the harddisk:

        asroot rm -rf /

 

DIAGNOSTICS

`Sorry' if user is not member of the group wheel.

`execvp: No such file or directory' if the command argument is not an executable in the current path. Asroot can't know about shell aliases.  

AUTHOR

Carl Edman <cedman@princeton.edu>, Department of Physics, Princeton University.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
DIAGNOSTICS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 05:07:51 GMT, April 11, 2025