I think he actually meant that after you reboot the change dissapear.

On Tue, May 07, 2002 at 07:01:19PM +0300, Amir Tal wrote:
> On Tuesday 07 May 2002 18:38, you wrote:
> > On Tue, May 07, 2002, Amir Tal wrote about "Re: Nicknames for my Hostname":
> > > > However, the effect of the "hostname" command is only until the next
> > > > reboot.
> > >
> > > not 100% correct. logout and login are enough, at least for mandrake and
> > > redhat.
> >
> > Enough for what? Do you mean that after a login/logout the hostname gets
> > reverted to "localhost"? Or that editing /etc/hosts and logging out is
> > enough to set the hostname?
> 
> using the "hostname" command is enough. other users will be effected when they 
> login the next time :
> 
> [root@whatsup tal]# hostname
> whatsup.homelinux.org
> [root@whatsup tal]# hostname nadav.look.at.this
> [root@whatsup tal]# hostname
> nadav.look.at.this
> [root@whatsup tal]# hostname whatsup.homelinux.org
> [root@whatsup tal]# hostname
> whatsup.homelinux.org
> [root@whatsup tal]#
> 
> after "hostname nadav.look.at.this" the hostname DID change, and it will stay 
> that way until the next time it will be changed. reboot will NOT set it back 
> to localhost.
> 
> 
> > I find that very hard to believe. It is not the "Unix Way". And what
> > happens if two people are logged in at the same time? Logging out (whatever
> > that means) should not have such effects.
> 
> like i said - other users will be effected in their next login.
> this is RH72 btw... same goes for mandrake 8.2 and suse 7.3 .
> didnt try on anything else (yet)
> 
> -- 
> -----------------------------------------------
> [root@localhost /]# make love
> make: stop : dont know how to make love
> [root@localhost /]#ls
> Amir Tal,
> ICQ : 15748705
> http://www.whatsup.org.il
> -----------------------------------------------
> 
> ================================================================To unsubscribe, send 
>mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 
> 

-- 
                <a href="http://eg-site.tripod.com";>Eliran</a>

A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders, give
orders, cooperate, act alone, solve equations, analyze a new problem,
pitch manure, program a computer, cook a tasty meal, fight efficiently,
die gallantly. Specialization is for insects.
        -- Robert A. Heinlein, "Time Enough for Love"

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to