Nope. Not at all. Using X as root to run and/or maintain a server is a considerable security issue. If that is not what the fella is doing then the problem with sudo changing permissions when run in X is moot, and he was confused. (Which I also spoke to/about.)
If this is not clear, that is o.k....and please ignore me. Very best regards; Bob Finch > Err... i hope it was a joke. And a really bad one imo :P > > On 2/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> Ug.... >> >> The point is/(was) that when in X running sudo has some interesting >> and potentially odd and undesired behavior. >> >> This of course begs the question: are you running X as root when >> adjusting your server ? (Gosh I hope not.) >> >> - If not, then by definition this problem does not apply to you, and >> you have not understood the nature of the problem being discussed. >> (And that is o.k, too, as we all misread stuff from time to time.) >> >> - If yes, then perhaps you need to consider NOT running X as root to >> maintain a server. >> >> If you do not see why this a problem, then perhaps you should ignore >> me. (Grin) ... I surely would if I were you. >> >> And considering the nature of this and other problems with sudo, >> perhaps you should reconsider your use of sudo. (Again feel free to >> ignore me on this advise as well.) >> >> >> Very best regards; >> >> Bob Finch >> >> >> >>Anyway, whats the harm in using kdesu / gksu anyway ? :P >> > >> > Its a pain in the ass when you are so use to sudo. When I use my >> server as root I'm so use to typing in sudo pacman -S blah (this is >> when I'm in root) >> > >> > On 2/15/06, Rohan Dhruva <[EMAIL PROTECTED]> wrote: >> >> No, it happens to every X app. Maybe you are very lucky ;) But the >> same problem has occured to me to any distro when running any X >> program through sudo. Anyway, whats the harm in using kdesu / gksu >> anyway ? :P >> >> >> >> >> >> On 2/15/06, Sten Larsson <[EMAIL PROTECTED]> wrote: >> >> > I have never had any trouble running emacs or firestarter through >> >> sudo. Is this a problem specific to kde? >> >> > >> >> > On 2/15/06, Rohan Dhruva <[EMAIL PROTECTED]> wrote: >> >> > > On fluxbox and xfce i have used kdesu successfully. I think >> even >> >> gksu >> >> would >> >> > > work. Someone in #kde once explained that sudo will reset the >> >> permissions of >> >> > > the above file to root since it is "ignorant" whereas >> {gk,kde}su >> >> knows >> >> about >> >> > > the X permissions. >> >> > > >> >> > > Rohan. >> >> > > >> >> > > >> >> > > On 2/15/06, bardo <[EMAIL PROTECTED]> wrote: >> >> > > > 2006/2/15, Rohan Dhruva < [EMAIL PROTECTED]>: >> >> > > > > Never ever run X applications as root using "sudo". Always >> use >> >> "kdesu" >> >> > > if on >> >> > > > > kde, or "gksu" if on gnome. >> >> > > > >> >> > > > What if I use neither (xfce, *box, enlightenment)? >> >> > > > And BTW, what's the risk in using it? >> >> > > > >> >> > > > >> >> > > > bardo >> >> > > > >> >> > > > _______________________________________________ >> >> > > > arch mailing list >> >> > > > arch@archlinux.org >> >> > > > http://www.archlinux.org/mailman/listinfo/arch >> >> > > > >> >> > > >> >> > > >> >> > > >> >> > > -- >> >> > > Rohan Dhruva >> >> > > Registered Linux user : #371916 >> >> > > Please register yourself at http://counter.li.org/ if you are >> >> using GNU/Linux. >> >> > > >> >> > > _______________________________________________ >> >> > > arch mailing list >> >> > > arch@archlinux.org >> >> > > http://www.archlinux.org/mailman/listinfo/arch >> >> > > >> >> > > >> >> > > >> >> > >> >> > _______________________________________________ >> >> > arch mailing list >> >> > arch@archlinux.org >> >> > http://www.archlinux.org/mailman/listinfo/arch >> >> > >> >> >> >> >> >> >> >> -- >> >> >> >> Rohan Dhruva >> >> Registered Linux user : #371916 >> >> Please register yourself at http://counter.li.org/ if you are using >> GNU/Linux. >> >> >> >> _______________________________________________ >> >> arch mailing list >> >> arch@archlinux.org >> >> http://www.archlinux.org/mailman/listinfo/arch >> >> >> >> >> >> >> > >> > >> > -- >> > Matthew | Website http://msg43.net | AIM: MSG431 | MSN + Gmail: >> [EMAIL PROTECTED] >> > >> > _______________________________________________ >> > arch mailing list >> > arch@archlinux.org >> > http://www.archlinux.org/mailman/listinfo/arch >> >> >> >> >> _______________________________________________ >> arch mailing list >> arch@archlinux.org >> http://www.archlinux.org/mailman/listinfo/arch >> > > > > -- > Rohan Dhruva > Registered Linux user : #371916 > Please register yourself at http://counter.li.org/ if you are using > GNU/Linux. _______________________________________________ arch mailing list arch@archlinux.org http://www.archlinux.org/mailman/listinfo/arch