/freebsd-10.0-release/contrib/opie/ |
H A D | opieinfo.c | 52 char *login; variable 54 login = getlogin(); 55 if (login == NULL) { 56 fprintf(stderr, "Cannot find login name\n"); 59 return login;
|
/freebsd-10.0-release/libexec/ulog-helper/ |
H A D | ulog-helper.c | 38 * This setuid helper utility writes user login records to disk. 53 const char *login; local 57 * Attempt to determine the username corresponding to this login 63 if ((login = getlogin()) != NULL && (pw = getpwnam(login)) != NULL && 65 return (login); 80 if ((argc == 2 || argc == 3) && strcmp(argv[1], "login") == 0) {
|
/freebsd-10.0-release/usr.sbin/pw/ |
H A D | pw_nis.c | 87 chgnispwent(const char *path, char const * login, struct passwd * pwd) argument 89 return pw_nisupdate(path, pwd, login); 93 delnispwent(const char *path, const char *login) argument 95 return pw_nisupdate(path, NULL, login);
|
H A D | pwupd.c | 170 chgpwent(char const * login, struct passwd * pwd) argument 172 return pw_update(pwd, login); 178 char login[MAXLOGNAME]; local 180 strlcpy(login, pwd->pw_name, MAXLOGNAME); 181 return pw_update(NULL, login);
|
H A D | grupd.c | 115 chggrent(char const * login, struct group * grp) argument 117 return gr_update(grp, login);
|
H A D | pw.h | 113 int delnispwent(const char *path, const char *login); 114 int chgnispwent(const char *path, const char *login, struct passwd *pwd);
|
H A D | pwupd.h | 88 int chgpwent(char const * login, struct passwd * pwd);
|
/freebsd-10.0-release/sys/dev/firewire/ |
H A D | sbp_targ.c | 76 * BASE 0xffff f001 0020 command port for login id 0 77 * BASE 0xffff f001 0040 command port for login id 1 208 struct sbp_targ_login *login; member in struct:orb_info 265 sbp_targ_dealloc_login(struct sbp_targ_login *login) argument 269 if (login == NULL) { 270 printf("%s: login = NULL\n", __func__); 273 for (orbi = STAILQ_FIRST(&login->orbs); orbi != NULL; orbi = next) { 280 callout_stop(&login->hold_callout); 282 STAILQ_REMOVE(&login->lstate->logins, login, sbp_targ_logi 293 struct sbp_targ_login *login; local 313 struct sbp_targ_login *login; local 482 struct sbp_targ_login *login, *next; local 544 sbp_targ_remove_orb_info_locked(struct sbp_targ_login *login, struct orb_info *orbi) argument 550 sbp_targ_remove_orb_info(struct sbp_targ_login *login, struct orb_info *orbi) argument 574 struct sbp_targ_login *login; local 1289 struct sbp_targ_login *login; local 1547 struct sbp_targ_login *login; local 1588 struct sbp_targ_login *login; local 1732 sbp_targ_fetch_orb(struct sbp_targ_softc *sc, struct fw_device *fwdev, uint16_t orb_hi, uint32_t orb_lo, struct sbp_targ_login *login, int mode) argument 1820 struct sbp_targ_login *login; local [all...] |
/freebsd-10.0-release/share/examples/printing/ |
H A D | psdfX | 19 n) login=$OPTARG ;; 27 [ "$login" ] || fail "No login name" 30 ( /u/kelly/freebsd/printing/filters/make-ps-header $login $host "DVI File"
|
/freebsd-10.0-release/usr.sbin/adduser/ |
H A D | rmuser.sh | 52 # rm_files login 53 # Removes files or empty directories belonging to $login from various 58 [ -n $1 ] && login=$1 || return 67 verbose && echo -n "Removing files owned by ($login) in $_dir:" 68 filecount=`find 2>/dev/null "$_dir" -user "$login" -delete -print | 76 # rm_mail login 78 # specified in the $login argument. 82 [ -n $1 ] && login=$1 || return 84 verbose && echo -n "Removing mail spool(s) for ($login):" 85 if [ -f ${MAILSPOOL}/$login ]; the [all...] |
/freebsd-10.0-release/usr.sbin/nscd/agents/ |
H A D | passwd.c | 134 char *login; local 153 login = calloc(1, size); 154 assert(login != NULL); 155 memcpy(login, key + sizeof(enum nss_lookup_type), size - 1); 173 result = getpwnam(login); 174 free(login);
|
/freebsd-10.0-release/crypto/openssl/ssl/ |
H A D | tls_srp.c | 70 OPENSSL_free(ctx->srp_ctx.login); 91 ctx->srp_ctx.login = NULL; 102 OPENSSL_free(s->srp_ctx.login); 123 s->srp_ctx.login = NULL; 137 /* set client Hello login callback */ 152 s->srp_ctx.login = NULL; 176 if ((ctx->srp_ctx.login != NULL) && 177 ((s->srp_ctx.login = BUF_strdup(ctx->srp_ctx.login)) == NULL)) 186 OPENSSL_free(s->srp_ctx.login); [all...] |
/freebsd-10.0-release/usr.bin/write/ |
H A D | write.c | 244 const char *login; local 251 /* Determine our login name before we reopen() stdout */ 252 if ((login = getlogin()) == NULL) { 254 login = pwd->pw_name; 256 login = "???"; 273 login, host, mytty, nows + 11);
|
/freebsd-10.0-release/contrib/apr-util/dbd/ |
H A D | apr_dbd_freetds.c | 542 LOGINREC *login; local 554 login = dblogin(); 555 if (login == NULL) { 558 /* now set login properties */ 578 DBSETLUSER(login, buf); 581 DBSETLPWD(login, buf); 584 DBSETLAPP(login, buf); 590 DBSETLHOST(login, buf); 593 DBSETLCHARSET(login, buf); 596 DBSETLNATLANG(login, bu [all...] |
/freebsd-10.0-release/gnu/usr.bin/rcs/rcs/ |
H A D | rcs.c | 231 char const *login; member in struct:chaccess 349 getchaccess(str_save(AccessList->login),append); 705 getchaccess(login, command) 706 char const *login; 712 pt->login = login; 741 error("missing login name after option -a or -e"); 979 if (!ch->login) { 986 if (strcmp(ch->login, t->login) [all...] |
/freebsd-10.0-release/usr.bin/newgrp/ |
H A D | newgrp.c | 74 int ch, login; local 84 login = 0; 89 login = 1; 114 if (login)
|
/freebsd-10.0-release/crypto/heimdal/appl/ftp/ftp/ |
H A D | extern.h | 89 int login (char *);
|
/freebsd-10.0-release/crypto/openssh/ |
H A D | includes.h | 66 # include <login.h>
|
/freebsd-10.0-release/usr.bin/csup/ |
H A D | auth.c | 73 char *login, *host; local 83 login = getlogin(); 84 proto_printf(s, "USER %s %s\n", login != NULL ? login : "?",
|
/freebsd-10.0-release/usr.bin/id/ |
H A D | id.c | 230 char *login; local 237 if ((login = getlogin()) == NULL) 241 if (pw == NULL || strcmp(login, pw->pw_name)) 242 (void)printf("login\t%s\n", login);
|
/freebsd-10.0-release/usr.sbin/iscsid/ |
H A D | iscsid.h | 101 void login(struct connection *ic);
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | datalink.h | 64 unsigned packetmode : 1; /* Go into packet mode after login ? */ 70 char login[SCRIPT_LEN]; member in struct:datalink::__anon11681::__anon11682
|
/freebsd-10.0-release/gnu/usr.bin/rcs/rlog/ |
H A D | rlog.c | 161 char const * login; /* lockerlist */ member in struct:rcslockers 170 struct authors { /* login names in author option; */ 171 char const * login; /* stored in authorlist */ member in struct:authors 413 aprintf(out, symbolFormat, currlock->login, 423 aprintf(out, accessFormat, curaccess->login); 751 /* function : get the login names of lockers from command line */ 768 newlocker->login = argv; 796 authorlist->login = getusername(false); 804 newauthor->login = argv; 866 if (strcmp(plocker->login, [all...] |
/freebsd-10.0-release/gnu/usr.bin/rcs/lib/ |
H A D | rcssyn.c | 269 newaccess->login = id; 303 newlock->login=id; 453 currlock->delta->lockedby = currlock->login;
|
/freebsd-10.0-release/crypto/heimdal/appl/su/ |
H A D | su.c | 87 "simulate full login" }, 105 "[login [shell arguments]]"); 290 verify_unix(struct passwd *login, struct passwd *su) argument 305 login->pw_name, su->pw_name); 316 int gs = group_member_p(ROOT_GROUP, login->pw_name); 319 login->pw_name, su->pw_name, ROOT_GROUP); 368 errx (1, "unknown login %s", su_user); 371 errx (1, "unknown login %s", su_user);
|