Skip to content

Commit d7a5a57

Browse files
authored
Update READme.md
1 parent 4bff250 commit d7a5a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nexus-installation/READme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
```sh
1818
#As a good security practice, Nexus is not advised to run nexus service as a root user,
1919
# so create a new user called nexus and grant sudo access to manage nexus services as follows.
20-
sudo hostname nexus
20+
sudo hostnamectl set-hostname nexus
2121
sudo useradd nexus
2222
# Grand sudo access to nexus user
2323
sudo echo "nexus ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/nexus

0 commit comments

Comments
 (0)