LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Unlock another user by non-root account (https://www.linuxquestions.org/questions/linux-security-4/unlock-another-user-by-non-root-account-4175618140/)

CookieMan1337 11-22-2017 03:11 AM

Unlock another user by non-root account
 
Greetings.
I faced a problem which I need to resolve and I need your help, please.

We logged by non-root user, e.g. user A. We don't know root password and can't use sudo features. Another user, e.g. user B, locked in /etc/shadow. Don't have rights to edit or view /etc/shadow -> Permission denied when I try to do something with it.

Question: How can I unlock user B? Or what I need to find to do this
My friend said he found solution for a week ago, but don't tell it, just say it's look like a bug :(

pan64 11-22-2017 04:30 AM

I think by design regular users are not allowed to do that.

sundialsvcs 11-22-2017 09:32 AM

Exactly so. You must ask the system administrators to unlock the account. (Which also brings up the intriguing question of exactly why they locked it in the first place? Mmmm...?)


All times are GMT -5. The time now is 05:43 PM.