美文网首页
debian ssh su su: Authentication

debian ssh su su: Authentication

作者: bdjejn | 来源:发表于2021-02-06 20:28 被阅读0次

The first thing to check is the permission on the 'su' command.

ls -l /bin/su

-rws--x--x 1 root root 55649 Apr 11 01:11 /bin/su

The SUID bit should be set (an "s" instead of an "x" in the first part of the permissions). If not, then log in as root and do a 'chmod +s /bin/su'.

chmod +s /bin/su

相关文章

网友评论

      本文标题:debian ssh su su: Authentication

      本文链接:https://www.haomeiwen.com/subject/dqgotltx.html