Searched refs:login (Results 1 - 25 of 60) sorted by relevance

123

/freebsd-10-stable/contrib/opie/
H A Dopieinfo.c52 char *login; variable
54 login = getlogin();
55 if (login == NULL) {
56 fprintf(stderr, "Cannot find login name\n");
59 return login;
/freebsd-10-stable/libexec/ulog-helper/
H A Dulog-helper.c38 * 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-stable/usr.sbin/pw/
H A Dpw_nis.c90 chgnispwent(const char *path, char const * login, struct passwd * pwd) argument
92 return pw_nisupdate(path, pwd, login);
96 delnispwent(const char *path, const char *login) argument
98 return pw_nisupdate(path, NULL, login);
H A Dgrupd.c99 chggrent(char const * login, struct group * grp) argument
101 return gr_update(grp, login);
H A Dpwupd.c141 chgpwent(char const * login, struct passwd * pwd) argument
144 return (pw_update(pwd, login));
H A Dpw.h95 int delnispwent(const char *path, const char *login);
96 int chgnispwent(const char *path, const char *login, struct passwd *pwd);
H A Dpwupd.h125 int chgpwent(char const * login, struct passwd * pwd);
/freebsd-10-stable/sys/dev/firewire/
H A Dsbp_targ.c76 * 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
1548 struct sbp_targ_login *login; local
1589 struct sbp_targ_login *login; local
1733 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
1821 struct sbp_targ_login *login; local
[all...]
/freebsd-10-stable/share/examples/printing/
H A DpsdfX19 n) login=$OPTARG ;;
27 [ "$login" ] || fail "No login name"
30 ( /u/kelly/freebsd/printing/filters/make-ps-header $login $host "DVI File"
/freebsd-10-stable/usr.sbin/adduser/
H A Drmuser.sh52 # 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-stable/contrib/netbsd-tests/usr.bin/id/
H A Dpwgr.c150 getpwnam(const char *login) argument
155 if (strcmp(login, "root") == 0) {
159 } else if (strcmp(login, "test") == 0) {
/freebsd-10-stable/usr.sbin/nscd/agents/
H A Dpasswd.c134 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-stable/crypto/openssl/ssl/
H A Dtls_srp.c71 OPENSSL_free(ctx->srp_ctx.login);
92 ctx->srp_ctx.login = NULL;
103 OPENSSL_free(s->srp_ctx.login);
124 s->srp_ctx.login = NULL;
138 /* set client Hello login callback */
156 s->srp_ctx.login = NULL;
179 if ((ctx->srp_ctx.login != NULL) &&
180 ((s->srp_ctx.login = BUF_strdup(ctx->srp_ctx.login)) == NULL)) {
188 OPENSSL_free(s->srp_ctx.login);
[all...]
/freebsd-10-stable/usr.bin/write/
H A Dwrite.c244 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-stable/contrib/apr-util/dbd/
H A Dapr_dbd_freetds.c542 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-stable/gnu/usr.bin/rcs/rcs/
H A Drcs.c231 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-stable/usr.bin/newgrp/
H A Dnewgrp.c74 int ch, login; local
84 login = 0;
89 login = 1;
114 if (login)
/freebsd-10-stable/crypto/heimdal/appl/ftp/ftp/
H A Dextern.h89 int login (char *);
/freebsd-10-stable/usr.bin/csup/
H A Dauth.c73 char *login, *host; local
83 login = getlogin();
84 proto_printf(s, "USER %s %s\n", login != NULL ? login : "?",
/freebsd-10-stable/usr.bin/id/
H A Did.c230 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-stable/usr.sbin/ppp/
H A Ddatalink.h64 unsigned packetmode : 1; /* Go into packet mode after login ? */
70 char login[SCRIPT_LEN]; member in struct:datalink::__anon12195::__anon12196
/freebsd-10-stable/crypto/openssh/
H A Dincludes.h61 # include <login.h>
/freebsd-10-stable/gnu/usr.bin/rcs/rlog/
H A Drlog.c161 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-stable/gnu/usr.bin/rcs/lib/
H A Drcssyn.c269 newaccess->login = id;
303 newlock->login=id;
453 currlock->delta->lockedby = currlock->login;
/freebsd-10-stable/crypto/heimdal/appl/su/
H A Dsu.c87 "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);

Completed in 151 milliseconds

123