On Wednesday 10 July 2002 12:19, ���� ���������� wrote:
>  ���������!
>  ���������� ���� �� ��������, �� ��-���-������� ����� ;) �������� (����
> �������
 ������������ �� X ���� �� root..) �� ������ �� ����� �� ���� ���
> �������, ������� ������� �������� ���� "�������� �����" ;))
>  ���� �������� ���������� �� ���� �� ������� shutdown, ��������� reboot,
> halt 
 � ������� �������, ����� ������� shutdown..:(
>  ����, �� �������� � ��� Debian-specific - ������ ����� �������� (���..),
> ����� 
 ��� �������, �� ��������� �� ������������ �� ���������� ��
> ����������� ����. �������� �� ���� /etc/shutdown.allow � �� ������� � ����.
> � /etc/inittab �� �������� �� shutdown pri ctrl+alt+del ����:
> 
> ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
> 
> �����, ����� �� ��������� ����... �� �� ��� ���� �� �� ����� ������, �����
> �� 
 ���� �� �� ������ �������� � halt, poweroff, ...whatever ;)
> 
>  must be superuser
>  ���
>  only root can do that
>  � �� ������� � su, ���� ������ ��������/��������� :( �� ����� ������, ��
> �����
 ������ ��� ������ �� �� ��������� � ����, ��������� �� � ���� ��
> ��������� ������� � ���-�� (Debian-�...) �� ���� �� ���� ��������. �� �
> ��-������� �� �� �� ��������� �� ����������� - ��, �������� ���..., ���
> ���� ����� ���� �� workstation, ����� ���� �������, ��� ������� ���� �����
> �� �����... ������ �� ����� root-pass-� .... ���� ;)
> 
>  �������� ���� �� ��������� �/��� ��������� � rtfm - �������;)
>  ����� �������������

��� ���� �� ������� ���� users � /etc/sudoers:
someuser  ALL=(ALL) ALL

� ����� someuser ������ ��������� sudo reboot � �.�. � ��������� �� �� 
������� � id-�� �� ���� ��� someuser �� ���� ����� � �� �� ���� ��������. ��� 
someuser �� � ������� � ���� ���� � �� ����� �� ������� ���� , �� �� ���� 
���������� �� ���� �� �� �� ����� ����� �����.

[���� � ������� �� unix ���� ������ �� ���� halted/rebooted � �.�. ��� 
��������� ������, ��� ������� ���� ;-]

��������� � ���� ����� � ���� � ���� ������, � ��� ����� ���� � �� ���� �� X:
http://lists.debian.org/debian-devel/2002/debian-devel-200207/msg00259.html 

����� �� �� �� gettimeofday() ��� ����� subtle ������� � 2.4.18 ;-)
-- 
Greets,
fr33zb1
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================


  • ... Ясен Праматаров
    • ... George Danchev
      • ... George Danchev
    • ... Georgi Chorbadzhiyski
    • ... Damyan Ivanov
      • ... Boris Jordanov
    • ... gecata
      • ... Georgi Chorbadzhiyski
        • ... Svetoslav Nikolov
          • ... George Danchev

Reply via email to