Troubleshooting the etc Directory

The cl-support script replicates the /etc directory, however, it excludes certain files, such as /etc/nologin, which prevents unprivileged users from logging into the system.

The following list shows the output from ls -l on the /etc directory structure, which cl-support creates.

etc Directory Contents

File
acpi
adduser.conf
alternatives
apm
apparmor
apparmor.d
apt
audisp
audit
bash.bashrc
bash_completion
bash_completion.d
bindresvport.blacklist
binfmt.d
ca-certificates
ca-certificates.conf
calendar
cloud
console-setup
containerd
cron.d
cron.daily
cron.hourly
cron.monthly
crontab
cron.weekly
cumulus
dbus-1
debconf.conf
debian_version
debsums-ignore
default
deluser.conf
depmod.d
dhcp
dhcpsnoop
discover.conf.d
discover-modprobe.conf
dnsmasq.conf
dnsmasq.d
docker
dpkg
e2fsck.conf
environment
etc
ethertypes
firefly_servo
fonts
freeipmi
frr
fstab
gai.conf
groff
group
group-
grub.d
gshadow
gshadow-
gss
hdparm.conf
hostapd
hostapd.conf
host.conf
hostname
hosts
hosts.allow
hosts.deny
hsflowd
hsflowd.conf
hw_init.d
image-release
init
init.d
initramfs-tools
inputrc
insserv
insserv.conf
insserv.conf.d
iproute2
issue
issue.net
kdump
kernel
ldap
ld.so.cache
ld.so.conf
ld.so.conf.d
libaudit.conf
libnl
linuxptp
lldpd.d
locale.alias
locale.gen
localtime
logcheck
login.defs
login.defs.cumulus
login.defs.cumulus-orig
logrotate.conf
logrotate.conf.cumulus
logrotate.conf.cumulus-orig
logrotate.d
lsb-release
lttng
lvm
machine-id
magic
magic.mime
mailcap
mailcap.order
manpath.config
mime.types
mke2fs.conf
mlx
modprobe.d
modules
modules-load.d
motd
motd.distrib
mtab
mysql
nanorc
netd.conf
netq
network
NetworkManager
networks
nginx
nsswitch.conf
ntp.conf
nvue
nvue-auth.yaml
nvue.d
openvswitch
opt
os-release
pam.conf
pam.d
pam_radius_auth.conf
passwd
passwd-
perl
profile
profile.cumulus
profile.cumulus-orig
profile.d
protocols
ptm.d
ptp4l.conf
python
python2.7
python3
python3.7
ras
rdnbrd.conf
resolv.conf
resolvconf
resolv.conf.bak
rmt
rpc
rsyslog.conf
rsyslog.conf.cumulus
rsyslog.conf.cumulus-orig
rsyslog.d
runit
screenrc
securetty
security
selinux
sensors3.conf
sensors.d
services
shadow
shadow-
shells
skel
smartd.conf
smartmontools
snmp
ssh
ssl
subgid
subgid-
subuid
subuid-
sudoers
sudoers.d
sv
synced
sysctl.conf
sysctl.d
systemd
terminfo
timezone
tmpfiles.d
ucf.conf
udev
ufw
update-motd.d
vim
vmware-tools
vrf
watchdog.conf
wgetrc
what-just-happened
X11
xattr.conf
xdg