Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102707847
D46095.id141838.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
395 B
Referenced Files
None
Subscribers
None
D46095.id141838.diff
View Options
diff --git a/usr.bin/calendar/calendar.c b/usr.bin/calendar/calendar.c
--- a/usr.bin/calendar/calendar.c
+++ b/usr.bin/calendar/calendar.c
@@ -211,7 +211,7 @@
lc = login_getpwclass(pw);
if (setusercontext(lc, pw, pw->pw_uid,
- LOGIN_SETALL) != 0)
+ LOGIN_SETALL & ~LOGIN_SETLOGIN) != 0)
errx(1, "setusercontext");
setenv("HOME", pw->pw_dir, 1);
cal();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 4:00 AM (11 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14669916
Default Alt Text
D46095.id141838.diff (395 B)
Attached To
Mode
D46095: calendar: don't setlogin(2) in the -a user handlers
Attached
Detach File
Event Timeline
Log In to Comment