Home
last modified time | relevance | path

Searched refs:etc (Results 1 – 25 of 1585) sorted by relevance

12345678910>>...64

/freebsd-14.2/usr.sbin/etcupdate/tests/
H A Dconflicts_test.sh73 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 Dpreworld_test.sh75 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-14.2/libexec/rc/
H A Dnetstart38 /etc/rc.d/devd ${_start}
39 /etc/rc.d/hostid ${_start}
41 /etc/rc.d/ipmon ${_start}
43 /etc/rc.d/ipnat ${_start}
44 /etc/rc.d/ipfs ${_start}
45 /etc/rc.d/netif ${_start}
46 /etc/rc.d/ipsec ${_start}
47 /etc/rc.d/ppp ${_start}
48 /etc/rc.d/ipfw ${_start}
51 /etc/rc.d/routed ${_start}
[all …]
/freebsd-14.2/contrib/sendmail/
H A DFREEBSD-upgrade31 etc/Makefile
34 etc/defaults/rc.conf
35 etc/mail/Makefile
36 etc/mail/README
37 etc/mail/access.sample
38 etc/mail/aliases
39 etc/mail/mailer.conf
44 etc/mtree/BSD.usr.dist
45 etc/mtree/BSD.var.dist
48 etc/rc
[all …]
/freebsd-14.2/contrib/unbound/contrib/
H A Dunbound.init_yocto22 . /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 Dunbound.init22 . /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 Dunbound.init_fedora22 . /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-14.2/release/tools/
H A Doci-image-static.conf10 mtree -deU -p $m/ -f /etc/mtree/BSD.root.dist > /dev/null
11 mtree -deU -p $m/var -f /etc/mtree/BSD.var.dist > /dev/null
12 mtree -deU -p $m/usr -f /etc/mtree/BSD.usr.dist > /dev/null
14 mtree -deU -p $m/usr/lib -f /etc/mtree/BSD.debug.dist > /dev/null
16 cp /etc/master.passwd $m/etc
17 pwd_mkdb -p -d $m/etc $m/etc/master.passwd || return $?
18 cp /etc/group $m/etc || return $?
19 cp /etc/termcap.small $m/etc/termcap.small || return $?
20 cp /etc/termcap.small $m/usr/share/misc/termcap || return $?
31 mkdir -p $m/usr/local/etc/pkg/repos
[all …]
H A Dopenstack.conf17 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 Darm.subr109 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf
111 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf
113 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf
115 >> ${CHROOTDIR}/${DESTDIR}/etc/devd.conf
126 >> ${CHROOTDIR}/${DESTDIR}/etc/ttys
128 >> ${CHROOTDIR}/${DESTDIR}/etc/ttys
130 >> ${CHROOTDIR}/${DESTDIR}/etc/ttys
201 > ${CHROOTDIR}/${DESTDIR}/etc/fstab
203 >> ${CHROOTDIR}/${DESTDIR}/etc/fstab
205 >> ${CHROOTDIR}/${DESTDIR}/etc/fstab
[all …]
H A Dvagrant.conf26 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) NOPASSWD: ALL' >> ${DESTDIR}/usr/local/etc/sudoers
63 echo 'debug.trace_on_panic=1' >> ${DESTDIR}/etc/sysctl.conf
64 echo 'debug.debugger_on_panic=0' >> ${DESTDIR}/etc/sysctl.conf
[all …]
H A Dec2.conf34 echo 'net.inet6.ip6.dad_count=0' >> ${DESTDIR}/etc/sysctl.conf
81 ${DESTDIR}/etc/ssh/sshd_config
85 ${DESTDIR}/etc/freebsd-update.conf
90 ${DESTDIR}/etc/ntp.conf
93 cat > ${DESTDIR}/etc/autofs/special_efs <<'EOF'
107 chmod 755 ${DESTDIR}/etc/autofs/special_efs
118 echo 'ifconfig_DEFAULT="SYNCDHCP accept_rtadv"' >> ${DESTDIR}/etc/rc.conf
123 echo 'dhclient_arpwait="NO"' >> ${DESTDIR}/etc/rc.conf
126 echo 'ipv6_activate_all_interfaces="YES"' >> ${DESTDIR}/etc/rc.conf
127 echo 'rtsold_enable="YES"' >> ${DESTDIR}/etc/rc.conf
[all …]
H A Dgce.conf21 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-14.2/usr.sbin/periodic/etc/daily/
H A D200.backup-passwd7 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 …]
/freebsd-14.2/tools/tools/nanobsd/rescue/
H A Dcommon74 echo "hostname=\"rescue\"" > etc/rc.conf
75 echo "font8x14=\"iso15-8x14\"" >> etc/rc.conf
76 echo "font8x16=\"iso15-8x16\"" >> etc/rc.conf
77 echo "font8x8=\"iso15-8x8\"" >> etc/rc.conf
78 echo "keymap=\"german.iso\"" >> etc/rc.conf
80 echo "#sshd_enable=\"YES\"" >> etc/rc.conf
86 /usr/sbin/pwd_mkdb -d etc etc/master.passwd
91 pprint 2 "configure nanobsd /etc"
95 touch etc/diskless
113 rm -f conf/default/etc/remount
[all …]
/freebsd-14.2/tools/regression/security/cap_test/
H A Dcap_test_relative.c59 REQUIRE(etc = open("/etc/", O_RDONLY)); in test_relative()
60 CHECK_SYSCALL_SUCCEEDS(cap_getrights, etc, &rights); in test_relative()
63 MAKE_CAPABILITY(etc_cap, etc, CAP_READ); in test_relative()
64 MAKE_CAPABILITY(etc_cap_ro, etc, CAP_READ | CAP_LOOKUP); in test_relative()
65 MAKE_CAPABILITY(etc_cap_base, etc, baserights); in test_relative()
66 MAKE_CAPABILITY(etc_cap_all, etc, CAP_MASK_VALID); in test_relative()
74 CHECK_SYSCALL_SUCCEEDS(openat, etc, "passwd", O_RDONLY); in test_relative()
114 CHECK_SYSCALL_SUCCEEDS(openat, etc, "passwd", O_RDONLY); in test_relative()
128 CHECK_NOTCAPABLE(openat, etc, "/etc/passwd", O_RDONLY); in test_relative()
133 CHECK_NOTCAPABLE(openat, etc, "../etc/passwd", O_RDONLY); in test_relative()
[all …]
/freebsd-14.2/libexec/nuageinit/tests/
H A Dnuageinit.sh71 mkdir -p etc
76 pwd_mkdb -d etc "${PWD}"/etc/master.passwd
77 cat > etc/group << EOF
121 mkdir -p etc
126 pwd_mkdb -d etc "${PWD}"/etc/master.passwd
198 mkdir -p etc
203 pwd_mkdb -d etc "${PWD}"/etc/master.passwd
225 mkdir -p etc
230 pwd_mkdb -d etc "${PWD}"/etc/master.passwd
271 mkdir -p etc
[all …]
H A Dnuage.sh17 if [ ! -f etc/rc.conf.d/hostname ]; then
20 atf_check -o inline:"hostname=\"myhostname\"\n" cat etc/rc.conf.d/hostname
42 mkdir etc
43 printf "root:*:0:0::0:0:Charlie &:/root:/bin/sh\n" > etc/master.passwd
44 pwd_mkdb -d etc etc/master.passwd
45 printf "wheel:*:0:root\n" > etc/group
48 …sible_username User:/home/impossible_username:/bin/sh\n" grep impossible_username etc/master.passwd
53 mkdir etc
54 printf "wheel:*:0:root\n" > etc/group
56 atf_check -o inline:"impossible_groupname:*:1001:\n" grep impossible_groupname etc/group
/freebsd-14.2/sys/contrib/openzfs/contrib/debian/
H A Dnot-installed4 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-14.2/contrib/one-true-awk/testdir/
H A DT.redir5 $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 DT.getline27 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-14.2/contrib/ntp/sntp/scripts/
H A Dcvo.sh29 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-14.2/crypto/openssh/
H A Dbuildpkg.sh.in213 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-14.2/sbin/dhclient/
H A Ddhclient-script220 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-14.2/share/examples/jails/
H A DREADME23 $ 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 …]

12345678910>>...64