Hello,
I have a problem. As ldap admin, i have a account with a stored password in passwd (means local). This password must be changed every 30 days.
Now i want execute "passwd" without prompt for the actual password.
I will only typie in the new password.
On Ubuntu i solve this with the following command:
echo "<oldPWD>" | passwd -r files <USERNAME>--stdin
but the "--stdin" doesn't worked on solaris bash.
how can i solve this?
-
It's not a problem that old PW ist after executing stored in history. Because after execution the password is old and not usable
-
i have no root access.
-
i can't install a additionally Package (but i can use a local script)
-
yes, I'm lazy but this are 35 Servers and it's annoying to type this password 35 times.
thanks in advanced