Find the answer to your Linux question:
Results 1 to 3 of 3
I am wanting to be able to log-in and "su" when required from my normal account via ssh but I don't want to allow root to be logged in to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Whitstable, Kent, England
    Posts
    136

    SSH server permissions


    I am wanting to be able to log-in and "su" when required from my normal account via ssh but I don't want to allow root to be logged in to directly. This means that at least two passwords are required to become root. I have been fiddling with the config file for a while but I have not suceeded, I can only block out root access completely both direct and through su.
    Any help appriciated.
    The biggest security threat is the user.

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    Have you Tried GOOGLE

    the second link should give you this advice

    Disabling root SSH logins. Edit the /etc/ssh/sshd_config file and set the PermitRootLogin parameter to no.

  3. #3
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Whitstable, Kent, England
    Posts
    136
    I had but their was nothing of help. I am still where I started, no root login and no su or root login and su. I shall have another look tomorrow, concentration is not at its best so I'm going to bed but thanks for the help.
    The biggest security threat is the user.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •