/freebsd/contrib/tzdata/ |
H A D | etcetera | 14 # instead of TZ='Etc/GMT+4' one can use the POSIX setting TZ='<-04>+4'. 21 Zone Etc/UTC 0 - UTC 27 Zone Etc/GMT 0 - GMT 32 # where functions like gmtime load "GMT" instead of the "Etc/UTC". 34 Link Etc/GMT GMT 40 # positive signs east of Greenwich. For example, TZ='Etc/GMT+4' uses 51 # so we moved the names into the Etc subdirectory. 54 # There is no "Etc/Unknown" entry, as CLDR says that "Etc/Unknown" 56 # confusing if Etc/Unknow [all...] |
H A D | backward | 70 #Link GMT Etc/GMT 71 #Link GMT Etc/GMT+0 72 #Link GMT Etc/GMT-0 73 #Link GMT Etc/GMT0 74 #Link GMT Etc/Greenwich 76 Link Etc/GMT Etc/GMT+0 77 Link Etc/GMT Etc/GMT-0 78 Link Etc/GMT Etc/GMT0 79 Link Etc/GMT Etc/Greenwich 81 Link Etc/UTC Etc/UCT [all …]
|
/freebsd/contrib/sendmail/ |
H A D | FREEBSD-upgrade | 12 After importing, bump the version of src/etc/sendmail/freebsd*mc 13 so mergemaster will merge /etc/mail/freebsd*cf by making a minor 29 etc/Makefile 30 etc/defaults/make.conf (obsolete) 31 etc/defaults/periodic.conf 32 etc/defaults/rc.conf 33 etc/mail/Makefile 34 etc/mail/README 35 etc/mail/access.sample 36 etc/mail/aliases [all …]
|
/freebsd/share/man/man8/ |
H A D | diskless.8 | 150 .Pa /etc/rc.d/resolv , 151 .Pa /etc/rc.d/tmp , 152 .Pa /etc/rc.d/var , 154 .Pa /etc/rc.initdiskless . 172 .Pa /etc/exports 199 .Pa /etc/inetd.conf . 201 .Pa /etc/bootptab 243 .Pa /etc 250 .Pa /etc/defaults/rc.conf . 265 .Pa /conf/base/etc , [all …]
|
H A D | rc.8 | 58 .Pa /usr/local/etc/rc.d/ 66 .Pa /etc/rc.conf 73 .Pa /usr/local/etc/rc.d/ . 115 .Pa /etc/rc.initdiskless 119 .Pa /etc/rc.subr 143 .Pa /etc/rc.d/ 203 .Pa /etc/rc.subr 213 .Pa /etc/rc.d/ 238 .Pa /etc/rc.d/ . 349 .Pa /etc/rc.conf.d/$servicename [all …]
|
/freebsd/usr.sbin/etcupdate/tests/ |
H A D | conflicts_test.sh | 67 # generate a conflict in /etc/login.conf. Each resolve option is tested 73 mkdir -p $OLD/etc $NEW/etc $TEST/etc 75 # Generate a conflict in /etc/login.conf. 76 cat > $OLD/etc/login.conf <<EOF 80 cat > $NEW/etc/login.conf <<EOF 83 :copyright=/etc/COPYRIGHT 85 cat > $TEST/etc/login.conf <<EOF 88 :welcome=/etc/motd: 94 # This is used to verify special handling for /etc/mail/aliases and 100 mkdir -p $OLD/etc/mail $NEW/etc/mail $TEST/etc/mail [all …]
|
H A D | preworld_test.sh | 75 mkdir -p $OLD/etc 76 cat >> $OLD/etc/master.passwd <<EOF 89 cat >> $OLD/etc/group <<EOF 106 cat >> $OLD/etc/inetd.conf <<EOF 113 sed -I "" -e 's/root::/root:<rpass>:/' $TEST/etc/master.passwd 114 cat >> $TEST/etc/master.passwd <<EOF 121 $OLD/etc/group > $TEST/etc/group 122 cat >> $TEST/etc/group <<EOF 128 rm $TEST/etc/inetd.conf 129 touch $TEST/etc/localtime [all …]
|
H A D | tzsetup_test.sh | 69 # Build the base tree, but not /etc/localtime itself 74 mkdir -p $TEST/etc 140 if [ -r /etc/etcupdate.conf ]; then 141 echo "WARNING: /etc/etcupdate.conf settings may break some tests." 144 # First, test for /etc/localtime not existing 153 echo "Differences for no /etc/localtime with -n:" 159 echo "Differences for no /etc/localtime:" 163 missing /etc/localtime 166 # Second, test for /etc/localtime being a symlink 169 ln -s /dev/null $TEST/etc/localtime [all …]
|
/freebsd/tools/tools/nanobsd/rescue/ |
H A D | common | 75 echo "hostname=\"rescue\"" > etc/rc.conf 76 echo "font8x14=\"iso15-8x14\"" >> etc/rc.conf 77 echo "font8x16=\"iso15-8x16\"" >> etc/rc.conf 78 echo "font8x8=\"iso15-8x8\"" >> etc/rc.conf 79 echo "keymap=\"german.iso\"" >> etc/rc.conf 80 echo "#ifconfig_fxp0=\"AUTO\"" >> etc/rc.conf 81 echo "#sshd_enable=\"YES\"" >> etc/rc.conf 82 echo "/dev/ufs/${NANO_LABEL}s1a / ufs ro,noatime 0 0" > etc/fstab 83 echo "/dev/${NANO_DRIVE}s3 /cfg ufs rw,noauto 2 2" >> etc/fstab 84 echo "tmpfs /boot/zfs tmpfs rw,size=1048576,mode=777 0 0" >> etc/fstab [all …]
|
/freebsd/tools/regression/security/cap_test/ |
H A D | cap_test_relative.c | 54 int fd, etc, etc_cap, etc_cap_ro, etc_cap_base, etc_cap_all; in test_relative() local 58 REQUIRE(etc = open("/etc/", O_RDONLY)); in test_relative() 59 CHECK_SYSCALL_SUCCEEDS(cap_getrights, etc, &rights); in test_relative() 62 MAKE_CAPABILITY(etc_cap, etc, CAP_READ); in test_relative() 63 MAKE_CAPABILITY(etc_cap_ro, etc, CAP_READ | CAP_LOOKUP); in test_relative() 64 MAKE_CAPABILITY(etc_cap_base, etc, baserights); in test_relative() 65 MAKE_CAPABILITY(etc_cap_all, etc, CAP_MASK_VALID); in test_relative() 71 CHECK_SYSCALL_SUCCEEDS(openat, etc, "/etc/passwd", O_RDONLY); in test_relative() 72 CHECK_SYSCALL_SUCCEEDS(openat, AT_FDCWD, "/etc/passwd", O_RDONLY); in test_relative() 73 CHECK_SYSCALL_SUCCEEDS(openat, etc, "passwd", O_RDONLY); in test_relative() [all …]
|
/freebsd/libexec/rc/ |
H A D | netstart | 28 # obsoleted by /etc/rc.d/* and is provided here only for user 35 /etc/rc.d/devd ${_start} 36 /etc/rc.d/hostid ${_start} 37 /etc/rc.d/hostname ${_start} 38 /etc/rc.d/ipmon ${_start} 39 /etc/rc.d/ipfilter ${_start} 40 /etc/rc.d/ipnat ${_start} 41 /etc/rc.d/ipfs ${_start} 42 /etc/rc.d/netif ${_start} 43 /etc/rc.d/ipsec ${_start} [all …]
|
/freebsd/libexec/nuageinit/tests/ |
H A D | nuage.sh | 18 if [ ! -f etc/rc.conf.d/hostname ]; then 21 atf_check -o inline:"hostname=\"myhostname\"\n" cat etc/rc.conf.d/hostname 43 mkdir etc 44 printf "root:*:0:0::0:0:Charlie &:/root:/bin/sh\n" > etc/master.passwd 45 pwd_mkdb -d etc etc/master.passwd 46 printf "wheel:*:0:root\n" > etc/group 49 …sible_username User:/home/impossible_username:/bin/sh\n" grep impossible_username etc/master.passwd 54 mkdir etc 55 printf "root:*:0:0::0:0:Charlie &:/root:/bin/sh\n" > etc/master.passwd 56 pwd_mkdb -d etc etc/master.passwd [all …]
|
H A D | nuageinit.sh | 37 atf_check -o inline:"hostname=\"cloudimg\"\n" cat etc/rc.conf.d/hostname 43 atf_check -o inline:"hostname=\"myhost\"\n" cat etc/rc.conf.d/hostname 72 mkdir -p etc 73 cat > etc/master.passwd << EOF 77 pwd_mkdb -d etc "${PWD}"/etc/master.passwd 78 cat > etc/group << EOF 110 sed -i "" "s/freebsd:.*:1001/freebsd:freebsd:1001/" "${PWD}"/etc/master.passwd 111 atf_check -o file:expectedpasswd cat "${PWD}"/etc/master.passwd 112 atf_check -o file:expectedgroup cat "${PWD}"/etc/group 122 mkdir -p etc [all …]
|
/freebsd/usr.sbin/periodic/etc/daily/ |
H A D | 200.backup-passwd | 7 if [ -r /etc/defaults/periodic.conf ] 9 . /etc/defaults/periodic.conf 15 if [ ! -f /etc/master.passwd ] 17 echo '$daily_backup_passwd_enable" is set but /etc/master.passwd' \ 20 elif [ ! -f /etc/group ] 22 echo '$daily_backup_passwd_enable" is set but /etc/group' \ 36 cp -p /etc/master.passwd $bak/master.passwd.bak || rc=3 39 if ! cmp -s $bak/master.passwd.bak /etc/master.passwd 43 diff ${daily_diff_flags} -I '^#' $bak/master.passwd.bak /etc/master.passwd |\ 46 cp -p /etc/master.passwd $bak/master.passwd.bak || rc=3 [all …]
|
/freebsd/release/tools/ |
H A D | oci-image-static.conf | 11 mtree -deU -p $m/ -f ${srcdir}/etc/mtree/BSD.root.dist > /dev/null 12 mtree -deU -p $m/var -f ${srcdir}/etc/mtree/BSD.var.dist > /dev/null 13 mtree -deU -p $m/usr -f ${srcdir}/etc/mtree/BSD.usr.dist > /dev/null 14 mtree -deU -p $m/usr/include -f ${srcdir}/etc/mtree/BSD.include.dist > /dev/null 15 mtree -deU -p $m/usr/lib -f ${srcdir}/etc/mtree/BSD.debug.dist > /dev/null 17 cp ${srcdir}/etc/master.passwd $m/etc 18 pwd_mkdb -p -d $m/etc $m/etc/master.passwd || return $? 19 cp ${srcdir}/etc/group $m/etc || return $? 22 cp ../etc/termcap/termcap.small $m/etc/termcap.small || return $? 23 cp ../etc/termcap/termcap.small $m/usr/share/misc/termcap || return $? [all …]
|
H A D | openstack.conf | 17 echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf 20 echo 'UseDNS no' >> ${DESTDIR}/etc/ssh/sshd_config 23 echo 'PermitRootLogin without-password' >> ${DESTDIR}/etc/ssh/sshd_config 26 echo 'sendmail_enable="NO"' >> ${DESTDIR}/etc/rc.conf 27 echo 'sendmail_submit_enable="NO"' >> ${DESTDIR}/etc/rc.conf 28 echo 'sendmail_outbound_enable="NO"' >> ${DESTDIR}/etc/rc.conf 29 echo 'sendmail_msp_queue_enable="NO"' >> ${DESTDIR}/etc/rc.conf 32 echo 'ifconfig_DEFAULT="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf 36 ${DESTDIR}/usr/local/etc/sudoers.d/cloud-init 46 echo 'debug.trace_on_panic=1' >> ${DESTDIR}/etc/sysct [all...] |
H A D | arm.subr | 110 echo >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 112 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 114 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 116 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 118 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 120 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 122 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 124 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 126 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 129 >> ${CHROOTDIR}/${DESTDIR}/etc/ttys [all …]
|
/freebsd/contrib/capsicum-test/ |
H A D | openat.cc | 41 int etc = open("/etc/", O_RDONLY); in FORK_TEST() local 42 EXPECT_OK(etc); in FORK_TEST() 51 int etc_cap = dup(etc); in FORK_TEST() 54 int etc_cap_ro = dup(etc); in FORK_TEST() 57 int etc_cap_base = dup(etc); in FORK_TEST() 72 EXPECT_OPEN_OK(openat(etc, "/etc/passwd", O_RDONLY)); in FORK_TEST() 73 EXPECT_OPEN_OK(openat(AT_FDCWD, "/etc/passwd", O_RDONLY)); in FORK_TEST() 74 EXPECT_OPEN_OK(openat(etc, "passwd", O_RDONLY)); in FORK_TEST() 75 EXPECT_OPEN_OK(openat(etc, "../etc/passwd", O_RDONLY)); in FORK_TEST() 84 EXPECT_OPEN_OK(openat(etc_cap_ro, "/etc/passwd", O_RDONLY)); in FORK_TEST() [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A D | unbound.init_yocto | 22 . /etc/init.d/functions 26 config="/etc/unbound/unbound.conf" 30 [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog 40 if [ -s /etc/localtime ]; then 41 [ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ; 42 …if [ ! -e ${rootdir}/etc/localtime ] || ! /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime;… 43 cp -fp /etc/localtime ${rootdir}/etc/localtime 46 if [ -s /etc/resolv.conf ]; then 47 [ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ; 48 …if [ ! -e ${rootdir}/etc/resolv.conf ] || ! /usr/bin/cmp -s /etc/resolv.conf ${rootdir}/etc/resolv… [all …]
|
H A D | unbound.init | 22 . /etc/rc.d/init.d/functions 30 [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog 40 if [ -s /etc/localtime ]; then 41 [ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ; 42 …if [ ! -e ${rootdir}/etc/localtime ] || ! /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime;… 43 cp -fp /etc/localtime ${rootdir}/etc/localtime 46 if [ -s /etc/resolv.conf ]; then 47 [ -d ${rootdir}/etc ] || mkdir -p ${rootdir}/etc ; 48 …if [ ! -e ${rootdir}/etc/resolv.conf ] || ! /usr/bin/cmp -s /etc/resolv.conf ${rootdir}/etc/resolv… 49 cp -fp /etc/resolv.conf ${rootdir}/etc/resolv.conf
|
H A D | unbound.init_fedora | 22 . /etc/rc.d/init.d/functions 29 [ -e /etc/sysconfig/unbound ] && . /etc/sysconfig/unbound 38 …if [ ! -e ${rootdir}/etc/resolv.conf ] || /usr/bin/cmp -s /etc/resolv.conf ${rootdir}/etc/resolv.c… 39 cp -fp /etc/resolv.conf ${rootdir}/etc/resolv.conf 41 …if [ ! -e ${rootdir}/etc/localtime ] || /usr/bin/cmp -s /etc/localtime ${rootdir}/etc/localtime; t… 42 cp -fp /etc/localtime ${rootdir}/etc/localtime 62 for mountfile in /dev/log /dev/urandom /etc/localtime /etc/resolv.conf /var/run/unbound
|
/freebsd/sys/contrib/openzfs/contrib/debian/tree/zfs-initramfs/usr/share/initramfs-tools/hooks/ |
H A D | zdev | 39 if [ -e "/etc/udev/rules.d/$ii" ] 41 cp -p "/etc/udev/rules.d/$ii" "$DESTDIR/lib/udev/rules.d/" 47 echo " This file must be in the /etc/udev/rules.d or /lib/udev/rules.d directory." 57 if [ -f '/etc/default/zfs' -a -r '/etc/default/zfs' ] 59 mkdir -p "$DESTDIR/etc/default" 60 cp -a '/etc/default/zfs' "$DESTDIR/etc/default/" 63 if [ -d '/etc/zfs' -a -r '/etc/zfs' ] 65 mkdir -p "$DESTDIR/etc" 66 cp -a '/etc/zfs' "$DESTDIR/etc/"
|
/freebsd/share/examples/jails/ |
H A D | README | 23 $ cat jail.xxx.conf >> /etc/jail.conf 24 $ vi /etc/jail.conf 34 $ cp rc.conf.jails /etc/ 35 $ vi /etc/rc.conf.jails 37 $ sysrc rc_conf_files+=/etc/rc.conf.jails 38 # NB: Assumes /etc/jail.conf does not exist and jail_list="" 44 $ cp jail.xxx.conf /etc/ 45 $ vi /etc/jail.xxx.conf 55 $ cp rcjail.xxx.conf /etc/ 56 $ vi /etc/rcjail.xxx.conf [all …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.redir | 5 $awk '{ print >"foo" }' /etc/passwd 6 diff foo /etc/passwd || echo 'BAD: T.redir (print >"foo")' 9 $awk '{ print >>"foo" }' /etc/passwd 10 diff foo /etc/passwd || echo 'BAD: T.redir (print >>"foo")' 14 NR%2 == 0 { print >"foo" }' /etc/passwd 15 diff foo /etc/passwd || echo 'BAD: T.redir (print > and >>"foo")' 18 $awk '{ print | "cat >foo" }' /etc/passwd 19 diff foo /etc/passwd || echo 'BAD: T.redir (print | "cat >foo")' 31 $awk '{ print >"/dev/stderr" }' /etc/passwd 1>foo1 2>foo2 32 diff foo2 /etc/passwd || echo 'BAD: T.redir (print >"/dev/stderr")' [all …]
|
/freebsd/contrib/pf/authpf/ |
H A D | authpf.8 | 112 .Pa /etc/pf.conf 145 .Pa /etc/authpf/users/$USER/ 147 .Pa /etc/authpf/ . 151 .Pa /etc/authpf/users/$USER/ 164 .Pa /etc/authpf/authpf.conf 187 .Pa /etc/authpf/authpf.message 199 .Pa /etc/authpf/banned/ . 209 .Pa /etc/authpf/authpf.allow . 226 .Pa /etc/authpf/authpf.problem 281 .Pa /etc/authp [all...] |