Home
last modified time | relevance | path

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

12

/freebsd-9-stable/usr.sbin/sysinstall/
DanonFTP.c65 char homedir[64]; /* Home Dir for Anon FTP */ member
105 tconf.homedir, STRINGOBJ, NULL },
171 …e, "%s:*:%s:%d::0:0:%s:%s:/nonexistent\n", FTP_NAME, tconf.uid, gid, tconf.comment, tconf.homedir); in createFtpUser()
219 SAFE_STRCPY(tconf.homedir, FTP_HOMEDIR); in anonftpOpenDialog()
276 if (tconf.homedir[strlen(tconf.homedir) - 1] == '/') in configAnonFTP()
277 tconf.homedir[strlen(tconf.homedir) - 1] = '\0'; in configAnonFTP()
279 if (!tconf.homedir[0]) in configAnonFTP()
280 SAFE_STRCPY(tconf.homedir, FTP_HOMEDIR); in configAnonFTP()
284 if (!directory_exists(tconf.homedir)) in configAnonFTP()
285 vsystem("mkdir -p %s", tconf.homedir); in configAnonFTP()
[all …]
Duser.c70 homedir[HOMEDIR_FIELD_LEN], variable
141 homedir, STRINGOBJ, NULL },
432 if ((homedir[0]!=0) && (homedir[0]!='/')) { in verifyUserSettings()
593 ADDVEC(homedir, "-d"); in addUser()
702 CLEAR(homedir); in userAddUser()
725 if ((uname[0]) && !homedir[0]) { in userAddUser()
726 SAFE_STRCPY(homedir,"/home/"); in userAddUser()
727 strcat(homedir,uname); in userAddUser()
/freebsd-9-stable/crypto/heimdal/lib/kafs/
Dafskrb.c67 const char *homedir) in afslog_uid_int() argument
78 return _kafs_afslog_all_local_cells (data, uid, homedir); in afslog_uid_int()
107 const char *homedir) in krb_afslog_uid_home() argument
116 return afslog_uid_int(&kd, cell, realm_hint, uid, homedir); in krb_afslog_uid_home()
132 krb_afslog_home(const char *cell, const char *realm_hint, const char *homedir) in krb_afslog_home() argument
134 return krb_afslog_uid_home(cell, realm_hint, getuid(), homedir); in krb_afslog_home()
179 const char *homedir) in krb_afslog_uid_home() argument
191 krb_afslog_home(const char *cell, const char *realm_hint, const char *homedir) in krb_afslog_home() argument
Dcommon.c246 const char *homedir) in afslog_cells() argument
251 int er = (*data->afslog_uid)(data, cells[i], 0, uid, homedir); in afslog_cells()
260 uid_t uid, const char *homedir) in _kafs_afslog_all_local_cells() argument
266 if (homedir == NULL) in _kafs_afslog_all_local_cells()
267 homedir = getenv("HOME"); in _kafs_afslog_all_local_cells()
268 if (homedir != NULL) { in _kafs_afslog_all_local_cells()
270 snprintf(home, sizeof(home), "%s/.TheseCells", homedir); in _kafs_afslog_all_local_cells()
286 ret = afslog_cells(data, cells, idx, uid, homedir); in _kafs_afslog_all_local_cells()
Dkafs.h113 const char *homedir);
115 const char *homedir);
168 const char *homedir);
174 const char *homedir);
Dafskrb5.c195 uid_t uid, const char *homedir) in afslog_uid_int() argument
204 return _kafs_afslog_all_local_cells (data, uid, homedir); in afslog_uid_int()
242 const char *homedir) in krb5_afslog_uid_home() argument
266 ret = afslog_uid_int(&kd, cell, 0, uid, homedir); in krb5_afslog_uid_home()
299 const char *homedir) in krb5_afslog_home() argument
301 return krb5_afslog_uid_home (context, id, cell, realm, getuid(), homedir); in krb5_afslog_home()
/freebsd-9-stable/usr.bin/mail/
Dtemp.c82 homedir = NULL; in tinit()
84 homedir = savestr(cp); in tinit()
87 homedir ? homedir : "NONE"); in tinit()
Dfio.c364 if (name[0] == '~' && homedir != NULL && in expand()
366 (void)snprintf(xname, sizeof(xname), "%s%s", homedir, name + 1); in expand()
430 homedir ? homedir : ".", folder); in getfold()
Dglob.h56 char *homedir; /* Path name of home directory */ variable
/freebsd-9-stable/contrib/opie/libopie/
Daccessfile.c153 int opiealways FUNCTION((homedir), char *homedir)
158 if (!homedir)
161 if (!(opiealwayspath = malloc(strlen(homedir) + sizeof(OPIE_ALWAYS_FILE) + 1)))
164 strcpy(opiealwayspath, homedir);
/freebsd-9-stable/libexec/bootpd/
Dbootpd.c636 char *homedir, *bootfile; in handle_request() local
849 homedir = NULL; in handle_request()
852 homedir = bp->bp_file; in handle_request()
853 bootfile = strrchr(homedir, '/'); in handle_request()
855 if (homedir == bootfile) in handle_request()
856 homedir = NULL; in handle_request()
860 bootfile = homedir; in handle_request()
861 homedir = NULL; in handle_request()
865 (homedir) ? homedir : "", in handle_request()
873 if (hp->flags.homedir) in handle_request()
[all …]
Dbootpd.h105 homedir :1, member
173 *homedir, member
/freebsd-9-stable/release/picobsd/tinyware/simple_httpd/
Dsimple_httpd.c57 char homedir[100]; variable
379 strcpy (homedir,getenv("HOME")); in main()
380 if (!geteuid()) strcpy (homedir,"/httphome"); in main()
381 else strcat (homedir,"/httphome"); in main()
395 strcpy(homedir,optarg); in main()
432 if (chdir(homedir)) { in main()
434 puts(homedir); in main()
451 if (fetch_mode == NULL) printf("html home: %s\n",homedir); in main()
/freebsd-9-stable/contrib/cvs/src/
Dcvsrc.c40 char *homedir; local
72 homedir = get_homedir ();
78 if (!homedir)
81 homeinit = strcat_filename_onto_homedir (homedir, cvsrc);
Dlogin.c41 char *homedir; in construct_cvspass_filename() local
50 homedir = get_homedir (); in construct_cvspass_filename()
51 if (! homedir) in construct_cvspass_filename()
64 passfile = strcat_filename_onto_homedir (homedir, CVS_PASSWORD_FILE); in construct_cvspass_filename()
Dwrapper.c89 char *homedir; in wrap_setup() local
116 homedir = get_homedir (); in wrap_setup()
122 if (homedir != NULL) in wrap_setup()
124 char *file = strcat_filename_onto_homedir (homedir, CVSDOTWRAPPER); in wrap_setup()
Dhistory.c802 char *homedir; local
807 if (CVS_CHDIR (pwdir) < 0 || (homedir = xgetwd ()) == NULL)
808 homedir = pwdir;
814 i = strlen (homedir);
815 if (!strncmp (CurDir, homedir, i))
821 if (homedir != pwdir)
822 free (homedir);
/freebsd-9-stable/contrib/libreadline/
Dutil.c179 char *homedir, *temp; local
187 homedir = tilde_expand ("~");
188 _rl_replace_text (homedir, start, end);
215 homedir = tilde_expand (temp);
218 _rl_replace_text (homedir, start, end);
/freebsd-9-stable/usr.sbin/pkg_install/create/
Dperform.c354 make_dist(const char *homedir, const char *pkg, const char *suff, Package *plist) in make_dist() argument
374 snprintf(tball, FILENAME_MAX, "%s/%s.%s", homedir, pkg, suff); in make_dist()
567 char homedir[MAXPATHLEN], log_dir[FILENAME_MAX]; in create_from_installed() local
574 getcwd(homedir, sizeof(homedir)); in create_from_installed()
599 make_dist(homedir, pkg, suf, &plist); in create_from_installed()
602 if (chdir(homedir) == FAIL) { in create_from_installed()
603 warnx("can't change directory to '%s'!", homedir); in create_from_installed()
/freebsd-9-stable/contrib/gdb/gdb/
Dmain.c151 char *homedir, *homeinit; in captured_main() local
612 homedir = getenv ("HOME"); in captured_main()
613 if (homedir) in captured_main()
615 homeinit = (char *) alloca (strlen (homedir) + in captured_main()
617 strcpy (homeinit, homedir); in captured_main()
705 if (!homedir in captured_main()
/freebsd-9-stable/contrib/texinfo/info/
Dinfokey.c178 char *homedir; in main() local
180 homedir = getenv ("HOME"); in main()
182 if (!homedir) in main()
183 homedir = "."; in main()
186 input_filename = mkpath (homedir, INFOKEY_SRCFILE); in main()
188 output_filename = mkpath (homedir, INFOKEY_FILE); in main()
/freebsd-9-stable/crypto/heimdal/appl/ftp/ftp/
Dmain.c92 char homedir[MaxPathLen]; in main() local
140 strlcpy(homedir, pw->pw_dir, sizeof(homedir)); in main()
141 home = homedir; in main()
/freebsd-9-stable/usr.sbin/amd/hlfsd/
DMakefile12 SRCS= hlfsd.c homedir.c nfs_prot_svc.c stubs.c
/freebsd-9-stable/contrib/amd/hlfsd/
Dhlfsd.h137 extern char *homedir(int, int);
/freebsd-9-stable/release/picobsd/tinyware/msh/
Dsh1.c66 homedir = lookup("HOME");
67 if (homedir->value == null)
68 setval(homedir, "/");
69 export(homedir);

12