LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-03-2001, 02:00 AM   #1
toxic53
Member
 
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

Thanks
 
Old 10-03-2001, 03:13 AM   #2
lordevereste
Member
 
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, 09:29 PM   #3
ejtbrown
Member
 
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.
 
  


Reply


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:57 AM.

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