On Sun, 2006-01-08 at 02:02 +0900, Satoru Matsumoto wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Sergei Cherepanov wrote: > > Hi > > I've started to use smart instead of apt recently and i have a > > problem. Smart works great from console with sudo but when i try to > > run it with --gui option i get "permission denied" on every rpm > > operation (under unprivileged user) or "RuntimeError: could not open > > display" when i start it with sudo. > > I think i can make smart suid but this will result in a possible > > security hole. Is there a more gentle way? > > I don't know whether it will be enogh for you or not, try > > $ sux - -c 'smart --gui' > > You will be prompted to enter root password, though. > When I launch smart in KDE I use the menu entry under System-->Configuration and it automatically asks for root's password. Perhaps you can launch it the same way. Since smart is using rpm to install/delete packages you will need to run it as root.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
