suse man page for xdg-su

Query: xdg-su

OS: suse

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XDG-SU(1)																 XDG-SU(1)

NAME
xdg-su - run a GUI program as root after prompting for the root password
SYNOPSIS
xdg-su [-u user] -c command xdg-su {--help --manual --version}
DESCRIPTION
xdg-su provides a graphical dialog that prompts the user for a password to run command as user or as root if no user was specified. xdg-su is for use inside a desktop session only. xdg-su discards any stdout and stderr output from command.
OPTIONS
-u user run command as user. The default is to run as root. --help Show command synopsis. --manual Show this manualpage. --version Show the xdg-utils version information.
EXIT CODES
An exit code of 0 indicates success while a non-zero exit code indicates failure. The following failure codes can be returned: 1 Error in command line syntax. 2 One of the files passed on the command line did not exist. 3 A required tool could not be found. 4 The action failed.
SEE ALSO
su(1)
EXAMPLES
xdg-su -u root -c "/opt/shinythings/bin/install-GUI --install fast" Runs the /opt/shinythings/bin/install-GUI command with root permissions.
AUTHOR
Kevin Krammer, Jeremy White. <kevin.krammer@gmx.at> <jwhite@codeweavers.com> This is release 0.5 of the xdg-su Manual 07/31/2006 XDG-SU(1)
Related Man Pages
xdg-email(1) - opensolaris
xdg-screensaver(1) - opensolaris
xdg-open(1) - centos
xdg-open(1) - debian
xdg-settings(1) - debian
Similar Topics in the Unix Linux Community
Shell Scripts
User creation
Allow a user use a specific root command!
RM command
UNIX: internet witout GUI