Page MenuHomeFreeBSD

D40352.id122667.diff
No OneTemporary

D40352.id122667.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
@@ -601,7 +601,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) {
setlogincontext(lc, pwd, flags);
login_close(lc);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 8, 9:32 PM (14 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28488513
Default Alt Text
D40352.id122667.diff (443 B)

Event Timeline