From: Dmitriy Kruglikov <dmitriy.kruglikov@gmail.com>
To: "ALT Linux sysadmins' discussion" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Подскажите по useradd - что я делаю не так?
Date: Thu, 2 Dec 2010 17:40:07 +0200
Message-ID: <AANLkTinauzM+1HLqscYtPimQAX-0=pHaW+N-C_G46py6@mail.gmail.com> (raw)
In-Reply-To: <AANLkTine0TjOema3nU=iBz-UWGm-2v+sxA+2yZo1-86v@mail.gmail.com>
2 декабря 2010 г. 17:16 пользователь Yuri Khachaturyan написал:
> А по умолчанию, даже если
> поставить пароль для root, то ssh для root в любом случае отключен в конфиге
> по умолчанию.
По умолчанию он по ключу ходит...
И ключик сгенеренный в контейнер пихнуть не составит труда, думаю...
И вот все контейнеры один и тот же ...
И потом админить их пачками...
А ваша задача решается средствами chpasswd ...
Там как раз открытый пароль передается ...
Примерно так:
echo "$user:$passwd" | chpasswd
--
Best regards,
Dmitriy Kruglikov.
QString at, dot, mail, XMPP;
at = "@";
dot = ".";
mail = "Dmitriy.Kruglikov" + $at +"gmail" + $dot + "com";
XMPP = $mail;
next prev parent reply other threads:[~2010-12-02 15:40 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-02 15:07 ` Mykola S. Grechukh
2010-12-02 15:12 ` Mykola S. Grechukh
2010-12-02 15:26 ` Mykola S. Grechukh
2010-12-02 15:44 ` Konstantin Pavlov
2010-12-02 15:57 ` Mykola S. Grechukh
2010-12-02 23:45 ` Ivan Fedorov
2010-12-02 16:04 ` Sergei Boudnik
2010-12-02 16:25 ` Sergei Boudnik
2010-12-02 15:26 ` Alexey I. Froloff
2010-12-02 15:40 ` Dmitriy Kruglikov [this message]
2010-12-02 16:38 ` Alexey I. Froloff
2010-12-03 15:58 ` Yuri Khachaturyan
2010-12-03 16:33 ` Alexey I. Froloff
2010-12-03 16:37 ` Yuri Khachaturyan
2010-12-03 16:43 ` Alexey I. Froloff
2010-12-03 16:44 ` Yuri Khachaturyan
2010-12-03 16:46 ` Alexey I. Froloff
2010-12-03 16:48 ` Yuri Khachaturyan
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='AANLkTinauzM+1HLqscYtPimQAX-0=pHaW+N-C_G46py6@mail.gmail.com' \
--to=dmitriy.kruglikov@gmail.com \
--cc=sysadmins@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 sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git