LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   xterm installs suid root? (https://www.linuxquestions.org/questions/linux-security-4/xterm-installs-suid-root-135535/)

infamous41md 01-16-2004 04:23 PM

xterm installs suid root?
 
i recently installed slackware, and noticed that xterm is suid root?

cjcuk 01-17-2004 08:04 AM

Re: xterm installs suid root?
 
Quote:

Originally posted by infamous41md
i recently installed slackware, and noticed that xterm is suid root?
An `xterm' has to perform several operations that require root privileges on start-up. I think they relate to utmp and (depending on your setup) possibly also the allocation of a pty - though, I am not sure. I have seen several solutions to this issue, usually involving patching `xterm' to use an external daemon for these parts of the code. Or you can take my approach, and not use X.

infamous41md 01-18-2004 12:08 PM

i just removed the SUID bit and it works fine


All times are GMT -5. The time now is 03:04 AM.