|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [Plug] permissions, etc.
|
Xhost is a security hole. On a system with more than one user it lets
anyone read/write your keyboard/display. If its a stand alone box, then
its not such a big deal. A better way to do is would be to use xauth.
That gets old after a while, ssh (as suggested) is a great way to do it
transparently.
J.
When I grow up, I wanna be more like me.
I had a clue. I didn't like it. I took it back and exchanged it for an
attitude.
On Tue, 20 Jul 1999, Kyle Burton wrote:
> Open a terminal:
>
> [user@host dir]$ xhost +localhost && su - new_user && exit
> Password:
> [new_user@host dir]$ export DISPLAY=:0.0 && (nohup emacs&) && exit
>
> you could do all this in a shell script and create an icon or menu entry
> in kde for it...
>
> or you could use a suid binary for the same purposes...
>
> k
>
> ------------------------------------------------------------------------------
> To be wise, the only thing you really need to know is when to say "I don't
> know."
> -- fortune file
> mortis@voicenet.com http://www.voicenet.com/~mortis
> ------------------------------------------------------------------------------
>
> On Tue, 20 Jul 1999, Hugh Brock wrote:
>
> > I have a permission question.
> >
> > I normally log into X as a regular user. Once in a while I need to start
> > a program -- xemacs, for example -- as a different user (not root). Is
> > there an easy way to do this with KDE? Obviously I could log off X and
> > log on again, but that seems like a nuisance...
> >
> > Thanks in advance,
> > --Hugh
> >
> > _______________________________________________
> > Plug maillist - Plug@lists.nothinbut.net
> > http://lists.nothinbut.net/mail/listinfo/plug
> >
>
>
> _______________________________________________
> Plug maillist - Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug
>
_______________________________________________
Plug maillist - Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug
|
|