---
name: "gnome-sudo"
section: "8"
platform: "linux"
package: "gnome-sudo"
version: "0.3-1"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/gnome-sudo"
---

# gnome-sudo(8)

GUI frontend to sudo(8)

## NAME

gnome-sudo - GUI frontend to **[sudo(8)](/sudo/8.md)**

## SYNOPSIS

**gnome-sudo** \[ **-u** *user* \] *command*

## DESCRIPTION

**gnome-sudo** is typically not invoked directly but rather by other GUI software. In the shell, you would just use **[sudo(8)](/sudo/8.md).** **gnome-sudo** uses a dialog box to prompt for the root password (or *user's* if specified) and then executes *command* as that user.

Note that if *command* takes options you will have to pass the -- pseudo-option to **gnome-sudo** so that it will pass the options to *command* rather than interpreting them itself.

Finally, you must have **[sudoers(5)](/sudoers/5.md)** set up correctly in order for **gnome-sudo** to work.

## OPTIONS

- **-u, --user *user***

  Run *command* as *user* instead of root.

## EXAMPLES

To run the hypothetical gnome-opkg command with a non-standard package database directory:

```
 % gnome-sudo -- gnome-opkg --pkgdbdir=/var/db/opkg
```

## FILES

*/etc/sudoers*

## SEE ALSO

**[sudo(8)](/sudo/8.md),** **[sudoers(5)](/sudoers/5.md),** **[visudo(8)](/visudo/8.md)**

## AUTHOR

**gnome-sudo** was written by Eric Gillespie, Jr. for Progeny Linux Systems, Inc.
