[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Русификация.



Привет!

On Fri, 12 Oct 2001 at 12:48:39 +0400, Дмитрий Алексеев wrote:

> Вообще ни в одном файле каталогов /etc, /etc/init.d и ~/ всех
> пользователей нет пути к файлу /etc/environment с нужной LANG. Или у
> программ из набора оных для консоли жестко путь прописан, или у меня
> проблемы с сообразительностью, ну, не пойму откуда у меня в окружении
> LANG из /etc/environment.:(

/usr/share/doc/libpam-doc/txt/pam.txt.gz:

Module Name:
    pam_env

[...]

6.5.2.  Overview of module
    This module allows the (un)setting of environment variables.

[...]

Recognized arguments:
    debug; conffile=configuration-file-name; envfile=/env-file-name;
    readenv=/0|1

[...]

This module can also parse a file with simple KEY=VAL pairs on seperate
lines (/etc/environment by default). You can change the default file to
parse, with the envfile flag and turn it on or off by setting the
readenv flag to 1 or 0 respectively.


igold@master:~$ grep '^[^#].* pam_env' /etc/pam.d/*        
/etc/pam.d/login:auth       required   pam_env.so
/etc/pam.d/ssh:auth       required     pam_env.so # [1]
igold@master:~$ 

-- 
 С уважением,
             Игорь.



Reply to: