user.and root différente hostname, is it normal?
Posted: 28. Jun 2022, 17:08
$uname -n
coquelicot
$sudo dmesg
(root@darkstar)
----------------------------------------------------------------
$sudo find / -type f -exec grep -H 'coquelicot' {} \;
/etc/HOSTNAME:coquelicot
/etc/rc.d/rc.M: echo "coquelicot.example.net" > /etc/HOSTNAME
/etc/rc.d/rc.M: /bin/hostname coquelicot
/etc/hosts:127.0.0.1 coquelicot
$sudo find / -type f -exec grep -H 'darkstar' {} \;
Mot de passe :
/etc/ssh/ssh_host_ed25517_key.pub:ssh-ed25517 AAAAC3NzaC1lZDI1NTE6AAAAIO+CvUDEpzBjqOrAzOywjEbRuTgNbQwfhWENSpwuWkLd root@darkstar
i have a kernel based on the slackware source kernel but without: CONFIG_DEFAULT_HOSTNAME="darkstar"
only
CONFIG_DEFAULT_HOSTNAME=""
coquelicot
$sudo dmesg
(root@darkstar)
----------------------------------------------------------------
$sudo find / -type f -exec grep -H 'coquelicot' {} \;
/etc/HOSTNAME:coquelicot
/etc/rc.d/rc.M: echo "coquelicot.example.net" > /etc/HOSTNAME
/etc/rc.d/rc.M: /bin/hostname coquelicot
/etc/hosts:127.0.0.1 coquelicot
$sudo find / -type f -exec grep -H 'darkstar' {} \;
Mot de passe :
/etc/ssh/ssh_host_ed25517_key.pub:ssh-ed25517 AAAAC3NzaC1lZDI1NTE6AAAAIO+CvUDEpzBjqOrAzOywjEbRuTgNbQwfhWENSpwuWkLd root@darkstar
i have a kernel based on the slackware source kernel but without: CONFIG_DEFAULT_HOSTNAME="darkstar"
only
CONFIG_DEFAULT_HOSTNAME=""