From: cornet <cornet@zmail.ru>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: Re: [mdk-re] hostname
Date: Thu Mar 15 09:40:12 2001
Message-ID: <3AB064A5.6DE0FF06@zmail.ru> (raw)
In-Reply-To: <3AB05B01.9C010CBB@oberon.novocybersk.ru>
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 их не изменит сразу же. Тем более, что имя хоста итак
уже другое, вопрос чисто косметический, что бы на ологине отображалось
правильно.
--
******** FIRE & STEEL ********
next prev parent reply other threads:[~2001-03-15 9:40 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 [this message]
2001-03-15 9:52 ` Maxim Savrilov
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=3AB064A5.6DE0FF06@zmail.ru \
--to=cornet@zmail.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