ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.7.txt
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.7.txt (file contents):
Revision 1.37 by root, Wed Jan 11 05:29:40 2006 UTC vs.
Revision 1.38 by root, Wed Jan 11 19:55:34 2006 UTC

148 148
149 I need to make it setuid/setgid to support utmp/ptys on my OS, is this 149 I need to make it setuid/setgid to support utmp/ptys on my OS, is this
150 safe? 150 safe?
151 Likely not. While I honestly try to make it secure, and am probably 151 Likely not. While I honestly try to make it secure, and am probably
152 not bad at it, I think it is simply unreasonable to expect all of 152 not bad at it, I think it is simply unreasonable to expect all of
153 freetype + fontconfig + xft + xlib + ... + rxvt-unicode itself to 153 freetype + fontconfig + xft + xlib + perl + ... + rxvt-unicode
154 all be secure. Also, rxvt-unicode disables some options when it 154 itself to all be secure. Also, rxvt-unicode disables some options
155 detects that it runs setuid or setgid, which is not nice. 155 when it detects that it runs setuid or setgid, which is not nice.
156 Besides, with the embedded perl interpreter the possibility for
157 security problems easily multiplies.
156 158
157 Elevated privileges are only required for utmp and pty operations on 159 Elevated privileges are only required for utmp and pty operations on
158 some systems (for example, GNU/Linux doesn't need any extra 160 some systems (for example, GNU/Linux doesn't need any extra
159 privileges for ptys, but some need it for utmp support). If 161 privileges for ptys, but some need it for utmp support). It is
160 rxvt-unicode doesn't support the library/setuid helper that your OS 162 planned to mvoe this into a forked handler process, but this is not
161 needs I'll be happy to assist you in implementing support for it. 163 yet done.
162 164
163 So, while setuid/setgid operation is supported and not a problem on 165 So, while setuid/setgid operation is supported and not a problem on
164 your typical single-user-no-other-logins unix desktop, always 166 your typical single-user-no-other-logins unix desktop, always
165 remember that its an awful lot of code, most of which isn't checked 167 remember that its an awful lot of code, most of which isn't checked
166 for security issues regularly. 168 for security issues regularly.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines