From: Maxim Savrilov <Maxim.Savrilov@oberon.novocybersk.ru> To: mandrake-russian@linuxteam.iplabs.ru Subject: Re: [mdk-re] hostname Date: Thu Mar 15 09:52:13 2001 Message-ID: <3AB06738.9C73EB5E@oberon.novocybersk.ru> (raw) In-Reply-To: <3AB064A5.6DE0FF06@zmail.ru> cornet wrote: > Maxim Savrilov wrote: > > > > Vyt wrote: > > > > > 14 Март 2001 18:00, cornet написал: > > > > Vyt wrote: > > > > > Hello, All > > > > > > > > > > Подскажите, пожалуйста, как бы заменить hostname в экране логина? > > > > > А то имя компа давно другое, а на экране гордо: > > > > > > > > > > <...> > > > > > xxx Bogomips Total > > > > > old_hostname > > > > > > > > > > Перегружать ради этого не буду, но выглядит странно :) > > > > > > > > Подправить файл /etc/issue и поубивать процессы mingetty. Они сами > > > > восстановятся и на соответствующих консолях будет новое имя :-) > > > > Только что опробовал -- работает. > > > > > > Спасибо, у меня тоже :) > > > > > > > а можно просто сказать > > hostname new.host.name > > ;) > > Можно, но результат будет виден только после перезагрузки ;-)) неа ;) > А Vyt как раз не хотел перезагружать тачку. Дело в том, что файлы > /etc/issue и /etc/issue.net формируются в момент загрузки системы и > команда hostname их не изменит сразу же. Тем более, что имя хоста итак > уже другое, вопрос чисто косметический, что бы на ологине отображалось > правильно. пардон всем, а просто забыл, что я у себя обнуляю /etc/issue & /etc/issue.net и в /etc/rc.d/rc.local комментарю строки, работающие с этими файлами, так что у меня hostname видно только в bash prompt так что впособ видимо такой: изменить все нужные сетевые настройки hostname new.host.name /etc/rc.d/rc.local или та их часть, что работает с /etc/issue* a? Эх, мне бы ваши проблемы :( ;))) -- Оптимисты учат английский, пессимисты - китайский, а реалисты - устройство АКМ Maxim Savrilov http://www.novocybersk.ru/ --
next prev parent reply other threads:[~2001-03-15 9:52 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-03-14 17:46 Vyt 2001-03-14 17:57 ` cornet 2001-03-14 18:11 ` Vyt 2001-03-15 9:00 ` Maxim Savrilov 2001-03-15 9:40 ` cornet 2001-03-15 9:52 ` Maxim Savrilov [this message] 2001-03-15 10:10 ` cornet 2001-03-15 11:51 ` Vyt 2001-03-15 20:59 ` Sergei 2001-03-14 18:03 ` Sergey Vlasov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3AB06738.9C73EB5E@oberon.novocybersk.ru \ --to=maxim.savrilov@oberon.novocybersk.ru \ --cc=mandrake-russian@linuxteam.iplabs.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git