/titanic_50/usr/src/lib/nsswitch/ad/common/ |
H A D | getpwnam.c | 58 const char *homedir, const char *shell) in update_buffer() argument 70 argp->key.name, "x", uid, gid, gecos, homedir, shell) + 1; in update_buffer() 75 name, domain, "x", uid, gid, gecos, homedir, shell) + 1; in update_buffer() 93 argp->key.name, "x", uid, gid, gecos, homedir, shell); in update_buffer() 96 name, domain, "x", uid, gid, gecos, homedir, shell); in update_buffer() 116 process_homedir(char *homedir) in process_homedir() argument 122 len = strlen(homedir); in process_homedir() 124 if (strchr(homedir, ':') != NULL) in process_homedir() 131 if (!(len > 1 && homedir[0] == '\\' && homedir[1] == '\\')) in process_homedir() 133 return (homedir); in process_homedir() [all …]
|
/titanic_50/usr/src/cmd/oamuser/user/ |
H A D | homedir.c | 67 create_home(char *homedir, char *skeldir, uid_t uid, gid_t gid, int flags) in create_home() argument 79 rp = realpath(homedir, NULL); in create_home() 84 (void) strcpy(dhome, homedir); in create_home() 85 (void) strcpy(bhome, homedir); in create_home() 134 if (chmod(homedir, in create_home() 151 if (mkdir(homedir, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH) in create_home() 163 if (chown(homedir, uid, gid) != 0) { in create_home() 176 skeldir, homedir); in create_home() 181 (void) rm_homedir(homedir, flags); in create_home() 192 homedir, uid, gid); in create_home() [all …]
|
H A D | useradd.c | 108 static char homedir[ PATH_MAX + 1 ]; /* home directory */ variable 512 (void) sprintf(homedir, "%s/%s", base_dir, logname); 519 (void) strcpy(homedir, dir); 523 if (stat(homedir, &statbuf) == 0) { 528 errmsg(M_NO_PERM, logname, homedir); 586 nargv[argindex++] = homedir; 718 ret = create_home(homedir, skel_dir, uid, gid, zfs_flags);
|
H A D | Makefile | 49 ADD_OBJ= useradd.o homedir.o groups.o call_pass.o \ 53 DEL_OBJ= userdel.o call_pass.o homedir.o isbusy.o \ 56 MOD_OBJ= usermod.o movedir.o groups.o homedir.o \
|
/titanic_50/usr/src/lib/pam_modules/unix_auth/ |
H A D | unix_auth.c | 108 display_warning(pam_handle_t *pamh, int failures, char *homedir) in display_warning() argument 113 (void) snprintf(hushpath, sizeof (hushpath), "%s/.hushlogin", homedir); in display_warning() 156 char *homedir = NULL; in pam_sm_authenticate() local 241 homedir = attr_pw[3].data.val_s; in pam_sm_authenticate() 312 display_warning(pamh, old_failed_count, homedir); in pam_sm_authenticate() 326 if (homedir) in pam_sm_authenticate() 327 free(homedir); in pam_sm_authenticate()
|
/titanic_50/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | removecert.c | 58 char *homedir; in removecert() local 123 if ((homedir = getenv("HOME")) == NULL) { in removecert() 135 if (strlcat(keystore_file, homedir, in removecert() 138 homedir); in removecert()
|
H A D | listcert.c | 58 char *homedir; in listcert() local 166 if ((homedir = getenv("HOME")) == NULL) { in listcert() 178 if (strlcat(keystore_file, homedir, in listcert() 181 homedir); in listcert()
|
H A D | addcert.c | 69 char *homedir; in addcert() local 213 if ((homedir = getenv("HOME")) == NULL) { in addcert() 225 if (strlcat(keystore_file, homedir, in addcert() 228 homedir); in addcert()
|
/titanic_50/usr/src/cmd/sendmail/aux/ |
H A D | mailcompat.c | 41 char *homedir; /* home directory of said person */ variable 95 homedir = newstr(pw->pw_dir); 275 homedir = getenv("HOME"); in AutoInstall() 276 if (homedir == NULL) { in AutoInstall() 283 (void) strlcpy(forward, homedir, sizeof (forward)); in AutoInstall()
|
H A D | vacation.c | 93 static char *homedir; /* home directory of said person */ variable 228 homedir = newstr(pw->pw_dir); 230 (void) snprintf(buf, sizeof (buf), "%s%s%s", homedir, 263 (void) strlcpy(buf, homedir, sizeof (buf)); 585 (void) strlcpy(file, homedir, sizeof (file)); 908 char *homedir; local 914 homedir = getenv("HOME"); 915 if (homedir == NULL) { 919 (void) snprintf(buf, sizeof (buf), "%s%s%s", homedir, 1047 homedir = getenv("HOME"); in AutoInstall() [all …]
|
/titanic_50/usr/src/cmd/make/bin/ |
H A D | pmake.cc | 88 char *homedir; in read_make_machines() local 108 homedir = getenv("HOME"); in read_make_machines() 109 if ((homedir != NULL) && (strlen(homedir) < (sizeof(mb_make_machines_path) - 16))) { in read_make_machines() 111 "%s/.make.machines", homedir); in read_make_machines()
|
/titanic_50/usr/src/cmd/newgrp/ |
H A D | newgrp.c | 67 char *homedir; variable 156 if ((homedir = (char *)malloc(len)) == NULL) in main() 158 (void) snprintf(homedir, len, "HOME=%s", dir); in main() 167 envinit[0] = homedir; in main()
|
/titanic_50/usr/src/cmd/svr4pkg/pkgtrans/ |
H A D | main.c | 66 char *homedir = NULL; in main() local 150 } else if ((homedir = getenv("HOME")) == NULL) { in main() 158 homedir) < 0) { in main()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | main.c | 48 char homedir[128]; /* user's home directory */ variable 122 strncpy(homedir, pw->pw_dir, sizeof (homedir)); 123 homedir[sizeof (homedir) - 1] = '\0';
|
H A D | expand.c | 134 extern char homedir[]; 185 cp1 = homedir; 641 extern char homedir[]; 652 s2 = homedir; 655 s2 = homedir;
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rexecd.c | 135 static char homedir[64] = "HOME="; variable 140 {homedir, shell, (char *)0, username, 155 {homedir, shell, "PATH=:/usr/ucb:/bin:/usr/bin", username, 0}; 433 (void) strncat(homedir, pwd->pw_dir, sizeof (homedir) - 6); in doit()
|
H A D | in.tftpd.c | 136 static char *homedir = "/tftpboot"; variable 247 homedir = argv [optind]; in main() 296 (void) chdir(homedir); in main() 832 if (chroot(homedir) == -1) { in tftp() 835 homedir); in tftp() 936 if ((dir = opendir(homedir)) == NULL) in pnp_check()
|
/titanic_50/usr/src/lib/libtecla/common/ |
H A D | expand.c | 1143 const char *homedir; /* The home directory of the user */ in ef_expand_special() local 1177 homedir = _hd_lookup_home_dir(ef->home, ef->usrnam); in ef_expand_special() 1178 if(!homedir) { in ef_expand_special() 1182 homelen = strlen(homedir); in ef_expand_special() 1190 if(strcmp(homedir, FS_ROOT_DIR) == 0 && in ef_expand_special() 1214 ef->path->name[i] = homedir[i]; in ef_expand_special()
|
H A D | homedir.h | 78 #define HOME_DIR_FN(fn) int (fn)(void *data, const char *usrnam, const char *homedir, char *errmsg,…
|
H A D | pcache.c | 1640 const char *homedir=NULL; /* A home directory */ in pca_expand_tilde() local 1659 homedir = _hd_lookup_home_dir(pc->home, pc->usrnam); in pca_expand_tilde() 1660 if(!homedir) { in pca_expand_tilde() 1667 if(_pn_append_to_path(pc->path, homedir, -1, 0) == NULL) { in pca_expand_tilde() 1681 if(homedir && strcmp(homedir, FS_ROOT_DIR) == 0 && in pca_expand_tilde()
|
/titanic_50/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnmount.c | 317 char *homedir; in process_ref() local 390 homedir = strdup(addrdata); in process_ref() 391 homedir[strcspn(homedir, " \t\r\n")] = '\0'; in process_ref() 393 strdup(opts), strdup(""), homedir); in process_ref()
|
/titanic_50/usr/src/cmd/mailx/ |
H A D | temp.c | 82 nstrcpy(homedir, PATHSIZE, Getf("HOME")); in tinit()
|
H A D | init.c | 81 char homedir[PATHSIZE]; /* Name of home directory */ variable
|
/titanic_50/usr/src/lib/libtecla/ |
H A D | Makefile.com | 29 direader.o homedir.o pathutil.o expand.o stringrp.o cplfile.o \
|
/titanic_50/usr/src/cmd/mailx/hdr/ |
H A D | glob.h | 72 extern char homedir[]; /* Name of home directory */
|