Age | Commit message (Collapse) | Author |
|
|
|
[NETW-3012] Use netstat on Solaris to gather listening ports
|
|
Add support for Solaris services, run BOOT-5184 there
|
|
Extend German translation and add more translated statuses
|
|
Quote binary variables during SUID/GID enumeration
|
|
Use first e1000 interface and break after match (for hostid generation on Solaris)
|
|
Fixes problem #1077
|
|
Fixes cisofy/lynis#1078.
Signed-off-by: Simon Biewald <sbiewald@fam-biewald.de>
|
|
Fixes CISOfy/lynis#1075.
Before this commit, the interfaces "e1000g1" and "net0" were allowed.
The name "e1000g0" is appended to the list.
After finding an interface, the loop is interrupted now. As previously
"net0" was always used, even if another interface was available, the list
is reordered to "net0 e1000g1 e1000g0" to not break previous generations.
A typo is also fixed ("No interface found op Solaris ..." -> "No
interface found on").
Signed-off-by: Simon Biewald <simon@fam-biewald.de>
|
|
See-Also: HEAD^
Signed-off-by: Simon Biewald <simon@fam-biewald.de>
|
|
Test if /etc/grub.d is a directory
|
|
OpenSolaris distribution detection
|
|
Add NixOS and IPFire
|
|
Fixes cisofy/lynis#1068.
Signed-off-by: Simon Biewald <simon@fam-biewald.de>
|
|
Fixes cisofy/lynis#1040.
Signed-off-by: Simon Biewald <simon@fam-biewald.de>
|
|
New variable OPENSOLARIS to distringuish between Oracle Solaris and
OpenSolaris derivates. The edge case of OpenSolaris itself is not yet
solved, but OpenSolaris itself should be very rare these days.
Currently detected and distinguished Solaris variants are:
- Oracle Solaris >= 11 (exluding Solaris Express and OpenSolaris)
- Solaris < 11 (as "Sun Solaris")
- OmniosCE (but not old Omnios)
- OpenIndiana
- Shillix
- SmartOS
- Tribblix
- "Unknown Illumos" for unknown distributions based on Illumos
Lynis will fall back to "Sun Solaris" with "SunOS 5.X" for unknown
distributions.
|
|
The "new" service manager was included with Solaris 10 and not 11. It is
named "service management facility" (see smf(5) man page).
There is no IPS service manager, the name is only used for the package
manager of OpenSolaris and Solaris 11.
Signed-off-by: Simon Biewald <simon@fam-biewald.de>
|
|
Simplify tr hostname checking expression
|
|
Use `od` only for displaying invalid characters
|
|
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
|
|
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
|
|
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
|
|
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
|
|
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
|
|
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
|
|
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
|
|
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
|
|
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
|
|
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
|
|
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
|
|
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
|
|
Signed-off-by: Simon Biewald <simon@fam-biewald.de>
|
|
The first od is removed, the second time is moved to right before echoing
the characters. On certain OpenSolaris distributions, `od` always outputs
spaces, even if the input is empty. The spaces would have been converted
to !space!, thus Lynis detected invalid characters / old style configuration.
Resolves cisofy/lynis#1065.
Signed-off-by: Simon Biewald <simon@fam-biewald.de>
|
|
The Solaris IPS service manager (svcs) is now detected, and services
managed with it are enumerated.
Test BOOT-5184 now runs on Solaris, too, as SysV init scripts are
supported as well, even with IPS. SysV Init has been the traditional
init system on Solaris.
|
|
Solaris' tr does not support full regular expressions.
|
|
|
|
|
|
|
|
[ACCT-9626] Detect sysstat systemd unit
|
|
|
|
|
|
[AUTH-9284] Feature: gather locked accounts info
|
|
Alpine Improvements
|
|
Fix wc and head cmd when using busybox
|
|
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
|
|
|
|
+ add EN and FR up to date languages files
|
|
require pgrep before usage
|
|
[TIME-3185]: Change timesyncd synchronization file
|
|
|