From: dsv <dsv@mts.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] NIS troubles
Date: Wed Apr 18 17:19:12 2001
Message-ID: <3ADD948F.DBFF921F@mts.ru> (raw)
In-Reply-To: <14531214314.20010418182306@hounds.ru>
"Новомлинский Игорь" wrote:
>
> Добрый день, SilverFox !
>
> В 17:00 18 апреля 2001 г., Я получил Ваше письмо:
>
> S> Здравствуйте!
>
> S> Пытался установить Spring 2001 и сразу в просессе установки
> S> сказать использовать NIS , но не получилось.
> S> Не видит домена. Я так понял ипользуется для определения
> S> домена /bin/domainname, возвращает (none). Когда
> S> запустишь /bin/domainname имядомена, тогда он определяется и
> S> NIS начинает работать. Но после прерзагрузки опять про домен
> S> ничего не знает. Я создал /etc/DOMAINNAME, прописал туда домен
> S> и вставил строчку в /etc/rc.d/init.d/ypbind /bin/domainname -F /etc/DOMAINNAME.
> S> Пока работает. А как надо делать?
>
> надо добавить в /etc/sysconfig/network строку NISDOMAIN="mynisdomain"
Аналогичная проблема была у меня.
Строку NISDOMAIN="mynisdomain" в /etc/sysconfig/network вставить можно,
только я не нашел скрипта который использует этот NISDOMAIN:
$ cd /etc;grep -rl NISDOMAIN *
sysconfig/network
$
Как временное решение вставил кусок в rc.sysinit:
-------------------------
# Set the NIS domain name
if [ -n "$NISDOMAIN" ]; then
action "Setting NIS domain name $NISDOMAIN" nisdomainname $NISDOMAIN
else
nisdomainname ""
fi
-------------------------
Это криво, но работает.
С уважением,
dsv.
next prev parent reply other threads:[~2001-04-18 17:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-18 14:59 SilverFox
2001-04-18 15:23 ` îÏ×ÏÍÌÉÎÓËÉÊ éÇÏÒØ
2001-04-18 15:53 ` SilverFox
2001-04-18 17:19 ` dsv [this message]
2001-04-18 17:43 ` SilverFox
2001-04-18 18:01 ` SilverFox
2001-04-18 18:28 ` dsv
2001-04-18 22:27 ` SilverFox
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=3ADD948F.DBFF921F@mts.ru \
--to=dsv@mts.ru \
--cc=mandrake-russian@altlinux.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