Different passwords for different purposes
Hi all.
Is it possible to have different passwords - one for "login", and one for "sudo previleges" in Fedora? Regards, Ajay |
Not that I'm aware of
|
Thanks kbp for the reply.
Well, so it it possible that we may have the same password, but disable it during login, while keep it enabled while running "sudo previleged" commands? Regards, Ajay |
Sudo uses the users password, I'm not sure of any way to change that, however you can and should only give sudo access to accounts you need it for.
If your goal is to have a limited user account without sudo, but have the option for just you to perform superuser actions you could make a separate user with sudo privileges and use that when you need sudo. Or use the su command to log in as a different account (either root or an administrative user) to perform tasks requiring elevated rights. Why, may I ask, do you want separate passwords like this, though? It's usually easier to not share accounts, if that is the case, and make a new user for everyone who uses the computer. |
No, 'sudo' and 'su' use standard Unix authentication modules.
It is possible to create a workaround, but it lowers the security level and therefore not advised. |
All times are GMT -5. The time now is 11:50 PM. |