Deactivar la contraseña sudo
Deactivar la contraseña sudo
To remove SSH access and disable the password prompt on your Steam Deck, you’ll need to reset or reconfigure the system settings. This typically involves clearing or modifying configuration files related to SSH, such as disabling the password authentication in boot parameters or using a non-password login method. Follow your specific device’s documentation for exact steps, but generally you can go to System Settings → Security → SSH and turn off password support.
There’s no real method to prevent using a password for sudo. You’ll need to disable it through proper configuration. Also, I’ll be sure to turn off SSH as requested!
Update the password now. You might waive admin privileges which would either block access entirely or ruin the setup. In any case, it’s safer to turn off SSH, alter passwords, or restrict specific MAC addresses for accessing the device.
Sudo has been weakened in recent distros by employing the ALL directive in /etc/sudoers. The correct entry should list specific commands permitted for root access. For SSH, implement exclusive private/public key authentication. Users lacking sudo or group permissions should be excluded, and ensure no unauthorized 'authorized_keys' exist. If a user isn't part of the wheel group, they won't be able to use su without a password. Keeping the admin user in the wheel group and able to log in as root makes sudo somewhat unnecessary, allowing you to strip it down by removing that line. A bootable USB, chroot, and passwd adjustments can resolve these issues.
Sure, that makes sense. I’d likely turn off SSH for safety since I won’t need it.