I have created a user account on a Linux server, now I want to create password When I type passwd user1, it says:

 -- ERROR --
 The user user1 is currently authenticated from a remote source.
 Please change the password at the remote authentication server. 

Does anyone know what is causing this? Thanks

| improve this question | | | | |
  • 2
    A remote auth source that isn't supported by PAM for password changes. – Ignacio Vazquez-Abrams Mar 19 '18 at 9:37
  • Sorry, could you explain more in details? – Head and toes Mar 19 '18 at 9:38
  • 3
    @Headandtoes Like RADIUS, TACACS, Kerberors, Active Directory etc. – yahol Mar 19 '18 at 9:54

The error message tells you that user1 is not authenticated via a password on the local machine (which would allow you, as an administrator of the local machine, to change their password) but it is authenticated via a remote service such as RADIUS, TACACS, Kerberos, AD, Diameter, etc. (See for instance the AAA article on Wikipedia.)

Therefore, you need to be an administrator of the remote auth service which is used to authenticate user1, and then change user1's password from there.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.