[dev] Possible improvement on slock - suid

From: patrick295767 patrick295767 <patrick295767_AT_gmail.com>
Date: Wed, 13 Nov 2013 21:32:44 +0100

Hi,

Slock is a nice application. However I would go on simpler
even to avoid the suid/sgid check.

In my opinion, it could/should stick to a minimum.


/ramdisk/slock-1.1$ make
slock build options:
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include
-I/usr/X11R6/include -DVERSION="1.1" -DHAVE_SHADOW_H -DCOLOR1="black"
-DCOLOR2="#005577"
LDFLAGS = -s -L/usr/lib -lc -lcrypt -L/usr/X11R6/lib -lX11 -lXext
CC = cc
CC slock.c
CC -o slock

/ramdisk/slock-1.1$ ./slock
slock: cannot retrieve shadow entry (make sure to suid or sgid slock)

Best Regards,
Patrick
Received on Wed Nov 13 2013 - 21:32:44 CET

This archive was generated by hypermail 2.3.0 : Wed Nov 13 2013 - 21:36:07 CET