Graphical su – gksu


You all have learned about su and sudo during your RHCE Training and your RHCSS training.

Whenever you try to launch any GUI application, which require admin rights, either in RHEL 6 or in Ubuntu it prompts you for root password. This is good.

Linux also supports graphical versions of su, which ask for your password in a graphical environment.

Why not try to use gksu instead of su.

One of the benefit of using gksu command is that – it preserves your current desktop settings, so graphical programs won’t look out of place when you launch them as a different user.

Programs such as gksu are the preferred way of launching graphical applications with root privileges.

Here is a screenshot of gksu in action from my Ubuntu desktop.

Graphical su - gksu

Graphical su – gksu