From: Konstantin Pavlov <thresh@altlinux.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Подскажите по useradd - что я делаю не так?
Date: Thu, 2 Dec 2010 18:44:43 +0300
Message-ID: <20101202154443.GA6348@snowwhite.immo> (raw)
In-Reply-To: <AANLkTinw8Cu3y2cYh+3zPeA_tpcvFdwFGSnZZ5ThKZ8m@mail.gmail.com>
On Thu, Dec 02, 2010 at 05:26:15PM +0200, Mykola S. Grechukh wrote:
> 2010/12/2 Yuri Khachaturyan <>:
> > Для ssh есстественно ключи используются. У меня задача такая, что я создаю
> > виртуалку на VZ и мне надо в нее пользователей создать, каждого руками
> > лениво на каждую виртуалку прописывать :) А по умолчанию, даже если
> > поставить пароль для root, то ssh для root в любом случае отключен в конфиге
> > по умолчанию. И получается, что на VE никак не зайти первый раз, кроме как
> > через vzctk enter, а потом уже создать там пользователя, ключи и т.д.
>
> Ну, можно echo -e "test123\ntest123\n" | sudo passwd test1 после создания.
Или echo "user:password" | chpasswd
--
Konstantin Pavlov
VideoLAN team
next prev parent reply other threads:[~2010-12-02 15:44 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 [this message]
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
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=20101202154443.GA6348@snowwhite.immo \
--to=thresh@altlinux.ru \
--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