[-] nirogu@social.vivaldi.net 1 points 1 year ago

@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

[-] nirogu@social.vivaldi.net 0 points 1 year ago

@ursakhiin honestly, I didn't even know an aws instance could be a docker image. Everything I did was creating the instance normally so I assumed it was just a regular vm. But already double checked and it is not a docker image, so no problem there ๐Ÿ™‚

[-] nirogu@social.vivaldi.net 1 points 1 year ago

@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 ๐Ÿ™

[-] nirogu@social.vivaldi.net 0 points 1 year ago

@Oisteink in another comment (https://social.vivaldi.net/users/nirogu/statuses/111342629815373353) I explained why I'd prefer not to create another user, as it would require a lot of work to configure everything again for that command to work (it's a big process). I was thinking of hiding my sudo permissions from the program or something like that, if possible, because many things in the instance are only configured to be used with the root user, even if they don't require sudo. Anyway, I'm seeing that it might not be possible so creating a new user could be the only option ๐Ÿ™

[-] nirogu@social.vivaldi.net 0 points 1 year ago

@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

[-] nirogu@social.vivaldi.net 0 points 1 year ago

Impressive results! Only wished they had shared some code or any way to replicate the experiments easily

[-] nirogu@social.vivaldi.net 1 points 1 year ago

@Link @linux Yep, writing from Tusky right now. The fediverse is great :)

[-] nirogu@social.vivaldi.net 1 points 1 year ago

@Link @linux Yeah the kernel changes nothing, I might have to change to intel because I dont know what else to do at software level
About the @ , I'm using my mastodon account to write all these posts and they are added automatically. Besides thats the best way for the posts I write in mastodon to appear as comments in lemmy clients. If they look weird to you it might be activitypub compatibility bugs but nothing too important :)

[-] nirogu@social.vivaldi.net 1 points 1 year ago

@Link @linux Yeah, I'm thinking that that could be the way. I've already had a lot of progress maintaining the connection by configuring iwlwifi but it is still way slower than it should

[-] nirogu@social.vivaldi.net 1 points 1 year ago

@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

[-] nirogu@social.vivaldi.net 1 points 1 year ago

I might do that if nothing else works, but it'd be really weird if there is not a simple native linux solution, I'm just not an expert lol

view more: โ€น prev next โ€บ

nirogu

joined 2 years ago