Hacker News new | ask | show | jobs
by dist-epoch 942 days ago
UAC is the Windows equivalent of sudo.

Do you disable sudo on your Linux box or run everything as root?

2 comments

Not really, you use sudo when needed, at your will, not when Linux thinks you need it. I can just setuid some executable, how do you do it with Windows?
You can absolutely log in as root and run anything with no questions asked.

Where’s that login for windows for those who want that?

You can login as Administrator if you enable the user account. You can also just turn admin approval mode to "never ask" in the Control Panel.

While you can't login as SYSTEM (since it's not really a user account), you can trivially open a shell under it's account (and you can do everything you need as an administrator anyway, so there's really no point).

I used to use a PowerShell snippet for adding SeBackupPrivilege and SeRestorePrivilege to an app or explorer window. That will let you read/write anywhere on disk.