* [Comm] reboot | poweroff
@ 2002-10-03 13:25 Yuriy Gomenyuk
2002-10-03 20:12 ` Vitaly Lipatov
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Yuriy Gomenyuk @ 2002-10-03 13:25 UTC (permalink / raw)
To: ALT
Можно ли сделать, чтобы при командах от юзера не запрашивался рут-пароль?
--
С уважением,
Юрий Гоменюк.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] reboot | poweroff
2002-10-03 13:25 [Comm] reboot | poweroff Yuriy Gomenyuk
@ 2002-10-03 20:12 ` Vitaly Lipatov
2002-10-04 6:41 ` Olga
2002-10-04 9:55 ` isa
2 siblings, 0 replies; 4+ messages in thread
From: Vitaly Lipatov @ 2002-10-03 20:12 UTC (permalink / raw)
To: community
On 3 Октябрь 2002 17:25, Yuriy Gomenyuk wrote:
> Можно ли сделать, чтобы при командах от юзера не запрашивался
> рут-пароль?
Указать их в /etc/sudoers
--
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux! LaTeX! LyX!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] reboot | poweroff
2002-10-03 13:25 [Comm] reboot | poweroff Yuriy Gomenyuk
2002-10-03 20:12 ` Vitaly Lipatov
@ 2002-10-04 6:41 ` Olga
2002-10-04 9:55 ` isa
2 siblings, 0 replies; 4+ messages in thread
From: Olga @ 2002-10-04 6:41 UTC (permalink / raw)
To: community
Yuriy Gomenyuk <All-yvg@ukr.net> пишет:
> Можно ли сделать, чтобы при командах от юзера не запрашивался рут-пароль?
Вот пример файла /etc/sudoers для беспарольного
sudo reboot и sudo poweroff:
------------------/etc/sudoers----------------------------
# sudoers file.
# User alias specification (вместо user1, user2 впишите логины реальных юзеров)
User_Alias USER = user1, user2
# Cmnd alias specification
Cmnd_Alias HALT = /sbin/poweroff, /sbin/reboot
# Defaults specification
# User privilege specification
#root ALL=(ALL) ALL
USER ALL=NOPASSWD: HALT
---------------конец /etc/sudoers ------------------------
С уважением,
OL
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] reboot | poweroff
2002-10-03 13:25 [Comm] reboot | poweroff Yuriy Gomenyuk
2002-10-03 20:12 ` Vitaly Lipatov
2002-10-04 6:41 ` Olga
@ 2002-10-04 9:55 ` isa
2 siblings, 0 replies; 4+ messages in thread
From: isa @ 2002-10-04 9:55 UTC (permalink / raw)
To: Yuriy Gomenyuk
Здравствуйте, Yuriy.
Вы писали 3 октября 2002 г., 16:25:54:
YG> Можно ли сделать, чтобы при командах от юзера не запрашивался рут-пароль?
sudo вам поможет.(!) В Junior 1.1 стандартно не входил ;)
--
С уважением,
isa mailto:iscander@mercuri.mk.ua
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-10-04 9:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-03 13:25 [Comm] reboot | poweroff Yuriy Gomenyuk
2002-10-03 20:12 ` Vitaly Lipatov
2002-10-04 6:41 ` Olga
2002-10-04 9:55 ` isa
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