Talking about that, how i can configure makepkg to use su instead of sudo on makepkg -si?

|
RadiantKnight 2022-09-28 15:02:51
I wish they shut down aur
capezotte 2022-09-28 15:10:09
cemu aur
capezotte 2022-09-28 15:10:11
bottom text
lordV 2022-09-28 15:17:42
RadiantKnight 2022-09-28 15:02:51
I wish they shut down aur

why so .. its a advantage of arch over many others

ChrisCromer 2022-09-28 15:38:05
RadiantKnight 2022-09-28 15:02:51
I wish they shut down aur

Not even AUR… If you have to send your PKGBUILD privately… It has some shady shit in it most likely which might destroy your system or install a backdoor or something. Don’t trust anything that guy sends.

ChrisCromer 2022-09-28 15:39:00
To me it sounds like someone trying to target people to hack their sysyem.
capezotte 2022-09-28 15:41:15
ChrisCromer 2022-09-28 15:39:00
To me it sounds like someone trying to target people to hack their sysyem.

hallo sar run this pkgbuild that totally won’t pastebin your specs to me

ChrisCromer 2022-09-28 15:43:56
PKGBUILD files are just shell scripts… So naturally running a random shell script that you haven’t checked is dangerous.
capezotte 2022-09-28 15:44:48
capezotte 2022-09-28 15:41:15
hallo sar run this pkgbuild that totally won’t pastebin your specs to me

actually happened in 2019

ChrisCromer 2022-09-28 15:45:02
I don’t think most AUR users realize they are scripts and can do serious damage.
capezotte 2022-09-28 15:45:35
ChrisCromer 2022-09-28 15:45:02
I don’t think most AUR users realize they are scripts and can do serious damage.

especially since most AUR users are DDOSers manjaros

ChrisCromer 2022-09-28 15:45:38
capezotte 2022-09-28 15:44:48
actually happened in 2019

Lol, this is why AUR is dangerous… Even worse some rando sending you a script to execute. 🤣

ChrisCromer 2022-09-28 15:46:51
The only good thing is that makepkg runs without root privileges, so at least the script won’t be run as root.
capezotte 2022-09-28 15:59:42
ChrisCromer 2022-09-28 15:46:51
The only good thing is that makepkg runs without root privileges, so at least the script won’t be run as root.

that’s why we put the good stuff inside the postinst scripts 😏

ItsZariep 2022-09-28 15:59:57
su -c “makepkg” 😏
capezotte 2022-09-28 16:00:06
or do it like the blinking pkgbuild and rely on people having lingering sudo
ItsZariep 2022-09-28 16:00:20
ItsZariep 2022-09-28 15:59:57
su -c “makepkg” 😏

i know makepkg dont let you do this

ItsZariep 2022-09-28 16:00:57
talking about that, how i can configure makepkg to use su instead of sudo on makepkg -si?
ChrisCromer 2022-09-28 16:22:03
ItsZariep 2022-09-28 15:59:57
su -c “makepkg” 😏

Won’t work, makepkg detects elevated privs and quits.

ChrisCromer 2022-09-28 16:22:29
ItsZariep 2022-09-28 16:00:57
talking about that, how i can configure makepkg to use su instead of sudo on makepkg -si?

Modify makepkg source code and change it.

ChrisCromer 2022-09-28 16:23:05
But will say it’s fucking stupid to change from sudo to su, it’s less secure.
ItsZariep 2022-09-28 16:25:55
ChrisCromer 2022-09-28 16:22:29
Modify makepkg source code and change it.

holy shit

ItsZariep 2022-09-28 16:26:28
no way, continue using makepkg && doas pacman -U
grakata_clem 2022-09-28 16:46:32
ItsZariep 2022-09-28 16:26:28
no way, continue using makepkg && doas pacman -U

Lemme guess, you use doas instead of sudo?

ItsZariep 2022-09-28 16:46:43
grakata_clem 2022-09-28 16:46:32
Lemme guess, you use doas instead of sudo?

yes

qontinuum 2022-09-28 16:46:59
BTW @ChrisCromer is it wanted that we aren’t able to delete messages as mods? It needs the cleaner privilege and we aren’t
ItsZariep 2022-09-28 16:47:11
i dont know why, but commands with sudo takes a bit to execute
qontinuum 2022-09-28 16:47:34
ItsZariep 2022-09-28 16:47:11
i dont know why, but commands with sudo takes a bit to execute

Because they don’t

ItsZariep 2022-09-28 16:47:43
like if i do “sudo pacman …” it takes like 1-3 seconds, with doas its instantly
grakata_clem 2022-09-28 16:47:46
ItsZariep 2022-09-28 16:47:11
i dont know why, but commands with sudo takes a bit to execute

Because it’s massive

ItsZariep 2022-09-28 16:47:50
qontinuum 2022-09-28 16:47:34
Because they don’t

because i hav a potato

grakata_clem 2022-09-28 16:47:56
Doas is the basic minimum, and I like it
ItsZariep 2022-09-28 16:48:08
🥔🖥 my pc
Spektrum_light 2022-09-28 16:50:24
ItsZariep 2022-09-28 16:48:08
🥔🖥 my pc

nazi donald duck

Spektrum_light 2022-09-28 16:50:30
bottom text
|