I have an application that I want to be able to change the hostname in Linux. Currently doing so by running the hostname command. I don't want to set CAP_SYS_ADMIN either. I also don't want to edit /etc/hostname and reboot.
Is there a capability that only just allows changing the hostname? If not what are my options?
Aucun commentaire:
Enregistrer un commentaire