Page MenuHomeFreeBSD

D40351.id.diff
No OneTemporary

D40351.id.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
Fri, Feb 13, 3:37 PM (8 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28678068
Default Alt Text
D40351.id.diff (460 B)

Event Timeline