Please drop the postinst. It's brittle since it depends on gdm being
configured already without an explicit depends (which we don't want).
Now, you could create the system user if it isn't present, but a suid
binary which other users can't run is still ugly.

The proper way to drop privileges is to call getpwnam(USER) and
setuid(pw.pw_uid) at the start of your program, where USER is "gdm" or
the ./configure option value from config.h.

** Changed in: xsplash (Ubuntu)
       Status: In Progress => Incomplete

-- 
Update to 0.5
https://bugs.launchpad.net/bugs/418974
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to