Searched refs:homedir (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-current/usr.bin/mail/
H A Dtemp.c76 homedir = NULL;
78 homedir = savestr(cp);
80 printf("user = %s, homedir = %s\n", myname,
81 homedir ? homedir : "NONE");
H A Dglob.h54 extern char *homedir; /* Path name of home directory */
H A Dfio.c358 if (name[0] == '~' && homedir != NULL &&
360 (void)snprintf(xname, sizeof(xname), "%s%s", homedir, name + 1);
424 homedir ? homedir : ".", folder);
H A Dmain.c58 char *homedir; variable
H A Dcmd3.c166 if (homedir == NULL)
168 cp = homedir;
/freebsd-current/contrib/llvm-project/lldb/source/API/
H A DSBHostOS.cpp90 FileSpec homedir; local
91 FileSystem::Instance().GetHomeDirectory(homedir);
92 FileSystem::Instance().Resolve(homedir);
95 sb_fspec.SetFileSpec(homedir);
/freebsd-current/libexec/bootpd/
H A Dbootpd.h103 homedir :1, member in struct:flag
172 *homedir,
171 *homedir, member in struct:host
H A Dbootpd.c631 char *homedir, *bootfile;
846 * Determine client's requested homedir and bootfile.
848 homedir = NULL;
851 homedir = bp->bp_file;
852 bootfile = strrchr(homedir, '/');
854 if (homedir == bootfile)
855 homedir = NULL;
859 bootfile = homedir;
860 homedir = NULL;
864 (homedir)
627 char *homedir, *bootfile; local
[all...]
H A Ddumptab.c168 if (hp->flags.homedir) {
169 fprintf(fp, "\\\n\t:hd=%s:", hp->homedir->string);
H A Dreadfile.c895 PARSE_STR(homedir);
1435 DUP_LINK(homedir);
1906 del_string(hostptr->homedir);
/freebsd-current/crypto/openssh/
H A Dsshconnect.h43 char *homedir; member in struct:ssh_conn_info
62 "d", conn_info->homedir, \
H A Dsftp-server.c1572 /* Special-case for "~" and "~/" to respect homedir flag */
1907 char *cp, *homedir = NULL, uidstr[32], buf[4*4096]; local
1959 homedir = percent_expand(cp, "d", user_pw->pw_dir,
2027 if (homedir != NULL) {
2028 if (chdir(homedir) != 0) {
2029 error("chdir to \"%s\" failed: %s", homedir,
/freebsd-current/release/tools/
H A Dec2-cloud-init.conf26 homedir: /home/ec2-user
/freebsd-current/crypto/heimdal/lib/kafs/
H A Dkafs.h113 const char *homedir);
115 const char *homedir);
168 const char *homedir);
174 const char *homedir);
H A Dcommon.c215 const char *homedir)
220 int er = (*data->afslog_uid)(data, cells[i], 0, uid, homedir);
229 uid_t uid, const char *homedir)
235 if (homedir == NULL)
236 homedir = getenv("HOME");
237 if (homedir != NULL) {
239 snprintf(home, sizeof(home), "%s/.TheseCells", homedir);
255 ret = afslog_cells(data, cells, idx, uid, homedir);
214 afslog_cells(struct kafs_data *data, char **cells, int max, uid_t uid, const char *homedir) argument
228 _kafs_afslog_all_local_cells(struct kafs_data *data, uid_t uid, const char *homedir) argument
H A Dafskrb5.c208 uid_t uid, const char *homedir)
217 return _kafs_afslog_all_local_cells (data, uid, homedir);
255 const char *homedir)
281 ret = afslog_uid_int(&kd, cell, 0, uid, homedir);
314 const char *homedir)
316 return krb5_afslog_uid_home (context, id, cell, realm, getuid(), homedir);
207 afslog_uid_int(struct kafs_data *data, const char *cell, const char *rh, uid_t uid, const char *homedir) argument
250 krb5_afslog_uid_home(krb5_context context, krb5_ccache id, const char *cell, krb5_const_realm realm, uid_t uid, const char *homedir) argument
310 krb5_afslog_home(krb5_context context, krb5_ccache id, const char *cell, krb5_const_realm realm, const char *homedir) argument
/freebsd-current/crypto/openssh/regress/
H A Dcheck-perm.c97 char buf[PATH_MAX], homedir[PATH_MAX]; local
107 if (pw_dir != NULL && realpath(pw_dir, homedir) != NULL)
137 /* If are past the homedir then we can stop */
138 if (comparehome && strcmp(homedir, buf) == 0)
/freebsd-current/libexec/ftpd/
H A Dextern.h76 extern char *homedir;
H A Dftpd.c101 char *homedir; variable
1513 if ((homedir = strstr(chrootdir, "/./")) != NULL) {
1514 *(homedir++) = '\0'; /* wipe '/' */
1515 homedir++; /* skip '.' */
1522 homedir = "/";
1533 homedir = pw->pw_dir;
1553 if (chdir(homedir) < 0) {
/freebsd-current/usr.sbin/cron/cron/
H A Ddo_command.c90 const char *homedir = NULL; local
276 homedir = strdup(pwd->pw_dir);
277 if (homedir == NULL) {
327 * the homedir given by the pw entry otherwise.
337 else if (homedir != NULL)
338 chdir(homedir);
367 if (homedir != NULL
368 && setenv("HOME", homedir, 0) < 0) {
/freebsd-current/libexec/nuageinit/
H A Dnuageinit19 homedir = "/home/freebsd",
235 local homedir = nuage.adduser(u)
238 nuage.addsshkey(homedir, v)
251 local homedir = nuage.adduser(default_user)
253 nuage.addsshkey(homedir, k)
H A Dnuage.lua169 local function addsshkey(homedir, key)
172 local ak_path = homedir .. "/.ssh/authorized_keys"
173 local dotssh_path = homedir .. "/.ssh"
184 dirattrs = lfs.attributes(homedir)
/freebsd-current/crypto/heimdal/appl/ftp/ftp/
H A Dmain.c92 char homedir[MaxPathLen]; local
140 strlcpy(homedir, pw->pw_dir, sizeof(homedir));
141 home = homedir;
/freebsd-current/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) argument
411 if (homedir)
412 return (homedir);
1179 char *gecos, *homedir, *skel, *walk, *userid, *groupid, *grname; local
1192 gecos = homedir = skel = userid = groupid = default_passwd = NULL;
1226 homedir = optarg;
1389 pwd->pw_dir = pw_homepolicy(cmdcnf, homedir, pwd->pw_name);
1514 char *gecos, *homedir, *grname, *name, *newname, *walk, *skel, *shell; local
1527 gecos = homedir
[all...]
/freebsd-current/sys/contrib/openzfs/contrib/pam_zfs_key/
H A Dpam_zfs_key.c437 char *homedir; member in struct:__anon4813
485 config->homedir = NULL;
504 if (config->homedir == NULL)
505 config->homedir = strdup(entry->pw_dir);
516 free(config->homedir);
536 if (strcmp(target->homedir, mountpoint) != 0) {
553 if (config->homedir != NULL &&

Completed in 323 milliseconds

12