Return to su.c CVS log | Up to [local] / src / usr.bin / su |
version 1.38, 2001/05/31 18:41:16 | version 1.39, 2001/06/25 16:18:38 | ||
---|---|---|---|
|
|
||
if ((as = auth_open()) == NULL) { | if ((as = auth_open()) == NULL) { | ||
syslog(LOG_ERR, "auth_open: %m"); | syslog(LOG_ERR, "auth_open: %m"); | ||
err(1, "unable to begin authentication"); | err(1, "unable to initialize BSD authentication"); | ||
} | } | ||
auth_setoption(as, "login", "yes"); | |||
/* get current login name and shell */ | /* get current login name and shell */ | ||
ruid = getuid(); | ruid = getuid(); |