From: "Dmitry V. Levin" <ldv@alt-linux.org>
To: Linux-Mandrake RE Mailing List <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] TMPDIR
Date: Mon Apr 9 16:58:01 2001
Message-ID: <20010409165950.A1644@ldv.office.alt-linux.org> (raw)
In-Reply-To: <3AD17150.F9C33C40@mts.ru>; from dsv@mts.ru on Mon, Apr 09, 2001 at 12:22:40PM +0400
[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]
On Mon, Apr 09, 2001 at 12:22:40PM +0400, dsv wrote:
> Обнаружил тут такую проблему:
>
> samba работает, конфиг правильный
> делаю:
>
> root# /etc/rc.d/init.d/smb stop
> root# /etc/rc.d/init.d/smb start
> root# smbclient -L <мой_хост>
> tree connect failed: ERRSRV - ERRinvnetname
>
> и мою samb'y никто не видит
>
> Установка loglevel=10 и анализ log.smb показал, что самба после рестарта
> при формировании списка ресурсов пытается писать в каталог /root/tmp, и
> естественно - permission denied.
>
> Виновник проблемы TMPDIR=/root/tmp в environ root'a.
>
> Хотелось бы знать насколько нужна эта переменная TMPDIR ?
Эта переменная (точнее, правильное значение этой переменной) - важная
часть концепции безопасности системы (о которой я скоро расскажу
подробнее).
В данном случае, если samba не приспособлена полностью к TMPDIR, временным
решением будет "unset TMPDIR" перед ее запуском.
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@alt-linux.org
ALT Linux Team http://www.altlinux.ru/
Fandra Project http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2001-04-09 16:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-09 12:23 dsv
2001-04-09 16:58 ` Dmitry V. Levin [this message]
2001-04-09 20:21 ` Owl
2001-04-09 22:09 ` Yuri Ryazantsev
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=20010409165950.A1644@ldv.office.alt-linux.org \
--to=ldv@alt-linux.org \
--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