how to become a superuser

Forum › Forums › Official Releases › antiX-26 “Stephen Kapos” › how to become a superuser

  • This topic has 7 replies, 6 voices, and was last updated May 25-2:45 pm by grindstone.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #205322
    centaurus1955
    Member

      Hello,

      I am using thunar as a file manager. For unmounting a usb stick for example, I ve to be a supersuser.
      The same prob with the gnome-disk-utility.
      So how to get the rights?

      #205328
      christophe
      Moderator

        I’ve run into this situation experimenting with xfce & thunar. The problem (as I see it) is that thunar (and xfce) wants to hide the essential root tools from the user, as if their target user is a lunk-head who doesn’t deserve to use their own computer…

        So, the easiest way (IMO) is to use antiX’s “Run..” dialog (gexec) from the main (root) menu, and run thunar with the box checked to run as root.

        Or just use zzzfm instead of thunar. There is a menu option from zzzfm’s “file” drop-down menu, to open zzzfm as root.

        Also, to mount/unmount an external device using xfce installed on antiX-core (if that’s your setup), you can type ‘pmount /dev/sdb1’ or ‘pumount /dev/sdb1’ from the xfce “Run” dialog in the applications menu. Just make sure pmount is installed.

        And, of course, there is always the terminal — run ‘sudo thunar’ or ‘sudo umount /dev/sdb1’.

        • This reply was modified 4 months ago by christophe.
        • This reply was modified 4 months ago by christophe.
        • This reply was modified 4 months ago by christophe.

        antiX on everything, since 2017

        #205337
        centaurus1955
        Member

          thx for answer. well, I found another solution. I deleted the thunar filemanager and I am using the zzzFM filemanager, that comes shipped with antiX. With this filemanager I don t have that probs.

          #205345
          sybok
          Member

            For unmounting a usb stick for example, I ve to be a supersuser.

            You could also unmount it by running a terminal command
            sudo umount <path to the mountpoint>
            e.g. ‘sudo umount /media/londomollari/CentauriPrime’ (which indicates your username could be ‘londomollari’ and the USB drive is named ‘CentauriPrime’).

            #205365
            christophe
            Moderator

              I deleted the thunar filemanager and I am using the zzzFM filemanager, that comes shipped with antiX.

              Smart move. (I think someone mentioned that, above…)
              šŸ˜‰

              • This reply was modified 4 months ago by christophe.

              antiX on everything, since 2017

              #205373
              olsztyn
              Member

                I deleted the thunar filemanager and I am using the zzzFM filemanager, that comes shipped with antiX. With this filemanager I don t have that probs.

                I have done the same. Thunar and the entire gvfs kaboodle is the first thing I move aside and use SpaceFM (zzzFM is a modified SpaceFM). For unplugging removable devices (USB sticks and external hard drives) there is also an excellent antiX native utility ‘unplugdrive.sh’. Recently with antiX 26 it seems to work even better than in the past as it seems to power down external disks every time. Perhaps the underlying infrastructure has improved…

                Live antiX Boot Options (Previously posted by Xecure):
                http://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                #205390
                stevesr0
                Member

                  Kind of after the fact and a very noobie point.

                  ā€œBecomingā€ superuser (= root user) is different from starting an application as superuser (= root version of the application).

                  Assuming that you have set up your install to allow your user to run as root or to start applications as root,

                  ā€œBecomingā€ involves either logging in as root or changing the logged in user to root.

                  This can be done in the terminal as

                  sudo su -

                  and then providing your user password in response to the ā€œchallengeā€.

                  Starting an application as root can commonly be done in a terminal as

                  sudo <name of application>

                  and then providing your user password in response to the ā€œchallengeā€.

                  (I realize the OPer might already know this, but the OP title might draw noobies who didn’t know and wished to.)

                  #205395
                  grindstone
                  Member

                    FWIW, somebody hacked-up a yad tool and put it in a launcher…down a ways.
                    https://forum.xfce.org/viewtopic.php?id=14686

                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • You must be logged in to reply to this topic.