Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-03-2001, 01:00 AM   #1
Registered: Sep 2001
Posts: 30

Rep: Reputation: 15
Question anyone

i'm tired of everytime first logging in as root then typing in hostname somename then loggin out and log in as myself only to set the stupid hostname.... does anyone know how to set it permenantly??? what file do I edit ... I've tried lots of things I've gotten errors such as only root can change hostname ect.. ect... I think I got that one by editing my .bashrc

Old 10-03-2001, 02:13 AM   #2
Registered: May 2001
Posts: 46

Rep: Reputation: 15
Use 'Control centre' and LOGIN

I'm new to linux too... I'm using mandrake 8.0 (I have redhat and tried suse too but, Mandrake is much easier but, not a breeze for me).
There should be a 'user control' icon, in Mandrake it's a 'mandrake control center'... There you will see LOGIN options and set NO Password requirement and even NO Login... There will definately be a program/application or configuration option for you,,,just click around and if it demands a password it has POWER!
As i said, I'm new too.=)
Old 10-12-2001, 08:29 PM   #3
Registered: Mar 2001
Location: Santa Maria CA USA
Distribution: RedHat 6.0 & RedHat 7.0
Posts: 36

Rep: Reputation: 15
Checkout the files /etc/HOSTNAME and /etc/sysconfig/network. I'm pretty sure that if you set the host name in these, it'll be taken care of. If that does not work, check out the man page for the hostname command. It might give you some tips on how to set it permanently.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration