Skip to main content

Tablet - Enabling SSH for Root account

Comments

2 comments

  • James Stewart

    Hi Shawn,

    If you don't want to allow SSH as the root user (which is as you say generally discouraged for security reasons) you can also issue superuser commands via SSH by logging in as the pi user and then becoming root via su:

    sudo su -

    Cheers,

    James

    0
  • Shawn Fitzpatrick

    Agreed, that is an option.

    The point really is just that users should not routinely run as root, any more than users should run as administrators in a Windows environment - even though its still inexplicably the default user setting for new Windows computers.

    There is nothing wrong with logging in as root to do admin level things, whether you do that at the local terminal or via SSH assuming the account and the network are properly secured.

    I would argue that it is significantly safer to log in as root to do admin functions than it is to allow sudo from a more or less unsecured limited user account, such as is the case with the out-of-the-box Raspberry Pi...

    0

Please sign in to leave a comment.