$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=""
user.and root différente hostname, is it normal?
- SalixManiac
- Posts: 113
- Joined: 15. Apr 2022, 02:26
user.and root différente hostname, is it normal?
Colin Chapman “light is right” those last words "the middle pedal is for cowards"
Re: user.and root différente hostname, is it normal?
If you used gtkhostsetup to change the hostname, it will be applied upon reboot.
- SalixManiac
- Posts: 113
- Joined: 15. Apr 2022, 02:26
Re: user.and root différente hostname, is it normal?
darkstar always remains the hostname of root.If you used gtkhostsetup to change the hostname, it will be applied upon reboot.
Colin Chapman “light is right” those last words "the middle pedal is for cowards"
- SalixManiac
- Posts: 113
- Joined: 15. Apr 2022, 02:26
Re: user.and root différente hostname, is it normal?
gksu gtkhostsetup and reboot.
Colin Chapman “light is right” those last words "the middle pedal is for cowards"
Re: user.and root différente hostname, is it normal?
And what does
report?
Code: Select all
sudo hostname
- SalixManiac
- Posts: 113
- Joined: 15. Apr 2022, 02:26
Re: user.and root différente hostname, is it normal?
$sudo hostnameCode: Select all
sudo hostname
report?
coquelicot
Colin Chapman “light is right” those last words "the middle pedal is for cowards"
- SalixManiac
- Posts: 113
- Joined: 15. Apr 2022, 02:26
Re: user.and root différente hostname, is it normal?
but always,
$sudo dmesg
(root@darkstar)
$sudo find /etc/ssh/ -type f -exec grep -H 'darkstar' {} \;
/etc/ssh/ssh_host_ed25519_key.pub:ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO+CvUDEpzBjqOrAzOywjEbRuTgNbQwfhWENSpwuWkLd root@darkstar
$sudo dmesg
(root@darkstar)
$sudo find /etc/ssh/ -type f -exec grep -H 'darkstar' {} \;
/etc/ssh/ssh_host_ed25519_key.pub:ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO+CvUDEpzBjqOrAzOywjEbRuTgNbQwfhWENSpwuWkLd root@darkstar
Colin Chapman “light is right” those last words "the middle pedal is for cowards"
- SalixManiac
- Posts: 113
- Joined: 15. Apr 2022, 02:26
Re: user.and root différente hostname, is it normal?
the change of hostname user works perfectly; my question is, is it normal that the root hostname does not change?
two hostnames on one machine is this normal?
two hostnames on one machine is this normal?
Colin Chapman “light is right” those last words "the middle pedal is for cowards"