I think he did, perhaps he is wrong. > > > > > However, the effect of the "hostname" command is only until the > > > > > next reboot.
On Tue, May 07, 2002 at 07:17:00PM +0300, Amir Tal wrote: > On Tuesday 07 May 2002 19:12, you wrote: > > I think he actually meant that after you reboot the change dissapear. > > no, "he" didnt. > > > > > 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] > > -- > ----------------------------------------------- > [root@localhost /]# make love > make: stop : dont know how to make love > [root@localhost /]#ls > Amir Tal, > ICQ : 15748705 > http://www.whatsup.org.il > ----------------------------------------------- > -- <a href="http://eg-site.tripod.com">Eliran</a> Yesterday I parked my car in a tow-away zone... when I came back the entire area was missing... -- Stephen Wright ================================================================= 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]