ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Slava Semushin" <slava.semushin@gmail.com>
To: "ALT Linux Sisyphus discussion list" <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Q: how to set password on first login
Date: Fri, 6 Jul 2007 10:52:09 +0700
Message-ID: <75e139a00707052052j69625d2aq3039a886e10d1769@mail.gmail.com> (raw)
In-Reply-To: <468CF31F.20307@parkheights.dyndns.org>

2007/7/5, Sergey <seriv / parkheights.dyndns.org>:
[...]
> > Я пробовал suid script вызывающий passwd, пробовал NOPASSWD:
> > ---
> > <login> ALL=(ALL) NOPASSWD: /usr/bin/passwd <login>
> > ---
> [skip]
> Сам себе отвечаю:
> видимо плохо пробовал. Наверно опечатка была где-то. Сейчас всё нахорошо
> работает.

Ээээ... Кажется вы не с той стороны копаете. Это делается проще/иначе в АЛЬТе:

# control gpasswd public

Тогда все пользователи могут изменять свой пароль, или

# control gpasswd wheelonly

В таком случае пароль изменить смогут только пользователи, входящие в
группу wheel.


-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

      reply	other threads:[~2007-07-06  3:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05  2:45 sergey ivanov
2007-07-05  8:26 ` Andrew G. Klepcha
2007-07-05  9:45   ` Slava Semushin
2007-07-05  9:37     ` Andrew G. Klepcha
2007-07-05 13:33 ` Sergey
2007-07-06  3:52   ` Slava Semushin [this message]

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=75e139a00707052052j69625d2aq3039a886e10d1769@mail.gmail.com \
    --to=slava.semushin@gmail.com \
    --cc=sisyphus@lists.altlinux.org \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git