Mailinglist Archive: opensuse (1587 mails)
| < Previous | Next > |
[SuSE Linux] Re: shadow passwords and kde screensavers
- From: stefan.troeger@xxxxxxxxxxxxxxxxxxxxxxxxx (Stefan Troeger)
- Date: Sun, 22 Nov 1998 21:39:53 +0100
- Message-id: <19981122213953.A1045@xxxxxxxxxxxxxxxxxxxxxx>
Hi,
On Sun, Nov 22, 1998 at 20:36 +0000, Ole Kofoed Hansen wrote:
> OK, thats how to set uid on the screensaver. Next question: WHY?
> Why would a screensaver need to run as root?
The KDE screensavers can do screen locking. And if you want to
unlock your screen you have to give your password. Now the
screensaver encrypts the given password and compares it with
your encrypted password from /etc/shadow. If the two passwords
match the screen gets unlocked.
[sttr]/home/sttr> ls -l /etc/shadow
-rw-r----- 1 root shadow 695 Oct 12 18:57 /etc/shadow
As you can see /etc/shadow isn't readable for normal users (for
security reasons). That's why the suid bit is needed.
Ciao,
Stefan
-
To get out of this list, please send email to majordomo@xxxxxxxx with
this text in its body: unsubscribe suse-linux-e
| < Previous | Next > |