cancel
Showing results for 
Search instead for 
Did you mean: 

Query in usermod command

SOLVED
Go to solution
shameemsoft
Frequent Advisor

Query in usermod command

Hello,

we need to change password for more than 50 hosts. i have encrypted password.

i can propagate with usermod command. but it is giving error, user already in use.

critical application is running on these hosts.

I can use force option.

my question---

is it safe? will it affect application since application is using this user account?

Regards
Shameem
4 REPLIES
Duncan Edmonstone
Honored Contributor
Solution

Re: Query in usermod command

if all you are doing is modifying the password, it is safe... the user won't be kicked out

this check is there for when you are doing something that could really effect a user logged in (changing the UID or GID for example).

so as long as the application isn't logging in to the system using a cached copy of the old password somewhere you are fine...

HTH

Duncan

HTH

Duncan
點燃
Valued Contributor

Re: Query in usermod command

No problems under normal circumstances. However, as said above, it depends on the nature of your application. Check with the application admin as well.
Man's mind, once stretched by a new idea, never regains its original dimensions
shameemsoft
Frequent Advisor

Re: Query in usermod command

Thank you guys for your response
shameemsoft
Frequent Advisor

Re: Query in usermod command

Closing this thread....