Mailinglist Archive: opensuse (3217 mails)

< Previous Next >
Re: [SLE] sux vs. xhost (WAS: Re: [SLE] Xlib)
  • From: Patrick Shanahan <paka@xxxxxxxxxxxxxxx>
  • Date: Mon, 1 Mar 2004 15:42:26 -0500
  • Message-id: <20040301204226.GD31919@xxxxxxxxxxxxxxx>
* Paul W. Abrahams <abrahams@xxxxxxx> [03-01-04 15:31]:
> I can't find a manpage entry for sux, so I can't learn more about it.
> But my little bit of experimentation suggests that it has very
> different functionality from xhost. In particular, with xhost it's
> possible to use sudo so that root commands can be executed without a
> password.

sux is su with access to X.

> Now I realize that some people feel that using sudo is a terrible idea
> -- but if you accept its use, is there any way then to execute X
> commands locally that require root privilege without having to specify
> a password?

sudo _should_not_ allow you to operate root priv w/o password unless
you have specifically altered /etc/sudoers. And if you did, you
apparently do not care about security.

sudo is a *good* thing when used as intended. But it does not allow
access to X.
--
Patrick Shanahan Registered Linux User #207535
http://wahoo.no-ip.org @ http://counter.li.org

< Previous Next >
Follow Ups