Page MenuHomeFreeBSD

D40351.id128480.diff
No OneTemporary

D40351.id128480.diff

diff --git a/lib/libutil/login_class.c b/lib/libutil/login_class.c
--- a/lib/libutil/login_class.c
+++ b/lib/libutil/login_class.c
@@ -546,7 +546,7 @@
/*
* Now, we repeat some of the above for the user's private entries
*/
- if (getuid() == uid && (lc = login_getuserclass(pwd)) != NULL) {
+ if (geteuid() == uid && (lc = login_getuserclass(pwd)) != NULL) {
mymask = setlogincontext(lc, pwd, mymask, flags);
login_close(lc);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 8, 1:32 PM (13 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29406861
Default Alt Text
D40351.id128480.diff (460 B)

Event Timeline