Services
Post

Services

List Inetd Services

1
ls -al /etc/init.d/ 

List xinetd Services

1
ls -al /etc/xinetd.d/
Contents of Xinetd services
1
cat /etc/xinetd.d/*

Find services in /etc/init.d not owned by root and list their permissions

1
find /etc/init.d/ ! -uid 0 -type f 2>/dev/null |xargs ls -la `ìf the results are the ls to the current folder, no services are running`

List Running Services (Debian/CentOS/Redhat/Ubuntu)

1
service --status-all
1
service <nginx> status

Samba Configuration

1
cat /etc/samba/smb.conf

MySQL Configuration

1
cat /etc/mysql/my.cnf

OpenLDAP Configuration

1
cat /etc/openldap/ldap.conf

Apache2 Configuration

1
cat /etc/apache2/apache2.conf

Httpd configuration

1
cat /etc/httpd.conf

Find all .conf Files

1
find / -name *.conf 2> /dev/null