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]