Ask Your Question
1

hostname changed

asked 2015-07-09 06:24:42 -0600

bionan1 gravatar image

Forgive my poor english

Today the name of my computer in my fedora 22 instalation changed to "luckyluke".

I did not change the name of my computer. How it's possible?! What's going on? Any ideas? Virus? Malware?

Tx

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-07-22 00:01:47 -0600

That certainly depends on your setup. A function of dhcp is that you can set a hostname on the client that you receive from a host.

I would suggest you check audit and system logs to see when the change happened, and to see if that identifies what changed it.

The most common cause for this kind of issue is "human error". Usually through running scripts and forget or not knowing what they do; or having more than one user administrate the system and they aren't talking to one another. The log files is usually the best place to begin to figure out what these are.

edit flag offensive delete link more
1

answered 2015-07-22 09:14:14 -0600

sergiomb gravatar image

try command hostnamectl to see and set your hostname

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-07-09 06:24:42 -0600

Seen: 265 times

Last updated: Jul 22 '15