From: Maxim.Savrilov@socenter.ru
To: community@altlinux.ru
Subject: Re: [Comm] root ssh login w/o password
Date: Thu, 7 Aug 2003 09:49:44 +0700
Message-ID: <20030807094944.25b985e6.Maxim.Savrilov@socenter.ru> (raw)
In-Reply-To: <200308061449.02461.serpiph@nikiet.ru>
[-- Attachment #1: Type: text/plain, Size: 1582 bytes --]
On Wed, 6 Aug 2003 14:48:56 +0400
Епифанов Сергей <serpiph@entek.ru> wrote:
> В сообщении от 6 Август 2003 14:40 Maxim.Savrilov@socenter.ru написал:
> > Здравствуйте!
> >
> > Подскажите, как сделать возможность зайти руту через ssh с пустым
> > паролем на терминалах ltsp поднял sshd, а зайти не получается...
> > Там пользователь один - рут, и у него пароля нет
> > а ssh не пускает
> > хотя есть
> > PermitRootLogin yes
> > PermitEmptyPasswords yes
>
> Вы лучше вместо попыток с пустыми паролями используйте возможность
> publickey. То бишь сгенерите ключи, открытый положите на сервере, а
> приватный ключ - в каталог /root/.ssh/ на локальной машине. И пользуйтесь
> на здоровье. Все подробности в man ssh.
Сделал.
тепер в логи сыплется
Aug 7 09:45:43 192.168.0.247 sshd[3246]: Accepted publickey for ROOT USER root from 192.168.0.1 port 35951 ssh2
Aug 7 09:45:43 192.168.0.247 sshd[3246]: Accepted publickey for ROOT USER root from 192.168.0.1 port 35951 ssh2
Aug 7 09:45:43 192.168.0.247 sshd[3245]: PAM rejected by account configuration[13]: User account has expired
Aug 7 09:45:43 192.168.0.247 sshd[3245]: PAM rejected by account configuration[13]: User account has expired
Aug 7 09:45:43 192.168.0.247 sshd[3245]: fatal: monitor_read: unsupported request: 24
Все библиотеки PAM скопировал
потом закомментировал все в /etc/pam.d/sshd
одно и то же
--
Некоторые пожилые граждане бывают опасны для нападающих.
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
next prev parent reply other threads:[~2003-08-07 2:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-06 10:40 Maxim.Savrilov
2003-08-06 10:48 ` Епифанов Сергей
2003-08-07 2:49 ` Maxim.Savrilov [this message]
2003-08-07 14:08 ` Епифанов Сергей
2003-08-07 6:13 ` Maxim.Savrilov
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=20030807094944.25b985e6.Maxim.Savrilov@socenter.ru \
--to=maxim.savrilov@socenter.ru \
--cc=community@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