3 ms·
Notice the sudo and terminal. You must enter a password in a terminal. In windows you just click twice.
by devwastaken 2y ago
Notice the sudo and terminal. You must enter a password in a terminal. In windows you just click twice.
- chii 2y agohow is that any different? you're still allowing arbitrary code to run. Unless you are saying that those who type into the terminal will first |echo the script into a file, verify it, then run?
- _Microft 2y ago> In windows you just click twice. Uh, oh, that means you're working on an admin account. If you are using a normal user account, you will be prompted to enter your admin credentials instead. (You can also force this behaviour on administrator accounts. Search for the registry setting "ConsentPromptBehaviorAdmin")
- zamadatix 2y agoOn Windows installs the default user created in a home/pro install is an admin and it never prompts the user to go create a non-admin account for daily use. This actually makes perfect sense in itself (beyond the behavior defaults you mention being backwards).
- justsomehnguy 2y agoNotice you ignored setenforce and what it's already a root session.