Home
last modified time | relevance | path

Searched refs:homedir (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/libexec/nuageinit/
H A Dnuage.lua101 if not pwd.homedir then
102 pwd.homedir = "/home/" .. pwd.name
136 cmd = cmd .. "' -d '" .. pwd.homedir .. "' -s " .. pwd.shell .. postcmd
156 return pwd.homedir
194 local function addsshkey(homedir, key)
199 homedir = root .. "/" .. homedir
201 local ak_path = homedir .. "/.ssh/authorized_keys"
202 local dotssh_path = homedir .. "/.ssh"
210 dirattrs = lfs.attributes(homedir)
H A Dnuageinit19 homedir = "/home/freebsd",
174 local homedir = nuage.adduser(default_user)
176 nuage.addsshkey(homedir, v)
256 local homedir = nuage.adduser(u)
259 nuage.addsshkey(homedir, v)
272 local homedir = nuage.adduser(default_user)
274 nuage.addsshkey(homedir, k)
/freebsd/usr.bin/mail/
H A Dtemp.c76 homedir = NULL; in tinit()
78 homedir = savestr(cp); in tinit()
81 homedir ? homedir : "NONE"); in tinit()
H A Dfio.c358 if (name[0] == '~' && homedir != NULL && in expand()
360 (void)snprintf(xname, sizeof(xname), "%s%s", homedir, name + 1); in expand()
424 homedir ? homedir : ".", folder); in getfold()
H A Dglob.h54 extern char *homedir; /* Path name of home directory */
H A Dmain.c58 char *homedir; variable
H A Dcmd3.c166 if (homedir == NULL) in schdir()
168 cp = homedir; in schdir()
/freebsd/libexec/bootpd/
H A Dbootpd.c627 char *homedir, *bootfile; in handle_request() local
844 homedir = NULL; in handle_request()
847 homedir = bp->bp_file; in handle_request()
848 bootfile = strrchr(homedir, '/'); in handle_request()
850 if (homedir == bootfile) in handle_request()
851 homedir = NULL; in handle_request()
855 bootfile = homedir; in handle_request()
856 homedir = NULL; in handle_request()
860 (homedir) ? homedir : "", in handle_request()
868 if (hp->flags.homedir) in handle_request()
[all …]
H A Dbootpd.h103 homedir :1, member
171 *homedir, member
H A Ddumptab.c167 if (hp->flags.homedir) { in dump_host()
168 fprintf(fp, "\\\n\t:hd=%s:", hp->homedir->string); in dump_host()
H A Dreadfile.c889 PARSE_STR(homedir); in eval_symbol()
1423 DUP_LINK(homedir); in fill_defaults()
1886 del_string(hostptr->homedir); in free_host()
/freebsd/crypto/heimdal/lib/kafs/
H A Dcommon.c215 const char *homedir) in afslog_cells() argument
220 int er = (*data->afslog_uid)(data, cells[i], 0, uid, homedir); in afslog_cells()
229 uid_t uid, const char *homedir) in _kafs_afslog_all_local_cells() argument
235 if (homedir == NULL) in _kafs_afslog_all_local_cells()
236 homedir = getenv("HOME"); in _kafs_afslog_all_local_cells()
237 if (homedir != NULL) { in _kafs_afslog_all_local_cells()
239 snprintf(home, sizeof(home), "%s/.TheseCells", homedir); in _kafs_afslog_all_local_cells()
255 ret = afslog_cells(data, cells, idx, uid, homedir); in _kafs_afslog_all_local_cells()
H A Dkafs.h113 const char *homedir);
115 const char *homedir);
168 const char *homedir);
174 const char *homedir);
H A Dafskrb5.c208 uid_t uid, const char *homedir) in afslog_uid_int() argument
217 return _kafs_afslog_all_local_cells (data, uid, homedir); in afslog_uid_int()
255 const char *homedir) in krb5_afslog_uid_home() argument
281 ret = afslog_uid_int(&kd, cell, 0, uid, homedir); in krb5_afslog_uid_home()
314 const char *homedir) in krb5_afslog_home() argument
316 return krb5_afslog_uid_home (context, id, cell, realm, getuid(), homedir); in krb5_afslog_home()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBHostOS.cpp90 FileSpec homedir; in GetUserHomeDirectory() local
91 FileSystem::Instance().GetHomeDirectory(homedir); in GetUserHomeDirectory()
92 FileSystem::Instance().Resolve(homedir); in GetUserHomeDirectory()
95 sb_fspec.SetFileSpec(homedir); in GetUserHomeDirectory()
/freebsd/usr.sbin/cron/cron/
H A Ddo_command.c90 const char *homedir = NULL; in child_process() local
276 homedir = strdup(pwd->pw_dir); in child_process()
277 if (homedir == NULL) { in child_process()
337 else if (homedir != NULL) in child_process()
338 chdir(homedir); in child_process()
367 if (homedir != NULL in child_process()
368 && setenv("HOME", homedir, 0) < 0) { in child_process()
/freebsd/crypto/openssh/regress/
H A Dcheck-perm.c97 char buf[PATH_MAX], homedir[PATH_MAX]; in auth_secure_path() local
107 if (pw_dir != NULL && realpath(pw_dir, homedir) != NULL) in auth_secure_path()
138 if (comparehome && strcmp(homedir, buf) == 0) in auth_secure_path()
/freebsd/crypto/openssh/
H A Dsshconnect.h43 char *homedir; member
62 "d", conn_info->homedir, \
H A Dsftp-server.c1907 char *cp, *homedir = NULL, uidstr[32], buf[4*4096]; in sftp_server_main() local
1959 homedir = percent_expand(cp, "d", user_pw->pw_dir, in sftp_server_main()
2027 if (homedir != NULL) { in sftp_server_main()
2028 if (chdir(homedir) != 0) { in sftp_server_main()
2029 error("chdir to \"%s\" failed: %s", homedir, in sftp_server_main()
/freebsd/crypto/heimdal/appl/ftp/ftp/
H A Dmain.c92 char homedir[MaxPathLen]; in main() local
140 strlcpy(homedir, pw->pw_dir, sizeof(homedir)); in main()
141 home = homedir; in main()
/freebsd/usr.sbin/pw/
H A Dpw_user.c77 static char *pw_homepolicy(struct userconf * cnf, char *homedir,
407 pw_homepolicy(struct userconf * cnf, char *homedir, const char *user) in pw_homepolicy() argument
411 if (homedir) in pw_homepolicy()
412 return (homedir); in pw_homepolicy()
1184 char *gecos, *homedir, *skel, *walk, *userid, *groupid, *grname; in pw_user_add() local
1197 gecos = homedir = skel = userid = groupid = default_passwd = NULL; in pw_user_add()
1231 homedir = optarg; in pw_user_add()
1394 pwd->pw_dir = pw_homepolicy(cmdcnf, homedir, pwd->pw_name); in pw_user_add()
1519 char *gecos, *homedir, *grname, *name, *newname, *walk, *skel, *shell; in pw_user_mod() local
1532 gecos = homedir = grname = name = newname = skel = shell =NULL; in pw_user_mod()
[all …]
/freebsd/sys/contrib/openzfs/contrib/pam_zfs_key/
H A Dpam_zfs_key.c437 char *homedir; member
485 config->homedir = NULL; in zfs_key_config_load()
504 if (config->homedir == NULL) in zfs_key_config_load()
505 config->homedir = strdup(entry->pw_dir); in zfs_key_config_load()
516 free(config->homedir); in zfs_key_config_free()
536 if (strcmp(target->homedir, mountpoint) != 0) { in find_dsname_by_prop_value()
553 if (config->homedir != NULL && in zfs_key_config_get_dataset()
/freebsd/release/tools/
H A Dec2-cloud-init.conf26 homedir: /home/ec2-user
/freebsd/libexec/ftpd/
H A Dextern.h76 extern char *homedir;
H A Dftpd.c101 char *homedir; variable
1513 if ((homedir = strstr(chrootdir, "/./")) != NULL) { in pass()
1514 *(homedir++) = '\0'; /* wipe '/' */ in pass()
1515 homedir++; /* skip '.' */ in pass()
1522 homedir = "/"; in pass()
1533 homedir = pw->pw_dir; in pass()
1553 if (chdir(homedir) < 0) { in pass()

12