0
votes
1answer
3k views

Why there is no sudoers file: “/etc/sudoers: No such file or directory”?

I am trying to add a new admin user, but: # adduser username admin adduser: The user `username' does not exist. # man sudoers No manual entry for sudoers # less /etc/sudoers /etc/sudoers: No ...
1
vote
1answer
1k views

Always required to use “sudo” in the terminal

Recently I've noticed that every time I try to use a command like "mkdir", I get "permission denied" when used without "sudo". I guess that's because I am not connected as an admin, only as far as I ...
1
vote
1answer
39 views

Get Windows To Remember Recent Admin Auth?

Ubuntu remembers one has recently authorized admin access (Sudo and Gksu at least) to avoid the need to repeatedly auth. Is this possible in Windows?
1
vote
3answers
5k views

How can I run commands in PowerShell with Administrator permissions?

I would like to run commands in PowerShell with Administrator permissions? How can I do that? I have tried to start PowerShell with the runas command, but PowerShell is closed immediately after I ...