Return to su.c CVS log | Up to [local] / src / usr.bin / su |
version 1.48, 2002/11/08 23:20:19 | version 1.49, 2002/12/07 22:54:13 | ||
---|---|---|---|
|
|
||
/* style may be specified as part of the username */ | /* style may be specified as part of the username */ | ||
if ((p = strchr(user, ':')) != NULL) { | if ((p = strchr(user, ':')) != NULL) { | ||
*p++ = '\0'; | *p++ = '\0'; | ||
style = p; | style = p; /* XXX overrides -a flag */ | ||
} else | } | ||
style = NULL; /* XXX overrides -a flag */ | |||
/* | /* | ||
* Clean and setup our current authentication session. | * Clean and setup our current authentication session. |