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

123

/freebsd-11-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-11-stable/contrib/opie/
H A Dopieinfo.c53 char *login; variable
55 login = getlogin();
56 if (login == NULL) {
57 fprintf(stderr, "Cannot find login name\n");
60 return login;
/freebsd-11-stable/usr.sbin/pw/
H A Dpw_nis.c92 chgnispwent(const char *path, char const * login, struct passwd * pwd) argument
94 return pw_nisupdate(path, pwd, login);
98 delnispwent(const char *path, const char *login) argument
100 return pw_nisupdate(path, NULL, login);
H A Dgrupd.c101 chggrent(char const * login, struct group * grp) argument
103 return gr_update(grp, login);
H A Dpwupd.c143 chgpwent(char const * login, struct passwd * pwd) argument
146 return (pw_update(pwd, login));
H A Dpw.h97 int delnispwent(const char *path, const char *login);
98 int chgnispwent(const char *path, const char *login, struct passwd *pwd);
/freebsd-11-stable/sys/dev/firewire/
H A Dsbp_targ.c73 * BASE 0xffff f001 0020 command port for login id 0
74 * BASE 0xffff f001 0040 command port for login id 1
205 struct sbp_targ_login *login; member in struct:orb_info
262 sbp_targ_dealloc_login(struct sbp_targ_login *login) argument
266 if (login == NULL) {
267 printf("%s: login = NULL\n", __func__);
270 for (orbi = STAILQ_FIRST(&login->orbs); orbi != NULL; orbi = next) {
277 callout_stop(&login->hold_callout);
279 STAILQ_REMOVE(&login->lstate->logins, login, sbp_targ_logi
290 struct sbp_targ_login *login; local
310 struct sbp_targ_login *login; local
475 struct sbp_targ_login *login, *next; local
537 sbp_targ_remove_orb_info_locked(struct sbp_targ_login *login, struct orb_info *orbi) argument
543 sbp_targ_remove_orb_info(struct sbp_targ_login *login, struct orb_info *orbi) argument
567 struct sbp_targ_login *login; local
1278 struct sbp_targ_login *login; local
1533 struct sbp_targ_login *login; local
1574 struct sbp_targ_login *login; local
1718 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
1806 struct sbp_targ_login *login; local
[all...]
/freebsd-11-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-11-stable/usr.sbin/adduser/
H A Drmuser.sh54 # rm_files login
55 # Removes files or empty directories belonging to $login from various
60 [ -n $1 ] && login=$1 || return
69 verbose && echo -n "Removing files owned by ($login) in $_dir:"
70 filecount=`find 2>/dev/null "$_dir" -user "$login" -delete -print |
78 # rm_mail login
80 # specified in the $login argument.
84 [ -n $1 ] && login=$1 || return
86 verbose && echo -n "Removing mail spool(s) for ($login):"
87 if [ -f ${MAILSPOOL}/$login ]; the
[all...]
/freebsd-11-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-11-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-11-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-11-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-11-stable/contrib/apr-util/dbd/unsupported/
H A Dapr_dbd_freetds.c544 LOGINREC *login; local
556 login = dblogin();
557 if (login == NULL) {
560 /* now set login properties */
580 DBSETLUSER(login, buf);
583 DBSETLPWD(login, buf);
586 DBSETLAPP(login, buf);
592 DBSETLHOST(login, buf);
595 DBSETLCHARSET(login, buf);
598 DBSETLNATLANG(login, bu
[all...]
/freebsd-11-stable/lib/libcasper/services/cap_pwd/
H A Dcap_pwd.h36 struct passwd *cap_getpwnam(cap_channel_t *chan, const char *login);
/freebsd-11-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-11-stable/usr.bin/newgrp/
H A Dnewgrp.c75 int ch, login; local
85 login = 0;
90 login = 1;
115 if (login)
/freebsd-11-stable/contrib/dma/
H A Dnet.c250 smtp_login(int fd, char *login, char* password) argument
255 res = smtp_auth_md5(fd, login, password);
260 * If the return code is -2, then then the login attempt failed,
261 * do not try other login mechanisms
272 " AUTH login not available: %s",
277 len = base64_encode(login, strlen(login), &temp);
288 syslog(LOG_NOTICE, "remote delivery %s: AUTH login failed: %s",
306 syslog(LOG_WARNING, "non-encrypted SMTP login is disabled in config, so skipping it. ");
422 * Check if the user wants plain text login withou
[all...]
H A Dconf.c127 au->login = strsep(&data, "|");
131 if (au->login == NULL ||
H A Dcrypto.c257 smtp_auth_md5(int fd, char *login, char *password) argument
293 snprintf(buffer, BUF_SIZE, "%s %s", login, ascii_digest);
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/
H A Dextern.h89 int login (char *);
/freebsd-11-stable/crypto/openssh/
H A Dincludes.h61 # include <login.h>
/freebsd-11-stable/usr.bin/id/
H A Did.c231 char *login; local
238 if ((login = getlogin()) == NULL)
242 if (pw == NULL || strcmp(login, pw->pw_name))
243 (void)printf("login\t%s\n", login);
/freebsd-11-stable/usr.sbin/ppp/
H A Ddatalink.h66 unsigned packetmode : 1; /* Go into packet mode after login ? */
72 char login[SCRIPT_LEN]; member in struct:datalink::__anon8847::__anon8848
/freebsd-11-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...]

Completed in 194 milliseconds

123