(pass): chown the ticket file is logging in with clear-text passwords
and using kerberos git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3358 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -876,6 +876,7 @@ pass(char *passwd)
|
||||
rval = krb_verify_user(pw->pw_name, "", realm,
|
||||
passwd, 1, NULL);
|
||||
if (rval == KSUCCESS ){
|
||||
chown (tkt_string(), pw->pw_uid, pw->pw_gid);
|
||||
if(k_hasafs())
|
||||
k_afsklog(0, 0);
|
||||
}else
|
||||
|
Reference in New Issue
Block a user