From: Olga <laedel@pochtamt.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: ALTM 2.2 ламерский вопрос
Date: Fri, 4 Apr 2003 02:03:06 +0800
Message-ID: <20030404020306.1542edae.laedel@pochtamt.ru> (raw)
In-Reply-To: <3E8C62BE.70307@comail.ru>
Alex A T <alex_a_t@comail.ru> пишет:
> Andrey Brindeew пишет:
>
> >On Tue, Apr 01, 2003 at 10:45:33AM +0400, Alex A T wrote:
> >
> >>При работе в консоле обычным пользователем, не root нельзя выполнить
> >>команды на выключение компа, запрашивается пароль root. Как это отменить?
> >
> >наиболее правильным будет для пользователей, которым позволено выключать
> >питание компьютера, настроить доступ через sudo к /sbin/poweroff
> >
> А как это зделать?
>
Можно разрешить пользователям беспарольный sudo на команды выключения/перезагрузки.
Для этого в /etc/sudoers записать примерно следующее:
# User alias specification
# в общем, перечисляете логины всех пользователей, кому хотите разрешить
User_Alias USER = user1, user2
# Cmnd alias specification -- перечисляете то, запуск чего хотите разрешить
Cmnd_Alias HALT = /sbin/poweroff, /sbin/shutdown, /sbin/reboot
# User privilege specification -- разрешаем юзверям,
# перечисленным в User_Alias USER, выполнять команды,
# перечисленные в Cmnd_Alias HALT, причём без пароля
USER ALL=NOPASSWD: HALT
--
С уважением, (>|<)
OL |
next prev parent reply other threads:[~2003-04-03 18:03 UTC|newest]
Thread overview: 80+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-01 6:45 [Comm] " Alex A T
2003-04-01 6:52 ` [Comm] " Andrey Brindeew
2003-04-03 18:03 ` Olga [this message]
2003-04-05 14:19 ` Andrii Dobrovolskii
2003-04-05 15:40 ` Olga
2003-04-05 17:15 ` Olga
2003-04-06 16:08 ` Andrey Brindeew
2003-04-07 7:06 ` Denis Klykvin
2003-04-07 17:32 ` Grigory Tuboltsev
2003-04-08 8:08 ` Andriy Dobrovol's'kii
2003-04-08 17:18 ` Alex A T
2003-04-08 18:30 ` Denis Klykvin
2003-04-09 1:28 ` Pavel N.Solovyov
2003-04-09 8:28 ` Andriy Dobrovol's'kii
2003-04-09 16:02 ` [Comm] [JT] " Michael Shigorin
2003-04-07 7:07 ` [Comm] " Denis Klykvin
2003-04-07 7:09 ` Andrey Brindeew
2003-04-07 18:07 ` Alexey Voinov
2003-04-07 18:15 ` [Comm] Re: ALTM 2.2 ламерскийвопрос Sergey V Turchin
2003-04-07 18:54 ` Sergey V Turchin
2003-04-07 19:29 ` [Comm] Re[2]: " Maksim Otstavnov
2003-04-07 20:58 ` Sergey V Turchin
2003-04-08 2:18 ` [Comm] Re[2]: " Maksim Otstavnov
2003-04-08 7:51 ` Sergey V Turchin
2003-04-08 7:31 ` Artem K. Jouravsky
2003-04-08 7:51 ` Sergey V Turchin
2003-04-08 8:39 ` Artem K. Jouravsky
2003-04-08 9:08 ` Sergey V Turchin
2003-04-08 9:32 ` Artem K. Jouravsky
2003-04-08 9:54 ` Sergey V Turchin
2003-04-08 10:23 ` Artem K. Jouravsky
2003-04-08 10:46 ` Serge Polkovnikov
2003-04-08 10:47 ` [Comm] " Maksim Otstavnov
2003-04-08 10:54 ` Sergey V Turchin
2003-04-08 7:59 ` Sergey V Turchin
2003-04-08 10:39 ` Re[2]: " Anton V. Boyarshinov
2003-04-08 11:02 ` Sergey V Turchin
2003-04-08 17:07 ` [Comm] " Leonid B. Sysoletin
2003-04-08 19:17 ` [Comm] : " Sergey Degtyaryov
2003-04-08 19:52 ` [Comm] " Alexey Tourbin
2003-04-08 21:12 ` Alexej Kryukov
2003-04-08 21:26 ` [Comm] Re[2]: " metalking
2003-04-08 21:27 ` Alexey Tourbin
2003-04-09 8:25 ` Andriy Dobrovol's'kii
2003-04-09 16:08 ` Michael Shigorin
2003-04-08 7:29 ` Artem K. Jouravsky
2003-04-08 7:49 ` Sergey V Turchin
2003-04-08 8:00 ` Artem K. Jouravsky
2003-04-08 8:10 ` Sergey V Turchin
2003-04-08 8:43 ` Artem K. Jouravsky
2003-04-08 9:09 ` Sergey V Turchin
2003-04-08 10:23 ` [Comm] [JT] " Alexey I. Froloff
2003-04-08 11:18 ` [Comm] " Artem K. Jouravsky
2003-04-08 14:30 ` Alexey I. Froloff
2003-04-07 7:17 ` [Comm] Re: ALTM 2.2 ламерский вопрос Красавин Андрей
2003-04-07 11:36 ` Olga
2003-04-07 11:44 ` Korshunov Ilya
2003-04-09 16:01 ` Michael Shigorin
2003-04-03 22:28 ` Andrey Brindeew
2003-04-01 7:06 ` [Comm] " Прокопьев Евгений
2003-04-03 16:33 ` Alex A T
2003-04-03 16:44 ` [Comm] APT & Squid tarik
2003-04-03 16:55 ` [Comm] " Sergey Vlasov
2003-04-03 20:18 ` [Comm] " Alexander Kharkov
2003-04-05 9:42 ` tarik
2003-04-05 7:43 ` Alexander Kharkov
2003-04-07 19:33 ` Re[2]: " ASA
2003-04-07 19:56 ` [Comm] env variable ftp_proxy was: " Alexander Kharkov
2003-04-08 3:24 ` Re[2]: " ASA
2003-04-08 3:50 ` Re[3]: " Evgeny Yugov
2003-04-08 15:12 ` Re[4]: " ASA
2003-04-08 4:53 ` Alexander Kharkov
2003-04-08 16:26 ` Re[2]: " ASA
2003-04-09 5:04 ` Alexander Kharkov
2003-04-09 8:34 ` Andriy Dobrovol's'kii
2003-04-09 8:45 ` Roman Savelyev
2003-04-04 7:13 ` [Comm] Re: ALTM 2.2 ламерский вопрос Artem K. Jouravsky
2003-04-04 7:14 ` Anton V. Boyarshinov
2003-04-04 19:54 ` [Comm] " ASA
2003-04-03 16:46 ` [Comm] " Sergey V Turchin
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=20030404020306.1542edae.laedel@pochtamt.ru \
--to=laedel@pochtamt.ru \
--cc=community@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