Searched defs:login (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/cmd/oamuser/user/
H A Disbusy.c44 /* Is this login being used */
46 isbusy(char *login) argument
53 * If login is in the utmp file, and that process
56 if ((strncmp(login, utxptr->ut_user,
H A Dmovedir.c50 move_dir(char *from, char *to, char *login, int flags) argument
53 /* login id of owner */
94 rc = rm_files(from, login, flags);
H A Dgroups.c50 edit_group(char *login, char *new_login, gid_t gids[], int overwrite) argument
159 /* first delete the login from the group, if it's there */
164 if (strcmp(*memptr, login) == 0) {
190 new_login : login)+1;
193 new_login : login;
H A Dproj.c41 edit_project(char *login, char *new_login, projid_t projids[], int overwrite) argument
108 /* first delete the login from the project, if it's there */
113 if (strcmp(*memptr, login) == 0) {
137 new_login : login,
142 new_login : login) + 1;
152 new_login : login;
/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dshircbot.sh84 function login function
114 _.login
/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dvlogin.c46 * validate string given as login name.
49 valid_login(char *login, struct passwd **pptr, int *warning) argument
52 char *ptr = login;
59 if (!login || !*login)
110 if ((t_pptr = getpwnam(login)) != NULL) {
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_cm.c61 * SRP initiator login request.
70 srp_login_req_t login; local
105 * Copy to avoid potential alignment problems, process login
108 bcopy(event->cm_priv_data, &login, sizeof (login));
117 ch = srpt_stp_login(tgt, &login, &login_rsp,
H A Dsrpt_stp.c1361 * srpt_stp_login() - SRP SCSI Target port login
1364 srpt_stp_login(srpt_target_port_t *tgt, srp_login_req_t *login, argument
1378 ASSERT(login != NULL);
1388 BE_IN64(&login->lreq_initiator_port_id[8]));
1390 BE_IN64(&login->lreq_target_port_id[0]));
1392 BE_IN64(&login->lreq_initiator_port_id[0]),
1393 BE_IN64(&login->lreq_initiator_port_id[8]));
1395 BE_IN64(&login->lreq_target_port_id[0]),
1396 BE_IN64(&login->lreq_target_port_id[8]));
1399 srp_login_req_t, login);
[all...]
/illumos-gate/usr/src/cmd/ptools/pcred/
H A Dpcred.c55 static char *login; variable
101 login = optarg;
109 if (login != NULL && (user != NULL || group != NULL || grplst != NULL))
250 "\t%s -l login pid ...\n"
301 if (login != NULL) {
302 pwd = getpwnam(login);
306 command, login);
314 ngrp = _getgroupsbymember(login, groups, (int)ngroups_max, 1);
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dmisc.c25 * login [arg...]
53 struct login struct
62 struct login logdata;
101 register struct login *logp=0;
108 logp = (struct login*)extra;
/illumos-gate/usr/src/cmd/cron/
H A Datrm.c51 char login[UNAMESIZE]; variable
56 #define NAMETOOLONG "login name too long"
95 if (strlcpy(login, pp, sizeof (login)) >= sizeof (login))
100 if (!allowed(login, ATALLOW, ATDENY))
285 if (strlcpy(login, pp, sizeof (login)) >=
286 sizeof (login))
289 cron_sendmsg(DELETE, login, filenam
[all...]
H A Dfuncs.c153 cron_sendmsg(char action, char *login, char *fname, char etype) argument
176 (void) strlcpy(pmsg->logname, login, LLEN);
H A Dcrontab.c68 "because your login shell isn't /usr/bin/sh, you can't use cron."
92 #define NAMETOOLONG "login name too long"
109 static char login[UNAMESIZE]; variable
207 if (strlcpy(login, pp, sizeof (login)) >= sizeof (login))
209 if (!allowed(login, CRONALLOW, CRONDENY))
229 cf = xmalloc(strlen(CRONDIR)+strlen(login)+2);
230 strcat(strcat(strcpy(cf, CRONDIR), "/"), login);
234 cron_sendmsg(DELETE, login, logi
[all...]
H A Dat.c71 #define BADSHELL "because your login shell isn't /usr/bin/sh,"\
161 char *login; local
180 login = getuser(user);
181 if (login == NULL) {
188 if (!allowed(login, ATALLOW, ATDENY))
215 if (inproj(login, pprj->pj_name,
223 login, pprj->pj_name,
234 if (inproj(login, pprj->pj_name,
242 login, pprj->pj_name,
293 return (remove_jobs(argc, argv, login));
740 remove_jobs(int argc, char **argv, char *login) argument
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/
H A Dfcoet_fc.c72 fct_remote_port_t *rp, fct_cmd_t *login);
74 fct_remote_port_t *rp, fct_cmd_t *login);
97 fct_cmd_t *login)
128 if (login->cmd_type == FCT_CMD_SOL_ELS) {
129 ret = fcoet_fill_plogi_req(port, rp, login);
131 ret = fcoet_fill_plogi_resp(port, rp, login);
969 fct_cmd_t *login)
973 p = ((fct_els_t *)login->cmd_specific)->els_req_payload;
1000 fct_cmd_t *login)
1006 p = ((fct_els_t *)login
96 fcoet_register_remote_port(fct_local_port_t *port, fct_remote_port_t *rp, fct_cmd_t *login) argument
968 fcoet_fill_plogi_req(fct_local_port_t *port, fct_remote_port_t *rp, fct_cmd_t *login) argument
999 fcoet_fill_plogi_resp(fct_local_port_t *port, fct_remote_port_t *rp, fct_cmd_t *login) argument
[all...]
/illumos-gate/usr/src/cmd/lp/include/
H A Dprinters.h102 unsigned short login; /* is/isn't a login terminal */ member in struct:PRINTER
132 #define LOG_IN 0x01 /* printer is login terminal */
/illumos-gate/usr/src/cmd/w/
H A Dw.c136 static char *sel_user; /* login of particular user selected */
138 static int login; /* true if invoked as login shell */ variable
191 login = (argv[0][0] == '-');
193 firstchar = login ? argv[0][1] : (cp == 0) ? argv[0][0] : cp[1];
311 "login@ idle JCPU PCPU what\n",
484 /* print login name of the user */
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_fip.c97 "vnic login request");
158 * the vnic login state would be set to EIB_LOGIN_TBL_FAILED.
217 * that was acquired during login has already been posted, the
250 fip_desc_vnic_login_t *login; local
272 "unsupported opcode 0x%x in login ack, ignoring",
278 * The admin qp in the EoIB driver should receive only the login
300 "login ack desc list len (0x%lx) too small "
327 login = &(ack->ak_vnic_login);
328 if (login->vl_type != FIP_DESC_TYPE_VNIC_LOGIN ||
329 login
488 fip_login_t *login; local
[all...]
H A Denx_hdlrs.c689 * If it was a login ack for one of our children, we need to pass
712 * login, so we create the EoIB instance for it.
795 fip_desc_vnic_login_t *login; local
803 * When we get login acknowledgements, we simply invoke the
809 login = &(ack->ak_vnic_login);
810 vnic_id = ntohs(login->vl_vnic_id);
823 ENX_DPRINTF_WARN("no login-ack cookie for (hca_guid=0x%llx, "
/illumos-gate/usr/src/cmd/zlogin/
H A Dzlogin.c29 * zlogin provides three types of login which allow users in the global
32 * - "interactive login" is similar to rlogin(1); for example, the user could
36 * session. In this mode, login(1) (and its -c option, which means
40 * - "non-interactive login" is similar to su(1M); the user could issue
43 * 'su' is used to do the login setup work.
45 * - "console login" is the equivalent to accessing the tip line for a
977 zone_get_user_cmd(brand_handle_t bh, const char *login, char *user_cmd, argument
981 if (brand_get_user_cmd(bh, login, user_cmd, len) != 0)
1030 zone_login_cmd(brand_handle_t bh, const char *login) argument
1036 /* Get the login comman
1102 prep_args(brand_handle_t bh, const char *login, char **argv) argument
1732 char *login = "root"; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c44 * There are three output formats, all of which give login name, teletype
45 * line number, and login time. The short output format is reminiscent
50 * login time. Finally, the long style output give the same information
73 * where 'namelist' is a list of users login names.
108 static char gecos_samename = '&'; /* repeat login name in real name */
121 time_t loginat; /* time of (last) login */
131 char LASTLOG[] = "/var/adm/lastlog"; /* last login info */
186 int matchcmp(char *gname, char *login, char *given);
376 * Handle multiple login names.
398 /* Now get login informatio
1070 matchcmp(char *gname, char *login, char *given) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c358 login(char *host) function
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcrypto.c3688 login(dev_t dev, caddr_t arg, int mode, int *rval) function
3690 STRUCT_DECL(crypto_login, login);
3701 STRUCT_INIT(login, mode);
3704 cmn_err(CE_WARN, "login: failed holding minor");
3708 if (copyin(arg, STRUCT_BUF(login), STRUCT_SIZE(login)) != 0) {
3713 user_type = STRUCT_FGET(login, co_user_type);
3715 pin_len = STRUCT_FGET(login, co_pin_len);
3717 if (get_pin_and_session_ptr(STRUCT_FGETP(login, co_pin),
3718 &pin, pin_len, cm, STRUCT_FGET(login, co_sessio
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt.c99 fct_remote_port_t *rp, fct_cmd_t *login);
3101 cmn_err(CE_WARN, "login for portid %x came in "
3111 cmn_err(CE_WARN, "login for portid %x came in with "
3129 fct_cmd_t *login)
3133 p = ((fct_els_t *)login->cmd_specific)->els_req_payload;
3156 fct_cmd_t *login)
3163 fct_cmd_t *login)
3176 login->cmd_rp_handle, &h);
3183 if (login->cmd_type == FCT_CMD_SOL_ELS) {
3184 ret = qlt_fill_plogi_req(port, rp, login);
3128 qlt_fill_plogi_req(fct_local_port_t *port, fct_remote_port_t *rp, fct_cmd_t *login) argument
3155 qlt_fill_plogi_resp(fct_local_port_t *port, fct_remote_port_t *rp, fct_cmd_t *login) argument
3162 qlt_register_remote_port(fct_local_port_t *port, fct_remote_port_t *rp, fct_cmd_t *login) argument
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c6060 * If an unsolicited cross login already created
6080 " a cross login was accepted"
6111 * login collision happens.
6626 FP_TRACE(FP_NHEAD1(1, 0), "ADISC re-login; "
9848 * login before issuing RNID ioctl or the device would
11111 * (to reset End to End credit to the default login
11701 * Most likely this means a cross login is in
11940 * Most likely this means a cross login is in
11980 * this context if login isn't going to be accepted for the
14036 int login; local
[all...]

Completed in 162 milliseconds

12