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

12

/freebsd-9.3-release/usr.sbin/sysinstall/
H A DanonFTP.c65 char homedir[64]; /* Home Dir for Anon FTP */ member in struct:__anon11081
105 tconf.homedir, STRINGOBJ, NULL },
171 sprintf(pwline, "%s:*:%s:%d::0:0:%s:%s:/nonexistent\n", FTP_NAME, tconf.uid, gid, tconf.comment, tconf.homedir);
219 SAFE_STRCPY(tconf.homedir, FTP_HOMEDIR);
276 if (tconf.homedir[strlen(tconf.homedir) - 1] == '/')
277 tconf.homedir[strlen(tconf.homedir) - 1] = '\0';
279 if (!tconf.homedir[0])
280 SAFE_STRCPY(tconf.homedir, FTP_HOMEDI
[all...]
H A Duser.c70 homedir[HOMEDIR_FIELD_LEN], variable
141 homedir, STRINGOBJ, NULL },
432 if ((homedir[0]!=0) && (homedir[0]!='/')) {
566 * pw user add -m -n uname -g grp -u uid -c comment -d homedir -s shell -G grplist -h 0
593 ADDVEC(homedir, "-d");
702 CLEAR(homedir);
725 if ((uname[0]) && !homedir[0]) {
726 SAFE_STRCPY(homedir,"/home/");
727 strcat(homedir,unam
[all...]
/freebsd-9.3-release/usr.bin/mail/
H A Dtemp.c82 homedir = NULL;
84 homedir = savestr(cp);
86 printf("user = %s, homedir = %s\n", myname,
87 homedir ? homedir : "NONE");
H A Dglob.h56 char *homedir; /* Path name of home directory */ variable
H A Dfio.c364 if (name[0] == '~' && homedir != NULL &&
366 (void)snprintf(xname, sizeof(xname), "%s%s", homedir, name + 1);
430 homedir ? homedir : ".", folder);
/freebsd-9.3-release/usr.sbin/amd/hlfsd/
H A DMakefile12 SRCS= hlfsd.c homedir.c nfs_prot_svc.c stubs.c
/freebsd-9.3-release/crypto/heimdal/lib/kafs/
H A Dafskrb.c67 const char *homedir)
78 return _kafs_afslog_all_local_cells (data, uid, homedir);
107 const char *homedir)
116 return afslog_uid_int(&kd, cell, realm_hint, uid, homedir);
132 krb_afslog_home(const char *cell, const char *realm_hint, const char *homedir) argument
134 return krb_afslog_uid_home(cell, realm_hint, getuid(), homedir);
179 const char *homedir)
191 krb_afslog_home(const char *cell, const char *realm_hint, const char *homedir) argument
63 afslog_uid_int(struct kafs_data *data, const char *cell, const char *realm_hint, uid_t uid, const char *homedir) argument
106 krb_afslog_uid_home(const char *cell, const char *realm_hint, uid_t uid, const char *homedir) argument
178 krb_afslog_uid_home(const char *cell, const char *realm_hint, uid_t uid, const char *homedir) argument
H A Dkafs.h113 const char *homedir);
115 const char *homedir);
168 const char *homedir);
174 const char *homedir);
H A Dcommon.c246 const char *homedir)
251 int er = (*data->afslog_uid)(data, cells[i], 0, uid, homedir);
260 uid_t uid, const char *homedir)
266 if (homedir == NULL)
267 homedir = getenv("HOME");
268 if (homedir != NULL) {
270 snprintf(home, sizeof(home), "%s/.TheseCells", homedir);
286 ret = afslog_cells(data, cells, idx, uid, homedir);
245 afslog_cells(struct kafs_data *data, char **cells, int max, uid_t uid, const char *homedir) argument
259 _kafs_afslog_all_local_cells(struct kafs_data *data, uid_t uid, const char *homedir) argument
H A Dafskrb5.c195 uid_t uid, const char *homedir)
204 return _kafs_afslog_all_local_cells (data, uid, homedir);
242 const char *homedir)
266 ret = afslog_uid_int(&kd, cell, 0, uid, homedir);
299 const char *homedir)
301 return krb5_afslog_uid_home (context, id, cell, realm, getuid(), homedir);
194 afslog_uid_int(struct kafs_data *data, const char *cell, const char *rh, uid_t uid, const char *homedir) argument
237 krb5_afslog_uid_home(krb5_context context, krb5_ccache id, const char *cell, krb5_const_realm realm, uid_t uid, const char *homedir) argument
295 krb5_afslog_home(krb5_context context, krb5_ccache id, const char *cell, krb5_const_realm realm, const char *homedir) argument
/freebsd-9.3-release/contrib/cvs/src/
H A Dcvsrc.c40 char *homedir; local
72 homedir = get_homedir ();
78 if (!homedir)
81 homeinit = strcat_filename_onto_homedir (homedir, cvsrc);
H A Dlogin.c41 char *homedir; local
50 homedir = get_homedir ();
51 if (! homedir)
64 passfile = strcat_filename_onto_homedir (homedir, CVS_PASSWORD_FILE);
H A Dwrapper.c89 char *homedir; local
116 homedir = get_homedir ();
122 if (homedir != NULL)
124 char *file = strcat_filename_onto_homedir (homedir, CVSDOTWRAPPER);
/freebsd-9.3-release/contrib/opie/libopie/
H A Daccessfile.c153 int opiealways FUNCTION((homedir), char *homedir) argument
158 if (!homedir)
161 if (!(opiealwayspath = malloc(strlen(homedir) + sizeof(OPIE_ALWAYS_FILE) + 1)))
164 strcpy(opiealwayspath, homedir);
/freebsd-9.3-release/libexec/bootpd/
H A Dbootpd.h105 homedir :1, member in struct:flag
174 *homedir,
173 *homedir, member in struct:host
H A Dbootpd.c640 char *homedir, *bootfile;
851 * Determine client's requested homedir and bootfile.
853 homedir = NULL;
856 homedir = bp->bp_file;
857 bootfile = strrchr(homedir, '/');
859 if (homedir == bootfile)
860 homedir = NULL;
864 bootfile = homedir;
865 homedir = NULL;
869 (homedir)
636 char *homedir, *bootfile; local
[all...]
/freebsd-9.3-release/release/picobsd/tinyware/simple_httpd/
H A Dsimple_httpd.c57 char homedir[100]; variable
379 strcpy (homedir,getenv("HOME"));
380 if (!geteuid()) strcpy (homedir,"/httphome");
381 else strcat (homedir,"/httphome");
395 strcpy(homedir,optarg);
432 if (chdir(homedir)) {
434 puts(homedir);
451 if (fetch_mode == NULL) printf("html home: %s\n",homedir);
/freebsd-9.3-release/contrib/libreadline/
H A 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.3-release/contrib/amd/hlfsd/
H A Dhlfsd.h137 extern char *homedir(int, int);
/freebsd-9.3-release/libexec/ftpd/
H A Dextern.h84 extern char *homedir;
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dmain.c151 char *homedir, *homeinit; local
612 homedir = getenv ("HOME");
613 if (homedir)
615 homeinit = (char *) alloca (strlen (homedir) +
617 strcpy (homeinit, homedir);
627 need them if homedir is set. Make sure that they are
636 homedir was set. */
705 if (!homedir
/freebsd-9.3-release/contrib/texinfo/info/
H A Dinfokey.c179 char *homedir;
181 homedir = getenv ("HOME");
183 if (!homedir)
184 homedir = ".";
187 input_filename = mkpath (homedir, INFOKEY_SRCFILE);
189 output_filename = mkpath (homedir, INFOKEY_FILE);
178 char *homedir; local
/freebsd-9.3-release/usr.sbin/pkg_install/create/
H A Dperform.c354 make_dist(const char *homedir, const char *pkg, const char *suff, Package *plist) argument
374 snprintf(tball, FILENAME_MAX, "%s/%s.%s", homedir, pkg, suff);
567 char homedir[MAXPATHLEN], log_dir[FILENAME_MAX]; local
574 getcwd(homedir, sizeof(homedir));
599 make_dist(homedir, pkg, suf, &plist);
602 if (chdir(homedir) == FAIL) {
603 warnx("can't change directory to '%s'!", homedir);
/freebsd-9.3-release/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-9.3-release/contrib/lukemftpd/src/
H A Dextern.h281 char *homedir; /* Directory to chdir(2) to at login */ member in struct:ftpclass
328 GLOBAL char homedir[MAXPATHLEN]; variable

Completed in 176 milliseconds

12