Page MenuHomeFreeBSD

D40351.1788371749.diff
No OneTemporary

Size
443 B
Referenced Files
None
Subscribers
None

D40351.1788371749.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
Wed, Sep 2, 5:55 PM (6 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29503849
Default Alt Text
D40351.1788371749.diff (443 B)

Event Timeline