ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Igor Solovyov <gosha@zkb.ru>
To: community@altlinux.ru
Subject: Re: [Comm] reboot and poweroff system by user
Date: Tue, 15 Apr 2003 09:08:42 +0600
Message-ID: <20030415090842.04015b07.gosha@zkb.ru> (raw)
In-Reply-To: <1050348842.9339.5.camel@svintuss.voxnet.ru>

Hi!
On 14 Apr 2003 23:34:02 +0400
Alex Khroustalev <svintuss@voxnet.ru> wrote:

> >   Господа, подскажите пожайлуста как юзерам разрешить ребутить
> >   компутер?
> 
> Создайте группу, например poweroff.
> Занесите в нее всех юзверей, которым дозволено ребутить или выключать
> комп. Разрешите этой группе execute-доступ к файлам poweroff и reboot и
> поставьте suid-root на эти файлы. В общем-то все... За "правильность"
> такого решения не ручаюсь, но работать должно.

Плохое решение!
man sudo
man sudoers
еще можно на http://www.atmsk.ru посмотреть.

-- 
Best regards!
Igor Solovyov
System/Network administrator
JSC CB "Zlatkombank", Zlatoust, Russia



  reply	other threads:[~2003-04-15  3:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-14 18:48 Evgeniy
2003-04-14 19:07 ` Denis Klykvin
2003-04-14 19:11   ` Re[2]: " Evgeniy
2003-04-14 19:34 ` Alex Khroustalev
2003-04-15  3:08   ` Igor Solovyov [this message]
2003-04-14 21:33 ` [Comm] " Ablamsky Taras
2003-04-15  6:52   ` Evgeniy
2003-04-15  7:40     ` Andriy Dobrovol's'kii
2003-04-15 12:50     ` Igor Solovyov
2003-04-15 13:58       ` Igor Homyakov
2003-04-15 16:27         ` Igor Solovyov
2003-04-15 14:33 ` [Comm] " Oleg V.Gaidukov
2003-04-15 16:28   ` Re[2]: " Evgeniy

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=20030415090842.04015b07.gosha@zkb.ru \
    --to=gosha@zkb.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