Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In your epic story Debian would fail at step 1, apt install X without administrator rights on the machine.

On the contrast, you can install most apps from Windows Store without admin rights.



Seems you used Debian long time ago, the equivalent of the Windos Store, Gnome Software assuming you are using the default install, doesn't ask for any password...


How does that work? Or does it only work for snaps?

I used Ubuntu 18.04 recently, it still asked.


Well it would be `sudo apt-get install X` and the password is my password. In Windows how do I write a file to C:\ without logging into the administrator account? I didn't know, my friend didn't know, what's happened?


The equivalent of sudo is right click / run as administrator. You can run a command-line shell like cmd or PowerShell, or a file manager this way, and it will allow you to write everywhere.


`start-process notepad -Verb runAs`




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: