Server for Information Technologies ������ ��������������
������� �������������� ����������
(095) 932-9212, 932-9213, 939-0783
E-mail: [email protected]
������ �������� ����(!) ������������� ���������� CIT Forum CD-ROM

PROFILE(4)

��������
profile - ������������ ��������� ��� ����� � �������

���������

/etc/profile
$HOME/.profile

��������
��� ���� �������������, ������������ shell [��. sh(1)] � �������� ���������, ������� ����������� ��� ����� � �������, ��� ����� ��������� ����� ����������� �������, ������������ � ������������� ������.

���� /etc/profile ��������� �������������� ������� ��������� ������������� �������� ��� ���� �������������. ��������� ��������: ��������� ��������� ��������, ��������� �� ��������� ��� ������������ �����, ��������� ��������������� �������� ��� ���������� ���������. �������� ����� ���������� ������ �������� ��� ����� � ������� ������������ root ��� ��� ���������� ������� su(1). ��� �������, � �������� ������� ������ ��� ��������� �������� ����� [��. timezone(4)]:

     . /etc/TIMEZONE

���� $HOME/.profile ������������ ��� ��������� ������ ����������� ������������ ���������� ��������� � ������������� ���������. ��������� ������ �������� �������� ��� �������� (�� ����������� ������������):

# �������� ��������� ���������� ��������� �����������
export MAIL PATH TERM

#  ���������� ����� �������� �����
umask 22

#  �������� � ������� �����
MAIL=/usr/mail/$LOGNAME

# �������� ���������������� ������� bin
# � ������������������  ���������,
# ��������������� shell'�� ��� ������ �������
PATH=$PATH:$HOME/bin

# ���������� ��� ���������
TERM=vt100

# ���������������� ��������.
# ��� ���� ���������� ��������� TERM
# ��� ������ ���� ��������������
tput init
# ������� ������� ����� ������� �����
stty erase '^H' echoe

�����

��. �����
terminfo(4), timezone(4), environ(5), term(5).
env(1), login(1), mail(1), sh(1), su(1), � ����������� ������������.
su(1M) � ����������� ��������������.

����������
���������� ��������� ������������ ��� ���������� ������������� �������� � /etc/profile. ������������ �������� .profile ����� �������� ��� ���������� ����� ���� ��������, �� ����������� �������� ����������.
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT