| /src/lib/libutil/compat/ |
| compat_login.c | 35 static char sccsid[] = "@(#)login.c 8.1 (Berkeley) 6/4/93"; 56 __warn_references(login, 57 "warning: reference to compatibility login(); include <util.h> to generate correct reference") 60 login(const struct utmp50 *ut50) function
|
| util.h | 47 void login(const struct utmp50 *);
|
| /src/tests/usr.bin/id/ |
| pwgr.c | 45 char Login[16]; 82 strcpy(Login, "test"); 83 return Login; 150 getpwnam(const char *login) 155 if (strcmp(login, "root") == 0) { 159 } else if (strcmp(login, "test") == 0) {
|
| /src/distrib/utils/libhack/ |
| utmp.c | 14 login(ut) function
|
| /src/lib/libutil/ |
| login.c | 1 /* $NetBSD: login.c,v 1.16 2003/08/07 16:44:58 agc Exp $ */ 35 static char sccsid[] = "@(#)login.c 8.1 (Berkeley) 6/4/93"; 37 __RCSID("$NetBSD: login.c,v 1.16 2003/08/07 16:44:58 agc Exp $"); 53 login(const struct utmp *ut) function
|
| /src/usr.bin/write/ |
| write.c | 218 const char *login; local 224 /* Determine our login name before we re-open stdout */ 225 if ((login = getlogin()) == NULL) { 227 login = pwd->pw_name; 228 else login = "???"; 247 login, host, mytty, nows + 11);
|
| /src/bin/sh/ |
| option.list | 64 loginsh login l # a login shell
|
| /src/lib/librmt/ |
| rmtlib.c | 210 * application designer be willing to have rexec prompt for login and 255 char login[BUFMAGIC]; local 263 user = login; 295 (void)strlcpy(user, host, sizeof(login)); 325 READ(i) = WRITE(i) = _rmt_rexec(host, login); 357 if (*login) { 358 execl(rshpath, rsh, host, "-l", login, _PATH_RMT, NULL);
|
| /src/usr.bin/id/ |
| id.c | 181 char *login; local 188 if ((login = getlogin()) == NULL) 192 if (pw == NULL || strcmp(login, pw->pw_name)) 193 (void)printf("login\t%s\n", login);
|
| /src/usr.bin/finger/ |
| util.c | 114 /* Ampersands get replaced by the login name. */ 128 expandusername(const char *gecos, const char *login, char *buf, int buflen) 141 /* buffer overflow - just use login name */ 142 snprintf(buf, buflen, "%s", login); 148 snprintf(bp, buflen - (bp - buf), "%s", login); 208 /* if last login is earlier than some current login */ 215 * discrepancy since login calls time() twice 412 /* ampersands get replaced by the login name */
|
| /src/sbin/iscsictl/ |
| iscsic_globals.h | 165 int login(int, char **);
|
| iscsic_main.c | 67 {"login", login}, 97 {ISCSI_STATUS_LOGIN_FAILED, "The login failed"},
|
| iscsic_daemonif.c | 793 * Common routine for login and add_connection. Handles the actual command, 794 * the only pre-initialized component is the session ID in the login request 797 * Parameters: the login request, plus argc & argv 886 * login: 887 * Handle login command. 895 login(int argc, char **argv) function
|
| /src/sys/kern/ |
| kern_prot.c | 585 * Get login name, if available. 596 char login[sizeof(p->p_session->s_login)]; local 599 if (namelen > sizeof(login)) 600 namelen = sizeof(login); 602 memcpy(login, p->p_session->s_login, namelen); 604 return (copyout(login, (void *)SCARG(uap, namebuf), namelen)); 608 * Set login name.
|
| /src/include/ |
| util.h | 98 void login(const struct utmp *) __RENAME(__login50);
|
| /src/lib/libpam/modules/pam_lastlog/ |
| pam_lastlog.c | 262 "Last login: %.24s %son %.*s\n", ctime(&t), host, (int)lsize, line); 329 PAM_LOG("Login recorded in %s", _PATH_LASTLOGX); 346 login(&utmp); 383 PAM_LOG("Login recorded in %s", _PATH_LASTLOG);
|
| /src/usr.bin/login/ |
| common.c | 72 * This bounds the time given to login. Not a define so it can 101 (void)printf("login: "); 113 "login names may not start with '-'.\n"); 162 (void)fprintf(stderr, "Login timed out after %d seconds\n", timeout); 186 "login %s on tty %s address mismatch " 202 /* If fflag is on, assume caller/authenticator has logged root login. */ 205 syslog(LOG_NOTICE, "ROOT LOGIN (%s) on tty %s from %s /" 208 syslog(LOG_NOTICE, "ROOT LOGIN (%s) on tty %s", 274 (void)printf("Last login: %.24s ", ctime(&t)); 310 login(&utmp) [all...] |
| /src/sys/dev/ieee1394/ |
| sbp.c | 138 /* sbp auto login flag */ 141 "auto_login", SYSCTL_DESCR("SBP perform login automatically"), 154 /* sbp exclusive login flag */ 157 "exclusive_login", SYSCTL_DESCR("SBP enable exclusive login"), 162 /* sbp login delay */ 165 "login_delay", SYSCTL_DESCR("SBP login delay in msec"), 274 #define SBP_DEV_RESET 0 /* accept login */ 275 #define SBP_DEV_LOGIN 1 /* to login */ 300 struct sbp_login_res *login; member in struct:sbp_dev 416 /* A */ "Login ID not recognized" [all...] |
| /src/sys/dev/iscsi/ |
| iscsi_ioctl.c | 330 * Get the file pointer from the socket handle passed into login. 363 * Release the file pointer from the socket handle passed into login. 707 * par IN/OUT: The login parameters 853 DEBC(conn, 0, ("Login failed (rc %d)\n", rc)); 886 * par IN/OUT: The login parameters 965 DEBC(conn, 0, ("Re-Login failed (rc %d)\n", rc)); 976 DEBC(conn, 9, ("Re-Login successful\n")); 1028 * Check the parameters passed into login/add_connection 1032 * par The login parameters 1082 DEBOUT(("Target name missing, login type %d\n", par->login_type)) 1110 login(iscsi_login_parameters_t *par, struct lwp *l, device_t dev) function [all...] |