F22 System Wide Change: Set sshd(8) PermitRootLogin=no

Eike Rathke erack at redhat.com
Wed Jan 21 11:06:40 UTC 2015


Hi Lubomir,

On Friday, 2015-01-16 15:39:42 +0100, Lubomir Rintel wrote:

> > Remote users would not be allowed to login using 'root' account with a
> > password. They would have to login using an SSH key or first connect
> > using a non-root account and then upgrade their privileges via sudo(8)
> > or su -.
> 
> I sometimes do risky things with my regular account.

The solution is easy. Don't ssh to your regular account. Allow ssh login
only to a specific account that you use for nothing else. Then from
there su -

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key "ID" 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150121/1923f15e/attachment.sig>


More information about the devel mailing list