Don't use "no_root_squash", then how do I enable root access on Linux clients? — oracle-tech

    Forum Stats

  • 3,708,780 Users
  • 2,241,126 Discussions
  • 7,840,613 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Don't use "no_root_squash", then how do I enable root access on Linux clients?

User_FMXJHUser_FMXJH Posts: 207 Blue Ribbon
edited September 2020 in Oracle Linux

I can understand "no_root_squash" is dangerous, and it should not be used. However, I feel confused about is that how could I use root privilege if I really want to use root on Linux clients? If I disable "no_root_squash", then any files I created will be owned by "nobody", but what if I really want to have the file owned by "root" on the  client? What am I missing?

Thanks!

Answers

  • Arun YadavArun Yadav Posts: 3
    edited September 2020

    Hello,

    The question and details are a bit confusing. Do you want to enable direct ssh access for root? If so, PermitRootLogin option can be set to "yes" in /etc/ssh/sshd_config (not recommended though). Why not just allow sudo to root for the required accounts?

    Regards,

    Arun

Sign In or Register to comment.