Page MenuHomeFreeBSD

D40352.1789867341.diff
No OneTemporary

Size
443 B
Referenced Files
None
Subscribers
None

D40352.1789867341.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, Sep 20, 1:22 AM (17 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29804077
Default Alt Text
D40352.1789867341.diff (443 B)

Event Timeline