- Status Closed
- Percent Complete
- Task Type Security Issue
- Category Any
-
Assigned To
Emulatorman - Operating System All
- Severity Critical
- Priority Very High
- Reported Version Any
- Due in Version Starfix
-
Due Date
Undecided
- Votes
- Private
FS#1033 - [openrc] use procps-ng's "sysctl" by default instead of inetutils's "hostname" for hostname support
Description:
Use procps-ng's "sysctl" by default instead of inetutils's "hostname" for hostname support. Since [inetutils] is an extra dependency for openrc, it contains insecure commands like: ftp/rcp/rlogin/rsh/talk/telnet For security reasons, procps-ng should be the tool to handle hostname configuration through hostname init script because is a base package.
Additional info:
openrc 0.28-14
/etc/init.d/hostname
- hostname "$h" + case $(uname -s) in + GNU/Linux|Linux) + sysctl -qw kernel.hostname="$h" + ;; + *) + hostname "$h" + ;; + esac
$ pacman -Si openrc Repository : core Name : openrc Version : 0.28-14 Description : A dependency based init system that works with the system provided init program Architecture : x86_64 URL : https://wiki.gentoo.org/wiki/Project:OpenRC Licenses : BSD2 Groups : None Provides : None Depends On : psmisc pam Optional Deps : netifrc: network interface management scripts networkmanager: network connection manager and user applications Conflicts With : None Replaces : None Download Size : 196.71 KiB Installed Size : 1767.00 KiB Packager : André Silva <emulatorman@hyperbola.info> Build Date : Mon 07 May 2018 03:54:42 PM -03 Validated By : MD5 Sum SHA-256 Sum Signature
Steps to reproduce:
Set and run hostname init script
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task