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

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

Conversation

Notices

  1. Embed this notice
    Rui Malheiro (chromatic@kolektiva.social)'s status on Tuesday, 31-Oct-2023 21:23:11 JST Rui Malheiro Rui Malheiro
    in reply to
    • molly in missouri

    @whatzaname `su` is used to switch user context to another user, by default to `root`. It requires the user to know the target user's password, which is a security risk. Because it's typically used to switch to a `root` shell, it exposes the system to all kinds of accidental damage as all commands are now executed with `root` privilege.

    `sudo` is mainly used to execute one command at the time with `root` permission. It requires the user to know its own password. Because the user remains in its own context, accidental damage to the system is limited to the commands specifically executed through `sudo`.

    There are other `sudo` advantages in multi-user contexts, but even for a single user system it's a healthy best practice.

    In conversation Tuesday, 31-Oct-2023 21:23:11 JST from kolektiva.social permalink
    • Embed this notice
      molly in missouri (whatzaname@kolektiva.social)'s status on Tuesday, 31-Oct-2023 21:23:12 JST molly in missouri molly in missouri

      #linux #debian question
      attempting to learn to work from the command line. I am not setting up a server or anything of the sort.
      Is there a reason I should use sudu instead of just su?

      In conversation Tuesday, 31-Oct-2023 21:23:12 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • 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.