Re: Using gnome-apt as non-root

1999-06-30 Thread Sami Dalouche
On Sat, Jun 26, 1999 at 08:25:05PM -0400, Stuart Ballard wrote:
> Is it possible to arrange for gnome-apt to be usable by a non-root user?

Yes, there is sudo.
or, I think, you can (in a Xterm )

su

export XAUTHORITY=/home/user/.Xauthority
gnome-apt

It should work but I've not tried.

> To run it as root I have to mess about with X authorization and even
> once that is done my GTK themes aren't respected. I guess my question
> can be broken down as follows (and an answer to either part would be
> enough)
> 
> 1) Is there a way to run programs as root from X, respecting such things
> as the current GTK theme; OR
> 
> 2) Is there a way to enable a regular user to run apt/dpkg/gnome-apt?
> 
> Thanks in advance,
> Stuart.
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 
|.   ICQ  : 25529539
|| |\  | |  | \  /   AIM  : linhax
|___ | |  \| |__| /  \   IRC nick : linhax
Sami Dalouche : [EMAIL PROTECTED]DHIS : pingoo.dhis.org


Re: Using gnome-apt as non-root

1999-06-27 Thread Havoc Pennington

On Sun, 27 Jun 1999, Leen Besselink wrote:
> 
> Maybe it's a reason to change it's behavour,
> maybe we could have it ask for a password and do sudo in the background or
> something, when installing.
> 

yeah, it will be fixed eventually. We might need to wait for Debian to
have PAM. Patches gladly accepted, too. :-)

Havoc



Re: Using gnome-apt as non-root

1999-06-27 Thread Leen Besselink


On Sun, 27 Jun 1999, Havoc Pennington wrote:

> 
> On Sat, 26 Jun 1999, Stuart Ballard wrote:
> > 
> > 1) Is there a way to run programs as root from X, respecting such things
> > as the current GTK theme; OR
> >
> 
> No, the theme is a per-user setting, so it won't apply to you while you're
> root. You could set the theme for the root user though.
>  
> > 2) Is there a way to enable a regular user to run apt/dpkg/gnome-apt?
> > 
> 
> No, installing packages requires root permissions. gnome-apt might let you
> do package selections as a regular user eventually, but you'll always have
> to be root to actually install.

Maybe it's a reason to change it's behavour,
maybe we could have it ask for a password and do sudo in the background or
something, when installing.

Just my 2 cents.

> 
> Havoc
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 


Re: Using gnome-apt as non-root

1999-06-27 Thread Havoc Pennington

On Sat, 26 Jun 1999, Stuart Ballard wrote:
> 
> 1) Is there a way to run programs as root from X, respecting such things
> as the current GTK theme; OR
>

No, the theme is a per-user setting, so it won't apply to you while you're
root. You could set the theme for the root user though.
 
> 2) Is there a way to enable a regular user to run apt/dpkg/gnome-apt?
> 

No, installing packages requires root permissions. gnome-apt might let you
do package selections as a regular user eventually, but you'll always have
to be root to actually install.

Havoc



Using gnome-apt as non-root

1999-06-27 Thread Stuart Ballard
Is it possible to arrange for gnome-apt to be usable by a non-root user?
To run it as root I have to mess about with X authorization and even
once that is done my GTK themes aren't respected. I guess my question
can be broken down as follows (and an answer to either part would be
enough)

1) Is there a way to run programs as root from X, respecting such things
as the current GTK theme; OR

2) Is there a way to enable a regular user to run apt/dpkg/gnome-apt?

Thanks in advance,
Stuart.