Docs cheatsheet (delete me)
[server_name]
- server name
[image_name]
- os image name
[image_md5]
- os image md5sum
[image_sha256]
- os image sha256sum
[image_download]
- os image download link
[image_size]
- os image size
[kernel_version]
- kernel version number (uname -r
)
[kernel_oob_config]
- is kernel out-of-box (true/false)
[kernel_config_name]
- custom kernel config name
[kernel_config_download]
- custom kernel config download link
[config_tar]
- /etc config tar download link
[tree_txt]
- tree.txt
download link
(things may change, will work on script for automation)
[server_name] Documentation
Base image
Kernel
Users/Groups
Partitions
Mounts
Cron jobs
Daemons
3rd Party Apps
Environment variables
Package list
IP/Networking
Firewall
Ports
Overall configuration
Tree
Image: [image_name]
Size: [image_size]
MD5: [image_md5]
SHA256: [image_sha256]
Download: [image_name]
for user in $( awk -F: ' {print $1}' /etc/passwd) ; do groups $user | sed ' s/ //g' -; done
fdisk -l
df -h | grep ^/dev
lsblk
blkid
mount
for user in $( awk -F: ' {print $1}' /etc/passwd) ; do echo $user && crontab -u $user -l; done
do this by hand
for user in $( awk -F: ' {print $1}' /etc/passwd) ; do echo $user && su -c " printenv" $user ; done
dpkg -l
ip a
iptables -S
make this by hand, example:
SSH 0.0.0.0:2137
FTP 0.0.0.0:25521