New answers tagged

0 votes

Onworks default root password / how to define a root password

The password for all onworks.net servers is 123456 https://dev.to/17lwinn/onworks-how-to-run-ubuntu-online-cnm
  • 101
2 votes

sudo and su root broken

It looks like the username of the root account has been changed to oot. This might be a result of a mistake in editing the /etc/passwd file without using vipw to safeguard it... but together with ...
  • 72.7k
0 votes

When I use sudo command, it returns "Unable to open /etc/scl/prefixes/devtoolset-9!"

The user account that generates the error, Unable to open /etc/scl/prefixes/devtoolset-9! has the directory /soft/ieco1.0.3/support_2.6.32/devtoolset-9_as6/root/usr/bin in their $PATH (the list of ...
  • 94k
3 votes
Accepted

(Ubuntu) Non-root user has root access, but isn't in the sudo group

Do you see this line near/at the end of your /etc/sudoers file? #includedir /etc/sudoers.d This loads files that are present in the /etc/sudoers.d directory, treating them as part of the /etc/sudoers ...
  • 1,725
0 votes

After failure in "apt upgrade", sudo doesn't prompt for password. How do I fix?

After reading the bug report, I found the cleanest fix is: sudo apt upgrade perl-base ; sudo apt upgrade This will install libcrypt1 which contains the missing libcrypt.so.1; I just tried it on Kali-...
  • 103
1 vote

Will Wayland ever support graphical sudo?

This extends Thomas Guyot-Sionnest's answer. I feel like this deserves its own answer, since it cleaned up so many issues for me. Create a shell script called wlsudo with the following contents: #!/...
  • 160
0 votes

restrict sudo user acess to file/folder

In summary, is there any way I can prevent a sudo users to type certain commands such as rm -rf name_of_folder Nope, because you can only express simple matching against command and args in sudoers, ...
  • 231

Top 50 recent answers are included