Home
last modified time | relevance | path

Searched refs:home (Results 1 – 25 of 430) sorted by relevance

12345678910>>...18

/freebsd/usr.sbin/pw/tests/
H A Dpw_useradd_test.sh287 test -d ${HOME}/home || atf_fail "Home parent directory not created"
288 test -d ${HOME}/home/bar || atf_fail "Directory not created"
290 test -d ${HOME}/home/bar || atf_fail "Directory removed"
293 [ ! -d ${HOME}/home/bar ] || atf_fail "Directory not removed"
302 [ ! -d ${HOME}/usr/home ] || atf_fail "/usr/home created"
303 test -d ${HOME}/home || atf_fail "/home directory not created"
321 atf_check test -d ${HOME}/home/foo
326 stat -f '%u %g' ${HOME}/home/foo
328 stat -f '%p' ${HOME}/home/foo
335 mkdir -p -m 0777 ${HOME}/home/foo
[all …]
H A Dpw_usermod_test.sh194 mkdir -p ${HOME}/home
196 test -d ${HOME}/home/foo || atf_fail "Directory not created"
197 atf_check -s exit:0 ${RPW} usermod foo -l bar -d /home/bar -m
198 test -d ${HOME}/home/bar || atf_fail "Directory not created"
262 mkdir -p ${HOME}/home
266 ! test -d ${HOME}/home/foo || atf_fail "Directory should not have been created"
268 test -d ${HOME}/home/foo || atf_fail "Directory should have been created"
269 test -f ${HOME}/home/foo/.file || atf_fail "Skell files not added"
272 test -f ${HOME}/home/foo/.file2 || atf_fail "Skell files not added"
273 echo > ${HOME}/home/foo/.file2
[all …]
/freebsd/release/tools/
H A Dvagrant.conf45 mkdir ${DESTDIR}/home/vagrant/.ssh
47 …8OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key" > ${DESTDIR}/home/vagrant/.ssh/author…
48 …fJyw/QKow1F+wvG9hXGoqiysfJOn5Y vagrant insecure public key" >> ${DESTDIR}/home/vagrant/.ssh/author…
49 chmod 600 ${DESTDIR}/home/vagrant/.ssh/authorized_keys
51 chmod 700 ${DESTDIR}/home/vagrant/.ssh
52 chown -R 1001 ${DESTDIR}/home/vagrant/.ssh
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dhome_terminfo.c55 const char *home; in NCURSES_EXPORT() local
57 if ((home = getenv("HOME")) != NULL) { in NCURSES_EXPORT()
58 size_t want = (strlen(home) + sizeof(PRIVATE_INFO)); in NCURSES_EXPORT()
60 _nc_SPRINTF(MyBuffer, _nc_SLIMIT(want) PRIVATE_INFO, home); in NCURSES_EXPORT()
/freebsd/contrib/file/src/
H A Dmagic.c179 char *home, *hmagicpath, *tmp_magic; in get_default_magic() local
184 if ((home = getenv("HOME")) == NULL) in get_default_magic()
187 if (asprintf(&hmagicpath, "%s/.magic.mgc", home) < 0) in get_default_magic()
191 if (asprintf(&hmagicpath, "%s/.magic", home) < 0) in get_default_magic()
197 if (asprintf(&hmagicpath, "%s/%s", home, hmagic) < 0) in get_default_magic()
224 if ((home = getenv("HOME")) != NULL) in get_default_magic()
225 _w32_append_path(&hmagicpath, "%s%s", home, hmagic); in get_default_magic()
228 if ((home = getenv("LOCALAPPDATA")) != NULL) in get_default_magic()
229 _w32_append_path(&hmagicpath, "%s%s", home, hmagic); in get_default_magic()
232 if ((home = getenv("USERPROFILE")) != NULL) in get_default_magic()
[all …]
/freebsd/usr.bin/top/
H A Dscreen.c42 static char home[15]; variable
164 strncpy(home, tgoto(cursor_motion, 0, 0), sizeof(home) - 1); in init_termcap()
165 home[sizeof(home) - 1] = '\0'; in init_termcap()
/freebsd/share/doc/papers/jail/
H A Djail01.fig55 4 0 0 100 0 14 12 0.0000 4 165 525 2550 3600 home/\001
75 4 0 0 100 0 14 12 0.0000 4 165 525 5400 2400 home/\001
80 4 0 0 100 0 14 12 0.0000 4 165 525 5400 4500 home/\001
/freebsd/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c83 static char home[MaxPathLen] = ""; in ftp_rooted() local
87 if(!home[0]) in ftp_rooted()
89 strlcpy(home, pwd->pw_dir, sizeof(home)); in ftp_rooted()
90 snprintf(newpath, sizeof(newpath), "%s/%s", home, path); in ftp_rooted()
/freebsd/contrib/kyua/cli/
H A Dcommon_test.cpp214 const fs::path home("homedir"); in ATF_TEST_CASE_BODY() local
215 utils::setenv("HOME", home.str()); in ATF_TEST_CASE_BODY()
219 ATF_REQUIRE(!fs::exists(home / ".kyua")); in ATF_TEST_CASE_BODY()
231 const fs::path home("homedir"); in ATF_TEST_CASE_BODY() local
232 utils::setenv("HOME", home.str()); in ATF_TEST_CASE_BODY()
261 const fs::path home("homedir"); in ATF_TEST_CASE_BODY() local
262 utils::setenv("HOME", home.str()); in ATF_TEST_CASE_BODY()
266 ATF_REQUIRE(!fs::exists(home / ".kyua")); in ATF_TEST_CASE_BODY()
278 const fs::path home("homedir"); in ATF_TEST_CASE_BODY() local
279 utils::setenv("HOME", home.str()); in ATF_TEST_CASE_BODY()
H A Dconfig.cpp104 const optional< fs::path > home = utils::get_home(); in load_config_file() local
105 if (home) { in load_config_file()
106 const fs::path path = home.get() / ".kyua" / config_basename; in load_config_file()
/freebsd/contrib/kyua/integration/
H A Dcmd_db_exec_test.sh92 HOME=home-dir
97 test -f home-dir/.kyua/store/*.db || atf_fail "Database not created in" \
110 HOME=home-dir
113 test ! -d home-dir/.kyua || atf_fail "Home directory created but this" \
/freebsd/contrib/kyua/utils/
H A Denv.cpp127 const optional< std::string > home = utils::getenv("HOME"); in get_home() local
128 if (home) { in get_home()
130 return utils::make_optional(fs::path(home.get())); in get_home()
133 home.get() % e.what()); in get_home()
H A Denv_test.cpp104 const fs::path home("/foo/bar"); in ATF_TEST_CASE_BODY() local
105 utils::setenv("HOME", home.str()); in ATF_TEST_CASE_BODY()
108 ATF_REQUIRE_EQ(home, computed.get()); in ATF_TEST_CASE_BODY()
/freebsd/contrib/smbfs/lib/smb/
H A Dsubr.c161 char *home, *fn; in smb_open_rcfile() local
164 home = getenv("HOME"); in smb_open_rcfile()
165 if (home) { in smb_open_rcfile()
166 fn = malloc(strlen(home) + 20); in smb_open_rcfile()
167 sprintf(fn, "%s/.nsmbrc", home); in smb_open_rcfile()
/freebsd/share/security/
H A Dlomac-policy.contexts20 (/usr)?/home lomac/high[low]
21 (/usr)?/home/.* lomac/low
25 (/usr)?/home/(ftp|samba)(/.*)? lomac/high
/freebsd/contrib/tcsh/nls/greek/
H A Dset137 35 Δεν υπάρχει προσωπικός κατάλογος (home directory)
38 36 Δεν μπορώ να προσπελάσω τον προσωπικό κατάλογο (home directory)
80 78 Δεν έχει δοθεί τιμή στη μεταβλητή $home
/freebsd/contrib/kyua/store/
H A Dlayout_test.cpp281 const fs::path home = fs::current_path() / "homedir"; in ATF_TEST_CASE_BODY() local
282 utils::setenv("HOME", home.str()); in ATF_TEST_CASE_BODY()
285 ATF_REQUIRE_EQ(home / ".kyua/store", store_dir); in ATF_TEST_CASE_BODY()
292 const fs::path home("homedir"); in ATF_TEST_CASE_BODY() local
293 utils::setenv("HOME", home.str()); in ATF_TEST_CASE_BODY()
296 ATF_REQUIRE_MATCH((home / ".kyua/store").str(), store_dir.str()); in ATF_TEST_CASE_BODY()
H A Dlayout.cpp232 const optional< fs::path > home = utils::get_home(); in query_store_dir() local
233 if (home) { in query_store_dir()
234 const fs::path& home_path = home.get(); in query_store_dir()
/freebsd/contrib/googletest/docs/
H A Dpkgconfig.md72 your sysroot is `/home/MYUSER/sysroot`. Configure and install GTest using
81 make -j install DESTDIR=/home/MYUSER/sysroot
112 `PKG_CONFIG_LIBDIR=/home/MYUSER/sysroot/usr/lib64/pkgconfig` against this `.pc`
129 export PKG_CONFIG_SYSROOT_DIR=/home/MYUSER/sysroot
137 -DGTEST_HAS_PTHREAD=1 -lpthread -I/home/MYUSER/sysroot/usr/include
139 -L/home/MYUSER/sysroot/usr/lib64 -lgtest -lpthread
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/privilege/
H A Dcleanup.ksh42 [[ -d /export/home/$ZFS_USER ]] && rm -rf /export/home/$ZFS_USER
H A Dsetup.ksh51 log_must mkdir -p /export/home/$ZFS_USER
52 log_must useradd -c "ZFS Privileges Test User" -d /export/home/$ZFS_USER $ZFS_USER
/freebsd/libexec/nuageinit/tests/
H A Dnuageinit.sh59 sys:*:1:0::0:0:Sys:/home/sys:/bin/csh
125 sys:*:1:0::0:0:Sys:/home/sys:/bin/sh
167 sys:*:1:0::0:0:Sys:/home/sys:/bin/sh
168 freebsd:freebsd:1001:1003::0:0:FreeBSD User:/home/freebsd:/bin/sh
169 …NwuizouQc3u7MbYCarYeAHWYPYb2FT.lbioDm2RrkJPb9BZMN1O/:1002:1004::0:0:Foo B. Bar:/home/foobar:/bin/sh
170 bla::1003:1005::0:0:bla User:/home/bla:/bin/sh
195 sys:*:1:0::0:0:Sys:/home/sys:/bin/sh
223 sys:*:1:0::0:0:Sys:/home/sys:/bin/sh
302 sys:*:1:0::0:0:Sys:/home/sys:/bin/sh
310 …atf_check -o inline:"ssh-rsa AAAAB3NzaC1y...== Generated by Nova\n" cat home/freebsd/.ssh/authoriz…
[all …]
/freebsd/usr.sbin/pw/
H A Dpw_user.c424 static char home[128]; in pw_homepolicy() local
429 if (cnf->home == NULL || *cnf->home == '\0') in pw_homepolicy()
431 snprintf(home, sizeof(home), "%s/%s", cnf->home, user); in pw_homepolicy()
433 return (home); in pw_homepolicy()
840 char home[MAXPATHLEN]; in pw_user_del() local
938 strlcpy(home, pwd->pw_dir, sizeof(home)); in pw_user_del()
1001 if (PWALTDIR() != PWF_ALT && deletehome && *home == '/' && in pw_user_del()
1003 fstatat(conf.rootfd, home + 1, &st, 0) != -1) { in pw_user_del()
1004 rm_r(conf.rootfd, home, id); in pw_user_del()
1006 "removed", name, (uintmax_t)id, home, in pw_user_del()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/samsung/
H A Dexynos4412-odroidx.dts100 home-key {
103 label = "home key";
118 gpio_home_key: home-key-pins {
/freebsd/usr.sbin/bsdconfig/usermgmt/share/
H A Duser.subr48 : ${homeprefix:="/home"}
80 # Create home directory for $user.
94 f_dprintf "Creating home directory \`%s' for user \`%s'" \
110 # to the home-directory of $user. Attempts to create the home-directory first
129 # Attempt to create the home directory if it doesn't exist
178 # If non-NULL, populate the user's home directory with the
189 # The home directory to set. If NULL or unset, the home directory
192 # If non-NULL, create the user's home directory if it doesn't
269 # Create home-dir if no script-override and does not exist
272 # Copy dotfiles if home-dir creation is desired, does not yet exist,
[all …]

12345678910>>...18