Closed OcelotWalrus closed 4 months ago
noticed this too, working on a fix
also, su user
by default always asks for the root pass, not the target user's pass
edit: nvm, that came out wrong, idk what i was thinking
im not sure why the comment above is boldened
Using a "#" makes them big and bold
nothing in my message has a hashtag though
the way i'd go around fixing it is removing the su function entirely and rewriting it from scratch
the way i'd go around fixing it is removing the su function entirely and rewriting it from scratch
Better idea. I could work on that if you want.
If you want to. I'm going to work on it if you or Yajus don't
If I do it it's going to be this week-end though. Or maybe on Thursday.
I'll do it then, no worries
EVERY issue has been mostly fixed, except an incredibly crucial combination
sudo su
sudo without the -s arg restores you back to the previous user once it has finished running, and that means it effectively drowns out the changes made by su
ideally, sudo su
should ask for Monarch, switch to root without opening a shell
look up test cases i threw if you're attempting to try and fix this behaviour
ideally, sudo su should ask for Monarch, switch to root without opening a shell look up test cases i threw if you're attempting to try and fix this behaviour
yes.
EVERY SINGLE BUG WE HAD WITH SUDO AND SU IS FIXED
GO WILD IT PASSES EVERY SINGLE TEST CASE
Nice!
I tested the su command and here are the issues I've encountered:
3thiryseven7
) and it failed, but when using the root password, it worked but it still connected me to the Miriel's account. so the bug is that when 'su'ing any account, it's always the root password that works