ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] два админа
@ 2004-10-13  5:36 Igor
  2004-10-13  5:43 ` Mike Lykov
  2004-10-13  8:52 ` Igor
  0 siblings, 2 replies; 9+ messages in thread
From: Igor @ 2004-10-13  5:36 UTC (permalink / raw)
  To: community

Привет всем

Подскажите как можно настроить в ALT2.4 двух админов т.е есть root но
нужно дать одному пользователю права на создание учётных записей и смену
паролей пользователей




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Comm] два админа
  2004-10-13  5:36 [Comm] два админа Igor
@ 2004-10-13  5:43 ` Mike Lykov
  2004-10-13  8:36   ` Re[2]: " Igor
  2004-10-13  8:52 ` Igor
  1 sibling, 1 reply; 9+ messages in thread
From: Mike Lykov @ 2004-10-13  5:43 UTC (permalink / raw)
  To: community

В сообщении от Среда 13 Октябрь 2004 10:36 Igor написал:

> Подскажите как можно настроить в ALT2.4 двух админов т.е есть root но
> нужно дать одному пользователю права на создание учётных записей и смену
> паролей пользователей

man sudo, man sudoers

-- 
Mike Lykov
Samara, "Vesna" parfum company, System administrator 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re[2]: [Comm] два админа
  2004-10-13  5:43 ` Mike Lykov
@ 2004-10-13  8:36   ` Igor
  2004-10-13  8:39     ` [Comm] " Michael Shigorin
  2004-10-13  8:42     ` Re[2]: [Comm] " Mike Lykov
  0 siblings, 2 replies; 9+ messages in thread
From: Igor @ 2004-10-13  8:36 UTC (permalink / raw)
  To: Mike Lykov

когда запускаю sudo с консоли пользователя igor, то выдаёт вот это:
Sorry, sudo must be setuid root

в файле sudoers прописал вот это:
igor ALL = /usr/sbin/useradd
igor ALL = /usr/sbin/ passwd[A-z]*,!/usr/sbin/passwd root


что я делаю не так подскажите


















^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Comm] Re: два админа
  2004-10-13  8:36   ` Re[2]: " Igor
@ 2004-10-13  8:39     ` Michael Shigorin
  2004-10-13  8:44       ` Igor
  2004-10-13  8:42     ` Re[2]: [Comm] " Mike Lykov
  1 sibling, 1 reply; 9+ messages in thread
From: Michael Shigorin @ 2004-10-13  8:39 UTC (permalink / raw)
  To: community

On Wed, Oct 13, 2004 at 11:36:53AM +0300, Igor wrote:
> Sorry, sudo must be setuid root

ls -l /usr/bin/sudo
rpm -V sudo

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re[2]: [Comm] два админа
  2004-10-13  8:36   ` Re[2]: " Igor
  2004-10-13  8:39     ` [Comm] " Michael Shigorin
@ 2004-10-13  8:42     ` Mike Lykov
  1 sibling, 0 replies; 9+ messages in thread
From: Mike Lykov @ 2004-10-13  8:42 UTC (permalink / raw)
  To: community

В сообщении от Среда 13 Октябрь 2004 13:36 Igor написал:
> когда запускаю sudo с консоли пользователя igor, то выдаёт вот это:
> Sorry, sudo must be setuid root

#control sudo

sudo            public          (public wheelonly restricted)

-- 
Mike Lykov
Samara, "Vesna" parfum company, System administrator 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Comm] Re: два админа
  2004-10-13  8:39     ` [Comm] " Michael Shigorin
@ 2004-10-13  8:44       ` Igor
  2004-10-13  9:00         ` Scor2k
  2004-10-13  9:20         ` Michael Shigorin
  0 siblings, 2 replies; 9+ messages in thread
From: Igor @ 2004-10-13  8:44 UTC (permalink / raw)
  To: Michael Shigorin

ls -l /usr/bin/sudo
-rwx--x--x    1 root     root        81496 Oct 17  2002 /usr/bin/sudo

rpm -V sudo
S.5....T c /etc/sudoers
.M......   /usr/bin/sudo
.....UG.   /usr/sbin/visudo
.....UG. d /usr/share/man/man5/sudoers.5.bz2
.....UG. d /usr/share/man/man8/sudo.8.bz2
.....UG. d /usr/share/man/man8/visudo.8.gz

и что дальше




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Comm] два админа
  2004-10-13  5:36 [Comm] два админа Igor
  2004-10-13  5:43 ` Mike Lykov
@ 2004-10-13  8:52 ` Igor
  1 sibling, 0 replies; 9+ messages in thread
From: Igor @ 2004-10-13  8:52 UTC (permalink / raw)
  To: Igor

Всем спасибо за помощь
все работает




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Comm] Re: два админа
  2004-10-13  8:44       ` Igor
@ 2004-10-13  9:00         ` Scor2k
  2004-10-13  9:20         ` Michael Shigorin
  1 sibling, 0 replies; 9+ messages in thread
From: Scor2k @ 2004-10-13  9:00 UTC (permalink / raw)
  To: community

On Wed, Oct 13, 2004 at 11:44:05AM +0300, Igor wrote:
> ls -l /usr/bin/sudo
> -rwx--x--x    1 root     root        81496 Oct 17  2002 /usr/bin/sudo

ну правильно, вам же сказали: must be suid.... 
сделайте control sudo public (ну или поставьте суидный бит ручками)

ЗЫ. Кто-то в вашей системе побаловался....

-- 
  С уважением: scor@mf.volsu.ru
  Volgograd Linux Users Groups
UIN: 346283813 JID: scor2k@jabber.ru


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Comm] Re: два админа
  2004-10-13  8:44       ` Igor
  2004-10-13  9:00         ` Scor2k
@ 2004-10-13  9:20         ` Michael Shigorin
  1 sibling, 0 replies; 9+ messages in thread
From: Michael Shigorin @ 2004-10-13  9:20 UTC (permalink / raw)
  To: community

On Wed, Oct 13, 2004 at 11:44:05AM +0300, Igor wrote:
> ls -l /usr/bin/sudo
> -rwx--x--x    1 root     root        81496 Oct 17  2002 /usr/bin/sudo

Ненормально.

> .....UG.   /usr/sbin/visudo
> .....UG. d /usr/share/man/man5/sudoers.5.bz2
> .....UG. d /usr/share/man/man8/sudo.8.bz2
> .....UG. d /usr/share/man/man8/visudo.8.gz
> и что дальше

Дальше ls -l на эти файлы -- что там за не те user/group.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-10-13  9:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-13  5:36 [Comm] два админа Igor
2004-10-13  5:43 ` Mike Lykov
2004-10-13  8:36   ` Re[2]: " Igor
2004-10-13  8:39     ` [Comm] " Michael Shigorin
2004-10-13  8:44       ` Igor
2004-10-13  9:00         ` Scor2k
2004-10-13  9:20         ` Michael Shigorin
2004-10-13  8:42     ` Re[2]: [Comm] " Mike Lykov
2004-10-13  8:52 ` Igor

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