/etc/securetty?

-- R; <><


On Mar 3, 2016 1:22 PM, "Grzegorz Powiedziuk" <[email protected]> wrote:

> In fedora21 (at least on x86) they switched to journualctl with logs and
> stuff no longer goes to regular log files.
> I am not sure with s390 fedora they did the same thing.
>
> Try something like
> journalctl -u sshd --since=yesterday | tail -100
>
> I would also try to login from a different linux machine with "ssh -vvv
> x.x.x.x "  for verbose and see if there is anything there.
>
> Someone mentioned problems with RW permissions to home directory. That
> makes sense.
>
> Also if home filesystem is full or mounted RO, you might have the same
> issue.
>
> Gregory
>
>
> 2016-03-03 12:21 GMT-05:00 Offer Baruch <[email protected]>:
>
> > I think that ssh does not allow for your home directory to be write
> enabled
> > for the group (i have seen this on redhat).
> > Make sure your home directory has the correct permissions...
> >
> > Good luck
> > Offer Baruch
> > On Mar 3, 2016 5:36 PM, "Tom Huegel" <[email protected]> wrote:
> >
> > > I wish I had some idea of what I might have changed. Intentionally I
> > > haven't changed anything.
> > > There are no new messages in the /var/log/messages file after a failed
> > > logon.
> > >
> > > Comparing /etc/parm.d/sshd to another system that allows SSH logons ...
> > > they are identical.
> > > cat
> > > /etc/pam.d/sshd
> > >
> > > #%PAM-1.0
> > >
> > > auth       required
> > > pam_sepermit.so
> > > auth       substack
> > > password-auth
> > > auth       include
> > > postlogin
> > > # Used with polkit to reauthorize users in remote
> > > sessions
> > > -auth      optional     pam_reauthorize.so
> > > prepare
> > > account    required
> > > pam_nologin.so
> > > account    include
> > > password-auth
> > > password   include
> > > password-auth
> > > # pam_selinux.so close should be the first session
> > > rule
> > > session    required     pam_selinux.so
> > > close
> > > session    required
> > > pam_loginuid.so
> > > # pam_selinux.so open should only be followed by sessions to be
> executed
> > in
> > > the user context
> > > session    required     pam_selinux.so open
> > > env_params
> > > session    optional     pam_keyinit.so force
> > > revoke
> > > session    include
> > > password-auth
> > > session    include
> > > postlogin
> > > # Used with polkit to reauthorize users in remote
> > > sessions
> > > -session   optional     pam_reauthorize.so
> > > prepare
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Thu, Mar 3, 2016 at 7:11 AM, van Sleeuwen, Berry <
> > > [email protected]> wrote:
> > >
> > > > Hi Tom,
> > > >
> > > > Could it be the pam configuration for ssh is changed? Perhaps the
> > > password
> > > > checking in pam?
> > > >
> > > > I once had such an issue when I made a typo in /etc/pam.d/sshd. After
> > > this
> > > > I couldn't login anymore. It showed up in the console log as "Error:
> > PAM:
> > > > Module is unknown for <userid> from <ip-address>.". (This might be in
> > > > /var/log/messages as well.)
> > > >
> > > > I had to correct the typo using "sed" in the Linux console.
> > > >
> > > > Met vriendelijke groet/With kind regards/Mit freundlichen Grüßen,
> > > > Berry van Sleeuwen
> > > >
> > > > -----Original Message-----
> > > > From: Linux on 390 Port [mailto:[email protected]] On Behalf
> Of
> > > Tom
> > > > Huegel
> > > > Sent: Thursday, March 03, 2016 3:23 PM
> > > > To: [email protected]
> > > > Subject: LINUX SSH problem.
> > > >
> > > > This seems strange to me (a LINUX novice) but I have FEDORA f21
> system
> > > > that has been working fine until recently.
> > > > It seems strange LINUX starts up just fine but when I try to SSH
> > > > (Putty) into it I get the initial logon screen but the password is
> > always
> > > > rejected.
> > > > From the z/VM console I can logon using the same password.
> > > >
> > > > I must have touched something *&&*&%.
> > > > Any idea how to fix it?
> > > > Thanks
> > > > Tom
> > > >
> > > >
> ----------------------------------------------------------------------
> > > > For LINUX-390 subscribe / signoff / archive access instructions, send
> > > > email to [email protected] with the message: INFO LINUX-390 or
> > > visit
> > > > http://www.marist.edu/htbin/wlvindex?LINUX-390
> > > >
> ----------------------------------------------------------------------
> > > > For more information on Linux on System z, visit
> > > http://wiki.linuxvm.org/
> > > > This e-mail and the documents attached are confidential and intended
> > > > solely for the addressee; it may also be privileged. If you receive
> > this
> > > > e-mail in error, please notify the sender immediately and destroy it.
> > As
> > > > its integrity cannot be secured on the Internet, Atos’ liability
> cannot
> > > be
> > > > triggered for the message content. Although the sender endeavours to
> > > > maintain a computer virus-free network, the sender does not warrant
> > that
> > > > this transmission is virus-free and will not be liable for any
> damages
> > > > resulting from any virus transmitted. On all offers and agreements
> > under
> > > > which Atos Nederland B.V. supplies goods and/or services of whatever
> > > > nature, the Terms of Delivery from Atos Nederland B.V. exclusively
> > apply.
> > > > The Terms of Delivery shall be promptly submitted to you on your
> > request.
> > > >
> > >
> > > ----------------------------------------------------------------------
> > > For LINUX-390 subscribe / signoff / archive access instructions,
> > > send email to [email protected] with the message: INFO LINUX-390
> or
> > > visit
> > > http://www.marist.edu/htbin/wlvindex?LINUX-390
> > > ----------------------------------------------------------------------
> > > For more information on Linux on System z, visit
> > > http://wiki.linuxvm.org/
> > >
> >
> > ----------------------------------------------------------------------
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO LINUX-390 or
> > visit
> > http://www.marist.edu/htbin/wlvindex?LINUX-390
> > ----------------------------------------------------------------------
> > For more information on Linux on System z, visit
> > http://wiki.linuxvm.org/
> >
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to