You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Тим c9b73ff15e update README 10 months ago
LICENSE Create LICENSE 1 year ago
README.md update README 10 months ago
main.cpp The executable command is used as window title, if it possible. 10 months ago
passHide.png rename icons 1 year ago
passShow.png rename icons 1 year ago
qsudo.cpp fix code for old Qt 10 months ago
qsudo.h The executable command is used as window title, if it possible. 10 months ago
qsudo.pro Add c++11 flag 1 year ago
qsudo.ui fix hide/show icon 1 year ago
res.qrc rename icons 1 year ago

README.md

qsudo

GUI for sudo
qsudo -E gparted // hide password qsudo -E gparted // show password

Feature

  • You can use sudo options

Build

Dependencies

  • git
  • qmake-qt5
  • qt5-base
Debian, Ubuntu, Mint
apt update
apt install -y git qt5-default make g++
Arch, Antergos, Manjaro
pacman -Syu
pacman -S --noconfirm git make qt5-tools qt5-base gcc

Building

git clone https://github.com/sr-tream/qsudo.git
mkdir qsudo-build
cd qsudo-build
qmake ../qsudo
make -j$(nproc --all)
Possible problems with building
On Ubuntu

qmake-qt5 may not exist in PATH (issue), then instead of the command qmake use /usr/lib/qt5/bin/qmake

Usage

./qsudo [options] program

Example

./qsudo -E gparted