GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Miah Johnson (miah@hachyderm.io)'s status on Thursday, 15-Aug-2024 00:47:03 JSTMiah JohnsonMiah Johnson
    in reply to

    `sudo su` is always the least correct way to get a shell though. Effectively, you are doing:

    "switch user, switch user". You only need to do this once, and sudo can do it for you via `sudo -Hi`.

    But what if the user doesn't have a shell set? Or users /sbin/nologin as their shell?

    Then you can `sudo -u user /bin/bash` and well, you lose all auditing ability but now you can do things as that nologin user. This works similarly with doas, and su of course.

    In conversationabout a year ago from hachyderm.iopermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.