Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xdg-su(1) [suse man page]

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)

Check Out this Related Man Page

XDG-OPEN(1)							  xdg-open Manual						       XDG-OPEN(1)

NAME
xdg-open - opens a file or URL in the user's preferred application SYNOPSIS
xdg-open {file | URL} xdg-open {--help | --manual | --version} DESCRIPTION
xdg-open opens a file or URL in the user's preferred application. If a URL is provided the URL will be opened in the user's preferred web browser. If a file is provided the file will be opened in the preferred application for files of that type. xdg-open supports file, ftp, http and https URLs. xdg-open is for use inside a desktop session only. It is not recommended to use xdg-open as root. OPTIONS
--help Show command synopsis. --manual Show this manual page. --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. EXAMPLES
xdg-open 'http://www.freedesktop.org/' Opens the freedesktop.org website in the user's default browser. xdg-open /tmp/foobar.png Opens the PNG image file /tmp/foobar.png in the user's default image viewing application. AUTHORS
Kevin Krammer Author. Jeremy White Author. COPYRIGHT
Copyright (C) 2006 xdg-utils 1.0 06/10/2014 XDG-OPEN(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

su (-) command

With the su command you can switch to any user on system, if you know his password.. Example: "su - root" switches to the root user. This way the profile of the user (here root) will be loaded and you will get the rights of root. But if you enter "su root" (without "-") you just get the rights of... (7 Replies)
Discussion started by: PzYon
7 Replies

2. Programming

root privileges

Hi I have make a program that needs root privleges but any user can try to run it, so what I want it is, when any user tries( other than root ) to run the program, an input prompt would open to enter root password ( if user knows ) and program will run ( otherwise exit ), and after completing... (21 Replies)
Discussion started by: sumsin
21 Replies

3. AIX

Shell Scripts

I would like to seek some expertise of all our AIX experts on board. 1) I would like know how to get a return exit code of a command. I found that there are exist code for each and every command run in AIX but I just can't get the return code from my scripts. A=`cp /home/abc/abc.txt... (7 Replies)
Discussion started by: kwliew999
7 Replies

4. Solaris

User creation

Hi all, I want to create one user with full permissions to one directory called /opt/tivoli/tsm/client/ba/bin. Name for the user Tivoli Thanks & Regards Babu (7 Replies)
Discussion started by: lbreddy
7 Replies

5. Shell Programming and Scripting

Make program only run by root

Hi all, i hope i got this in the right place, what i am trying to do is make a program only run by root, ie for instance user fred is logged in and uses firefox, what id like to do is change that so that when fred wants to use firefox he will be asked to enter root password before he is allowed to... (14 Replies)
Discussion started by: dave123
14 Replies

6. UNIX for Dummies Questions & Answers

Allow a user use a specific root command!

Hi, I like to allow an user to permit an root command " /usr/ucb/ps -auxwww", do you know how? Kind regards Mehrdad (6 Replies)
Discussion started by: mehrdad68
6 Replies

7. Shell Programming and Scripting

IF statement to check file exists

Hi All, If i run below copy command, it works absolutely fine, /opt/csw/bin/scp axetlxyz01:/opt/data/test/QURIES* ./input I want to make the above line better, by adding an IF statement, want to check if there is any file exists with name QURIES*.* then i need to copy that. if ... (7 Replies)
Discussion started by: rkrgarlapati
7 Replies

8. UNIX for Dummies Questions & Answers

UNIX without GUI

Hello guys, I am new to Unix, because of low RAM, i want to install Unix terminal (command line) without the GUI. Basically, i want to install two Unix OS (without the GUI) on VMware and make a TCP connection between them. I have a total of 2GB RAM on the host computer running window 7, so i... (7 Replies)
Discussion started by: Omar_M
7 Replies

9. AIX

GUI in AIX

Is there a way to install GUI in AIX. I`m using putty(AIX), needed a GUI to use dbua for Oracle upgrades. I know xclock works in linux by installing some packages along with it. Is there a similar way for AIX as well? (11 Replies)
Discussion started by: san_rrr
11 Replies

10. AIX

Trace su to root

Hi, is it possible to trace everything about user that changes from its own user to root user, failed and successful attempts (I would need user and IP address of user that was trying to do that)? I tried adding auth.notice and auth.info in syslog.conf but it only tracks user withoud IP... (6 Replies)
Discussion started by: sprehodec
6 Replies

11. Web Development

Forgot MYSQL password root

I have VPS openSUSE 12.2 I forgot MYSQL password root when i run in CMD: > mysql Error Message Show : >> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) (6 Replies)
Discussion started by: CloudniX
6 Replies

12. UNIX for Advanced & Expert Users

RM command

Hi, I am facing an issue with RM command. when i run this command in unix it gets processed successfully. but when i use this same command in informatica it throws an error as "stderr ...." My question here is what are the possible reasons for an rm command to fail when the syntax is perfect.... (6 Replies)
Discussion started by: Mohammed_Tabish
6 Replies

13. UNIX for Dummies Questions & Answers

UNIX: internet witout GUI

Hello! Please, is it possible to come to internet (not e-mail, but ionternet!) without GUI? Many thanks! (8 Replies)
Discussion started by: pinklemon
8 Replies

14. UNIX for Advanced & Expert Users

One user to su to another without allowing root access and password

Hello Gurus, I want One user to su to another without allowing root access and password. I want to run a specific command as below from user am663: --------------------------------------------------------- sudo -u appsprj4 /home/appsrj4/scripts/start_apache.sh ------------------- But... (6 Replies)
Discussion started by: pokhraj_d
6 Replies

15. Solaris

Sudo access of rm to non-root user

Hello, It is Solaris-10. There is a file as /opt/vpp/dom1.2/pdd/today_23. It is always generated by root, so owned by root only. This file has to be deleted as part of application restart always and that is done by app_user and SA is always involved to do rm on that file. Is it possible to give... (9 Replies)
Discussion started by: solaris_1977
9 Replies