A simple truss command reveals that xscreensaver opens your DISPLAY with
an euid of 0:

15560:  execve("/usr/openwin/bin/xscreensaver", 0xFFBFEF3C, 0xFFBFEF44)  argc = 
1
15560:      *** SUID: ruid/euid/suid = 21782 / 0 / 0  ***
15560:  access("/home/casper/.Xauthority", R_OK)        = 0
15560:  open("/home/casper/.Xauthority", O_RDONLY)      = 4
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  getuid()                                        = 21782 [0]
15560:  seteuid(21782)                                  = 0


Casper

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to