-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (3) .- Knowledge Base  . 

GtkSu

   0.1.6  

GTK System Tool

Score 56%
GtkSu
zoom


GtkSu
zoom


Homepage:  Link
Link:  Link
Downloads:  556
Submitted:  Jun 2 2013
Updated:  Nov 27 2015

Description:

Gtksu - what is it?

Simple its a simple replacement for gksu/ktsuss etc that allows you to run a program with different privileges ( root etc ).

Although there are other programs of theis type most if not all rely on polkit or have a large number of dependencies, apps like ktsuss which this app was inspired by ( available here:http://ktsuss.googlecode.com/files/ktsuss-2.tar.gz ), some like ktsuss seem to have been abandoned ( last commit was 2011 ).

Also it seems that whenever polkit ( which is a nightmare! ) is updated these programs break, so this is the result there are few dependencies a reasonable recent gtk and glib and that's it.

Can now be built with a Qt5 qui instead of Gtk, just use the --enable-qt5 switch to configure.

See the INSTALL file for details on how to install Qt5.

Installation

Just run ./configure OR ./autogen.sh from this folder then make and sudo make install.
To install to ( say ) /usr instead of the default /usr/local, add --prefix=/usr, --enable-ktsuss-link will as it says link ktsuss to gtksu so that some programs that hard code the files think that ktsuss is being used ( spacefm ).

Development version is now available on Github:
https://github.com/KeithDHedger/GtkSu
git clone https://github.com/KeithDHedger/GtkSu.git

Please see the BUGS-ETC file for instructions on reporting bugs etc.
Bugs reported on these boards or sent as PM's will be ignored.


Usage:

gtksu [OPTION] [--]
Run a command as another user
-u, --user USER Runs the command as the given user
-m, --message MESG Change default message in ktsuss window

Simple usage:
gtksu terminal.

If you need to add options use -- like so:
gtksu -u root -- terminal --hold -x ls -AF /

This programme has the potential to hose your system if used unwisely, BE WARNED!
May present a security risk so use at your own risk.

Please see the README/INSTALL files for my email to let me know about any bugs problems etc.




Changelog:

0.1.6
Removed redundant scripts folder.
Updated manpage.
Removed forced CFLAGS and CXXFLAGS.
Added to Github:https://github.com/KeithDHedger/GtkSu

0.1.5
Updated licence info in files.
Fixed some distros not setting some users environment variables.

0.1.4
Command line to gtksu can now be quoted or not eg to open the file "/tmp/dat 1" all these are the same:
gtksu -- leafpad /tmp/dat\ 1
gtksu -- "leafpad /tmp/dat\ 1"
gtksu -- 'leafpad /tmp/dat\ 1'
gtksu -- leafpad "/tmp/dat 1"
gtksu -- 'leafpad \"/tmp/dat 1\"'

0.1.3
Added submitted patch to fix minor bug when using --user switch, thanks to Ludger Krämer for that.

0.1.2
Removed unnecessary .desktop and png file.
Minor update to man page.

0.1.1
Swapped butons in gtk.
Fixed not displaying default message.
Fixed not displaying alternate message.
Added option to build with QT5 instead of Gtk ( default ).

0.1.0
Updated manpage.
Loads more error checking.
CD to users home or "/" before running command.
Only roots PATH now includes /sbin and /usr/sbin.
Cleaned environment before switching user.
Returns exit status of su'ed program.
Aborts if environment can't be cleaned or permissions can't be dropped.
Permissions in suwrap program only elevated when needed.
Fixed make asking for admin password.

0.0.8
Fixed install of zipped manpage.
Fixed wrong version number being picked up.

0.0.7
Added install instructions for debian/fedora users including dependencies.
Added 'configure' file etc so now no longer depends on autotools.

0.0.6
Fixed a bug where '--' used to mark end of options used when no options.
Removed debugging messages.

0.0.5
First release into the wild.




LicenseGPL
(Last resort download)
Send to a friend
Subscribe
Other  Content  from keithhedger
Report inappropriate content



-
.

 enable-ktsuss-link

 
 by Moatib on: Nov 6 2013
 
Score 50%

Hey

Since I already have ktsuss installed, should I configure gtjsu with --enable-ktsuss-link?


Reply to this

-

 Re: enable-ktsuss-link

 
 by Moatib on: Nov 6 2013
 
Score 50%

Gtksu, not gtjsu, sorry.


Reply to this

-

 Re: enable-ktsuss-link

 
 by keithhedger on: Nov 6 2013
 
Score 50%

No! it would replace the ktsuss app with a link, it just pretends to be ktsuss, if you don't want to install ktsuss or polkit breaks it again THEN use the --enable-ktsuss-link you can of course have both programs installed with no problems.


Reply to this

-

 Re: Re: enable-ktsuss-link

 
 by Moatib on: Nov 7 2013
 
Score 50%

Thanks!


Reply to this

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team