Computer scientist and mathematician

  • 2 Posts
  • 27 Comments
Joined 2 years ago
cake
Cake day: November 17th, 2022

help-circle


  • @elscallr I agree about the instance configuration, fixing that is the real solution
    My question was not about running something as another user, but about hiding the superadmin privileges from a single command I’d execute without switching users. However it is clear that something like that doesn’t exist so I’ll do the right thing and set everything to work with a new user





  • @astraeus yep, completely agree on the security issues, that is a mistake that should be fixed. But for the moment I confirmed that root is the only user, and every file and program in the instance can only be used by root (I just created a new user and tried to run the command with su -c but got a lot of permission denials and command not found)
    If I could hide or disable my own sudo permissions that would save me a lot of work, but I’m starting to think that something like that doesn’t exist 🙁



  • @Rustmilian yeah, already tried it. The problem is that all of the apps in the instance are only installed for the root user (e.g. python and all it’s libraries. So, when I use su -c all I get is a lot of command not found messages that would take a lot to solve. Besides I expect a lot more problems when the command needs access to some files and some processes (like a sql database) that would require me to do a lot of stuff to grant permissions to the new user. That would eventually work but given the work it requires I thought that some kind of “anti sudo” command or something like that could exist so I can still be the root user but pretend I am not a superadmin


  • Forgot to mention that creating a new user brings a lot of problems because of how that machine is configured and all the tools that would need to be added the new user’s permission. In theory it would eventually work after some time working on it, but I’d like to know if there’s a way to do it without creating users (or if it’s impossible, so I can just go on with that only option)
    @linux







  • @Kalcifer @linux
    [ 5.010372] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
    [ 5.108148] iwlwifi 0000:01:00.0: Detected crf-id 0xbadcafe, cnv-id 0x10 wfpm id 0x80000000
    [ 5.108171] iwlwifi 0000:01:00.0: PCI dev 24fd/0110, rev=0x230, rfid=0xd55555d5
    [ 5.137796] iwlwifi 0000:01:00.0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm
    [ 5.556122] iwlwifi 0000:01:00.0: Detected Intel® Dual Band Wireless AC 8265, REV=0x230
    [ 5.614915] iwlwifi 0000:01:00.0: base HW address: 60:f6:77:eb:1e:6e, OTP minor version: 0x0
    [ 5.689840] iwlwifi 0000:01:00.0: iwlmvm doesn’t allow to disable HW crypto, check swcrypto module parameter
    [ 13.355547] iwlwifi 0000:01:00.0: Registered PHC clock: iwlwifi-PTP, with index: 0




  • @Rustmilian @linux Just tried that but no change. iwconfig was not found but I installed it through the wireless_tools arch package. Also confirmed that the linux-firmware package was always been installed with the iwlwifi-8265-34 and iwlwifi-8265-36 files in the folder you said. When I ran the iwconfig wlan0 power off command, there was no error but the connection quality didnt change, so I didnt do the rest of the suggestions
    @Link commented they had the same issue but in the end decided that the solution was replacing the realtek card for an intel because the drivers just dont work. Im starting to agree, but still dont know how this issue didnt exist when I had fedora running