F5F Stay Refreshed Software Operating Systems Deactivar la contraseña sudo

Deactivar la contraseña sudo

Deactivar la contraseña sudo

G
goldfer1
Member
60
05-23-2021, 03:59 AM
#1
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.
G
goldfer1
05-23-2021, 03:59 AM #1

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.

A
AlexBun
Junior Member
21
05-23-2021, 10:56 AM
#2
Halt the SSH process and remote access is unavailable. # This halts the ssh service using sudo systemctl stop sshd # stops its ability to start once the system reboots sudo systemctl disable sshd
A
AlexBun
05-23-2021, 10:56 AM #2

Halt the SSH process and remote access is unavailable. # This halts the ssh service using sudo systemctl stop sshd # stops its ability to start once the system reboots sudo systemctl disable sshd

_
_NinjaSam_
Member
170
05-23-2021, 07:36 PM
#3
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!
_
_NinjaSam_
05-23-2021, 07:36 PM #3

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!

T
The_Red_Foxx
Junior Member
10
05-27-2021, 02:20 AM
#4
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.
T
The_Red_Foxx
05-27-2021, 02:20 AM #4

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.

K
kcaz56
Senior Member
664
06-03-2021, 02:15 PM
#5
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.
K
kcaz56
06-03-2021, 02:15 PM #5

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.

S
SorryNigga
Member
125
06-03-2021, 03:58 PM
#6
Sure, that makes sense. I’d likely turn off SSH for safety since I won’t need it.
S
SorryNigga
06-03-2021, 03:58 PM #6

Sure, that makes sense. I’d likely turn off SSH for safety since I won’t need it.

M
muzuku
Junior Member
22
06-04-2021, 09:01 AM
#7
Only certain users are permitted. You can also turn off password login and rely solely on asymmetric key verification. This ensures no authorized keys exist for the root user, making external access unattainable.
M
muzuku
06-04-2021, 09:01 AM #7

Only certain users are permitted. You can also turn off password login and rely solely on asymmetric key verification. This ensures no authorized keys exist for the root user, making external access unattainable.