x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@254 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -584,7 +584,14 @@ GetPasswd(Widget w, XEvent *_event, String *_s, Cardinal *_n)
|
||||
&& geteuid() != 0
|
||||
&& (time(0) - locked_at) > ALLOW_LOGOUT
|
||||
&& strncmp(passwd, LOGOUT_PASSWD, sizeof(LOGOUT_PASSWD)) == 0)
|
||||
kill(-1, SIGHUP);
|
||||
{
|
||||
signal(SIGHUP, SIG_IGN);
|
||||
kill(-1, SIGHUP);
|
||||
sleep(5);
|
||||
/* If the X-server shut down then so will we, else
|
||||
* continue */
|
||||
signal(SIGHUP, SIG_DFL);
|
||||
}
|
||||
#ifdef KERBEROS
|
||||
/*
|
||||
* Try to verify as user with kerberos.
|
||||
|
Reference in New Issue
Block a user