From: "Dmitry V. Levin" <ldv@alt-linux.org>
To: ALT Linux Spring mailing list <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Re: [mdk-re] Re: окружение
Date: Mon Aug 13 14:42:15 2001
Message-ID: <20010813131530.H11113@ldv.office.alt-linux.org> (raw)
In-Reply-To: <20010812142031.A2006@localhost.localdomain>; from mhz@alt-linux.org on Sun, Aug 12, 2001 at 02:20:31PM +0400
[-- Attachment #1: Type: text/plain, Size: 1466 bytes --]
On Sun, Aug 12, 2001 at 02:20:31PM +0400, Mikhail Zabaluev wrote:
> > >>> Каждый раз выставляю переменную MY=/home export MY
> > >>> Как сделать так чтобы она была выставлена раз и навсегда для всех???
> >
> > >> Если в качестве shell используется bash, то в ~/.profile
> > >> export MY=/home
> >
> > > В файл etc/bashrc записать указанную выше строчку. Это для bash.
> >
> > Я прочел этот thread. Почему-то все считают само собой разумеющимся, что
> > речь идет о bash. Я же хотел бы задать тот же самый вопрос, что автор
> > thread, только без каких-то ограничений на shell.
> >
> > Итак, как установить Environment variable, чтобы ее "видели" все
> > пользователи, вне зависимости от того, является ли их оболочка tcsh, bash
> > или minesweeper?
> > /* аналог
> > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
> > в NT */
>
> Такой возможности (пока) нет.
Стандартное решение как раз есть:
См. /etc/security/pam_env.conf, /etc/pam.d/system-auth, а также
/usr/share/doc/pam-doc-0.75/txts/pam.txt.bz2 на тему pam_env.
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-08-13 14:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-07 13:43 [mdk-re] окружение Bao Chen
2001-08-07 15:17 ` Antonio
2001-08-08 7:32 ` Sergei
2001-08-12 12:49 ` Re[2]: [mdk-re] ÏËÒÕÖÅÎÉÅ Henri Bourbon
2001-08-12 13:53 ` [mdk-re] Re: окружение Mikhail Zabaluev
2001-08-13 14:42 ` Dmitry V. Levin [this message]
2001-08-12 14:19 ` [mdk-re] Re: [mdk-re] окружение S. Budnevitch
2001-08-13 2:29 ` Re[2]: " Sergei
2001-08-08 7:49 ` [mdk-re] ÏËÒÕÖÅÎÉÅ Russu V.F.
2001-08-08 10:08 ` [mdk-re] окружение Bao Chen
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=20010813131530.H11113@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