Searched refs:login (Results 1 - 25 of 39) 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 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;
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;
/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/lib/sasl_plugins/login/
H A Dlogin_init.c41 SASL_CLIENT_PLUG_INIT( login )
42 SASL_SERVER_PLUG_INIT( login )
/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 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...]
H A Dfuncs.c153 cron_sendmsg(char action, char *login, char *fname, char etype) argument
176 (void) strlcpy(pmsg->logname, login, LLEN);
/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/cmd/lp/lib/printers/
H A Dllib-llpprt49 unsigned short login; /* is/isn't a login terminal */
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
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...]
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.h53 srp_login_req_t *login, srp_login_rsp_t *login_rsp,
/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...]
/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/
H A Dfcoet_fc.h39 fct_remote_port_t *rp, fct_cmd_t *login);
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/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/lib/libshell/common/data/
H A Dbuiltins.c54 "login", NV_BLTIN|BLT_ENV|BLT_SPC, Bltin(login),
74 "newgrp", NV_BLTIN|BLT_ENV|BLT_SPC, Bltin(login),
856 "the current shell terminates a login session.]"
926 "to its command does not change during a login session. When the "
1366 "[l?Invoke the shell as a login shell; \b/etc/profile\b and \b$HOME/.profile\b, "
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_printer.c370 prbufp->login = 0;
481 prbufp->login = 0;
495 prbufp->login = 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/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/lib/libresolv2/include/
H A Dport_after.h365 __posix_getpwnam_r(const char *login, struct passwd *pwptr,
371 getpwnam_r(const char *login, struct passwd *pwptr,

Completed in 107 milliseconds

12