Re: Change root> normal user?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

linuxmaillists@xxxxxxxxxxx wrote:
> How would I set up a GUI front end (for a command line executable
> that can only be run by root) so that a password dialog comes
> requesting the root password?

You could use consolehelper, which is what many of the fedora
system-config- programs use.  What program are you looking to run?
And if it's a command line program, why not use sudo or su?

If you plan to prompt the user for the root password, they can already
just use that to su to root and run the program.

If you use sudo, you don't have to give the user the root password,
you just edit the /etc/sudoers file to allow them to run the
particular command(s) you want and they enter their own password to
run them.

- -- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
A good programmer is one who looks both ways before crossing a one-way
street.
    -- Doug Linder

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iQFDBAEBAgAtBQJFEI3fJhhodHRwOi8vd3d3LnBvYm94LmNvbS9+dG16L3BncC90
bXouYXNjAAoJEEMlk4u+rwzj1lAH/0BiA/OmegPiVlC5X7tU1GnjJdKV+8h5cC6p
PR/lwIxx3QqazLTULUgr4DfmbQI7qYAHdBxkv7nANFRzt49ssF4ztvTxxd7s+kat
T0WmccyN460JCtiltNuf48MMI0bt88Oj1ymGh6peoiCFnMxO2K0m4jfD1khswYZb
z2Q//iMBKxWBjwxqIMkZJwZsjSRrSEr7ULci9uJgXT6tlcGsr4AeyR8qivHB4SiG
nBqHCLEZkgW0kpcbRKjS4hThfPkhYCfRIJ0rrKvF5QdWXDlvDkZ9uuHEt7rSM/Gj
U69LBv8WZhwRAL8Hn7h9TRQdO62uJw8+HMHBCRzDmb6yLga0SR4=
=Ezwg
-----END PGP SIGNATURE-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux