cmd:gksu 

Usage 

gksu [-u <user>] [options] <command>
gksudo [-u <user>] [options] <command>

Info 

gksu - GTK+ frontend for su and sudo

Description 

gksu is a frontend to su and gksudo is a frontend to sudo. Their primary purpose is to run graphical commands that need root without the need to run an X terminal emulator and using su directly.

Detail Help 

--preserve-env, -k
  Preserve the current environments, does not set $HOME
  nor $PATH, for example.
--login, -l
  Make this a login shell. Beware this may cause
  problems with the Xauthority magic. Run xhost
  to allow the target user to open windows on your
  display!

documented on: 2007-12-09