/freebsd/usr.sbin/etcupdate/tests/ |
H A D | conflicts_test.sh | 73 mkdir -p $OLD/etc $NEW/etc $TEST/etc 83 :copyright=/etc/COPYRIGHT 88 :welcome=/etc/motd: 100 mkdir -p $OLD/etc/mail $NEW/etc/mail $TEST/etc/mail 221 conflict /etc/login.conf 229 resolved /etc/login.conf 238 file /etc/login.conf.db 239 resolved /etc/login.conf 257 file /etc/login.conf.db 258 resolved /etc/login.conf [all …]
|
H A D | preworld_test.sh | 75 mkdir -p $OLD/etc 121 $OLD/etc/group > $TEST/etc/group 128 rm $TEST/etc/inetd.conf 129 touch $TEST/etc/localtime 136 $SRC/etc/master.passwd 139 $SRC/etc/group 213 missing /etc/inetd.conf 217 file /etc/pwd.db 218 file /etc/spwd.db 235 M /etc/group [all …]
|
/freebsd/libexec/rc/ |
H A D | netstart | 35 /etc/rc.d/devd ${_start} 36 /etc/rc.d/hostid ${_start} 38 /etc/rc.d/ipmon ${_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} 44 /etc/rc.d/ppp ${_start} 45 /etc/rc.d/ipfw ${_start} 48 /etc/rc.d/routed ${_start} [all …]
|
/freebsd/contrib/sendmail/ |
H A D | FREEBSD-upgrade | 29 etc/Makefile 32 etc/defaults/rc.conf 33 etc/mail/Makefile 34 etc/mail/README 35 etc/mail/access.sample 36 etc/mail/aliases 37 etc/mail/mailer.conf 42 etc/mtree/BSD.usr.dist 43 etc/mtree/BSD.var.dist 46 etc/rc [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A D | unbound.init_yocto | 22 . /etc/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 | 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/release/tools/ |
H A D | openstack.conf | 17 echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf 20 echo 'UseDNS no' >> ${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/sysctl.conf 47 echo 'debug.debugger_on_panic=0' >> ${DESTDIR}/etc/sysctl.conf [all …]
|
H A D | arm.subr | 112 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 114 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 116 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 118 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf 129 >> ${CHROOTDIR}/${DESTDIR}/etc/ttys 131 >> ${CHROOTDIR}/${DESTDIR}/etc/ttys 133 >> ${CHROOTDIR}/${DESTDIR}/etc/ttys 199 > ${CHROOTDIR}/${DESTDIR}/etc/fstab 201 >> ${CHROOTDIR}/${DESTDIR}/etc/fstab 203 >> ${CHROOTDIR}/${DESTDIR}/etc/fstab [all …]
|
H A D | vagrant.conf | 26 echo 'ifconfig_DEFAULT="SYNCDHCP"' >> ${DESTDIR}/etc/rc.conf 29 echo 'sshd_enable="YES"' >> ${DESTDIR}/etc/rc.conf 31 echo 'UseDNS no' >> ${DESTDIR}/etc/ssh/sshd_config 34 echo 'sendmail_enable="NO"' >> ${DESTDIR}/etc/rc.conf 35 echo 'sendmail_submit_enable="NO"' >> ${DESTDIR}/etc/rc.conf 36 echo 'sendmail_outbound_enable="NO"' >> ${DESTDIR}/etc/rc.conf 37 echo 'sendmail_msp_queue_enable="NO"' >> ${DESTDIR}/etc/rc.conf 53 echo 'vagrant ALL=(ALL:ALL) NOPASSWD: ALL' >> ${DESTDIR}/usr/local/etc/sudoers 64 echo 'debug.trace_on_panic=1' >> ${DESTDIR}/etc/sysctl.conf 65 echo 'debug.debugger_on_panic=0' >> ${DESTDIR}/etc/sysctl.conf [all …]
|
H A D | gce.conf | 21 echo 'search google.internal' > ${DESTDIR}/etc/resolv.conf 22 echo 'nameserver 169.254.169.254' >> ${DESTDIR}/etc/resolv.conf 23 echo 'nameserver 8.8.8.8' >> ${DESTDIR}/etc/resolv.conf 29 sed -i -e '/KEYWORD: firstboot/d' /etc/rc.d/growfs 31 cat << EOF >> ${DESTDIR}/etc/rc.conf 53 ${DESTDIR}/etc/hosts 56 cat << EOF > ${DESTDIR}/etc/ntp.conf 67 cat << EOF >> ${DESTDIR}/etc/syslog.conf 71 cat << EOF >> ${DESTDIR}/etc/ssh/sshd_config 79 cat << EOF >> ${DESTDIR}/etc/crontab [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 ] 20 elif [ ! -f /etc/group ] 36 cp -p /etc/master.passwd $bak/master.passwd.bak || rc=3 53 cp -p /etc/group $bak/group.bak || rc=3 56 if ! cmp -s $bak/group.bak /etc/group 60 diff ${daily_diff_flags} $bak/group.bak /etc/group 62 cp -p /etc/group $bak/group.bak || rc=3 65 if [ -f /etc/group ] [all …]
|
H A D | 210.backup-aliases | 7 if [ -r /etc/defaults/periodic.conf ] 9 . /etc/defaults/periodic.conf 15 if [ ! -f /etc/mail/aliases ] 30 cp -p /etc/mail/aliases $bak/aliases.bak || rc=3 33 if ! cmp -s $bak/aliases.bak /etc/mail/aliases 37 diff ${daily_diff_flags} $bak/aliases.bak /etc/mail/aliases 39 cp -p /etc/mail/aliases $bak/aliases.bak || rc=3
|
/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 81 echo "#sshd_enable=\"YES\"" >> etc/rc.conf 87 /usr/sbin/pwd_mkdb -d etc etc/master.passwd 92 pprint 2 "configure nanobsd /etc" 96 touch etc/diskless 114 rm -f conf/default/etc/remount [all …]
|
/freebsd/tools/regression/security/cap_test/ |
H A D | cap_test_relative.c | 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() 73 CHECK_SYSCALL_SUCCEEDS(openat, etc, "passwd", O_RDONLY); in test_relative() 113 CHECK_SYSCALL_SUCCEEDS(openat, etc, "passwd", O_RDONLY); in test_relative() 127 CHECK_NOTCAPABLE(openat, etc, "/etc/passwd", O_RDONLY); in test_relative() 132 CHECK_NOTCAPABLE(openat, etc, "../etc/passwd", O_RDONLY); in test_relative() [all …]
|
/freebsd/libexec/nuageinit/tests/ |
H A D | nuage.sh | 9 if [ ! -f etc/rc.conf.d/hostname ]; then 12 atf_check -o inline:"hostname=\"myhostname\"\n" cat etc/rc.conf.d/hostname 30 mkdir etc 31 printf "root:*:0:0::0:0:Charlie &:/root:/bin/csh\n" > etc/master.passwd 32 pwd_mkdb -d etc etc/master.passwd 33 printf "wheel:*:0:root\n" > etc/group 36 …sible_username User:/home/impossible_username:/bin/sh\n" grep impossible_username etc/master.passwd 41 mkdir etc 42 printf "wheel:*:0:root\n" > etc/group 44 atf_check -o inline:"impossible_groupname:*:1001:\n" grep impossible_groupname etc/group
|
H A D | nuageinit.sh | 57 mkdir -p etc 58 cat > etc/master.passwd <<EOF 62 pwd_mkdb -d etc ${here}/etc/master.passwd 63 cat > etc/group <<EOF 103 mkdir -p etc 104 cat > etc/master.passwd <<EOF 108 pwd_mkdb -d etc ${here}/etc/master.passwd 109 cat > etc/group <<EOF 188 mkdir -p etc 193 pwd_mkdb -d etc ${here}/etc/master.passwd [all …]
|
/freebsd/sys/contrib/openzfs/contrib/debian/ |
H A D | not-installed | 4 etc/default/zfs 5 etc/init.d 6 etc/sudoers.d 7 etc/zfs/vdev_id.conf.alias.example 8 etc/zfs/vdev_id.conf.multipath.example 9 etc/zfs/vdev_id.conf.sas_direct.example 10 etc/zfs/vdev_id.conf.sas_switch.example 11 etc/zfs/vdev_id.conf.scsi.example 12 etc/zfs/zfs-functions
|
/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 …]
|
H A D | T.getline | 27 while (getline <"/etc/passwd") 32 cmp -s /etc/passwd foo || echo 'BAD: T.getline (getline <file)' 34 cat /etc/passwd | $awk ' 41 cmp -s /etc/passwd foo || echo 'BAD: T.getline (getline <"-")' 49 ' /etc/passwd >foo 50 cmp -s /etc/passwd foo || echo 'BAD: T.getline (getline <arg)' 58 ' /etc/passwd >foo 59 cmp -s /etc/passwd foo || echo 'BAD: T.getline (getline x <arg)' 67 ' /etc/passwd >foo 68 cmp -s /etc/passwd foo || echo 'BAD: T.getline (cat arg | getline)' [all …]
|
/freebsd/contrib/ntp/sntp/scripts/ |
H A D | cvo.sh | 29 if test -f /etc/os-release 31 . /etc/os-release 39 elif test -f /etc/debian_version 41 set `cat /etc/debian_version` 44 elif test -f /etc/mandrake-release 46 set `cat /etc/mandrake-release` 49 elif test -f /etc/redhat-release 51 set `cat /etc/redhat-release` 77 elif test -f /etc/slackware-version 82 elif test -f /etc/SuSE-release [all …]
|
/freebsd/crypto/openssh/ |
H A D | buildpkg.sh.in | 213 mkdir -p $FAKE_ROOT${TEST_DIR}/etc/init.d 216 chmod 744 $FAKE_ROOT${TEST_DIR}/etc/init.d/${SYSVINIT_NAME} 273 $TEST_DIR/etc/rc0.d/${SYSVINITSTOPT}${SYSVINIT_NAME} 0 1 274 $TEST_DIR/etc/rc2.d/${SYSVINITSTART}${SYSVINIT_NAME} 0 1 300 ${TEST_DIR}/etc/init.d/${SYSVINIT_NAME} stop 321 [ "$RCS_D" = yes ] && mkdir -p ${TEST_DIR}/etc/rcS.d 322 mkdir -p ${TEST_DIR}/etc/rc0.d 323 [ "$RC1_D" = no ] || mkdir -p ${TEST_DIR}/etc/rc1.d 324 mkdir -p ${TEST_DIR}/etc/rc2.d 430 ${TEST_DIR}/etc/init.d/${SYSVINIT_NAME} start [all …]
|
/freebsd/sbin/dhclient/ |
H A D | dhclient-script | 220 if [ -f /etc/resolv.conf.tail ]; then 221 cat /etc/resolv.conf.tail >>$tmpres 242 if [ -f /etc/resolv.conf ]; then 243 cat /etc/resolv.conf > /etc/resolv.conf.save 245 cat $tmpres > /etc/resolv.conf 248 chown -RL root:wheel /etc/resolv.conf 249 chmod -RL 644 /etc/resolv.conf 269 . /etc/dhclient-exit-hooks 307 . /etc/dhclient-enter-hooks 372 if [ -f /etc/resolv.conf.save ]; then [all …]
|
/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 44 $ cp jail.xxx.conf /etc/ 45 $ vi /etc/jail.xxx.conf 55 $ cp rcjail.xxx.conf /etc/ 56 $ vi /etc/rcjail.xxx.conf 60 $ sysrc rc_conf_files+=/etc/rcjail.xxx.conf [all …]
|
/freebsd/tools/tools/nanobsd/pcengines/Files/root/ |
H A D | change_password | 33 cfgslice=`grep '/cfg' /etc/fstab | cut -d \ -f 1` 37 cp /etc/master.passwd /etc/passwd /etc/pwd.db /etc/spwd.db /etc/group /cfg
|