From: "Artem K. Jouravsky" <ujo@ifirst.ru>
To: ALT Linux Spring mailing list <mandrake-russian@altlinux.ru>
Cc: "Dmitry V. Levin" <ldv@alt-linux.org>
Subject: Re: [mdk-re] useradd в пакетном режиме
Date: Tue Apr 9 18:04:08 2002
Message-ID: <20020409140355.GA25511@ifirst.ru> (raw)
In-Reply-To: <20020409134022.GA23941@ldv.office.alt-linux.org>
On Tue, Apr 09, 2002 at 05:40:22PM +0400, Dmitry V. Levin wrote:
> On Tue, Apr 09, 2002 at 04:28:41PM +0400, Artem K. Jouravsky wrote:
> > нужно писать скрипт, который будет добавлять пользователя в систему, если
> > тот кто это делает (естественно, скрипт будет вызываться через sudo)
> > авторизован, не просит лишнего и т.д. Вместе с тем, скрипт будет
> > отписывать по почте/писать в лог о проделанной работе. Это предыстория.
> > Поскольку passwd не хочет читать данные иначе как с консоли, смотрю man
> > useradd, там есть опция -p <password>. Говорю
> > # useradd testuser -p AnyPassword
> > получаю в результате пользователя, для которого в /etc/tcb/testuser/shadow
> > пароль AnyPassword прописан без шифровки, открытым текстом. Это так и надо?
>
> Да, см. useradd(8)
>
> > Если да, то какой командой я могу зашифровать пароль?
>
> Для неинтерактивной установки пароля используйте chpasswd(8).
Так и знал, что есть стандартное решение, спасибо!
--
Best wishes,
Artem K. Jouravsky,
iFirst Ltd, System Administrator.
-----------------------
The Internet is being scanned for viruses.
next prev parent reply other threads:[~2002-04-09 18:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-09 16:29 Artem K. Jouravsky
2002-04-09 16:37 ` Igor Homyakov
2002-04-09 16:41 ` vic ismakaev
2002-04-09 17:08 ` [mdk-re] " Artem K. Jouravsky
2002-04-09 17:37 ` Grigory Milev
2002-04-09 18:39 ` cornet
2002-04-09 19:19 ` Artem K. Jouravsky
2002-04-10 15:31 ` Alexey Morozov
2002-04-12 21:06 ` Konstantin Lepikhov
2002-04-12 22:07 ` Artem K. Jouravsky
2002-04-13 11:51 ` Konstantin Lepikhov
2002-04-13 11:55 ` Alexey Morozov
2002-04-13 20:11 ` [mdk-re] " Maxim
2002-04-15 11:25 ` [mdk-re] " Artem K. Jouravsky
2002-04-09 17:41 ` [mdk-re] " Dmitry V. Levin
2002-04-09 18:04 ` Artem K. Jouravsky [this message]
2002-04-10 15:34 ` Alexey Morozov
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=20020409140355.GA25511@ifirst.ru \
--to=ujo@ifirst.ru \
--cc=ldv@alt-linux.org \
--cc=mandrake-russian@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