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:
but the "--stdin" doesn't worked on solaris bash.
how can i solve this?
1. It's not a problem that old PW ist after executing stored in history. Because after execution the password is old and not usable
2. i have no root access.
3. i can't install a additionally Package (but i can use a local script)
4. yes, I'm lazy but this are 35 Servers and it's annoying to type this password 35 times.
how can this be modified to work:
echo 1 2 45 4 5 | openssl aes-128-cbc -a -salt -k $(awk '{print $3}')
any ideas?
if the above were to work as I envision it, the password that would decrypt the encrypted text would be:
echo "the encrypted text" | openssl aes-128-cbc -a -salt -k 45 (0 Replies)
Below is the error I'm getting.
# passwd username
Changing password for username.
New Password:
Reenter New Password:
Password changed.
New UNIX password:
Retype new UNIX password:
Password has been already used. Choose another.
passwd: Authentication token manipulation error# cat... (0 Replies)
Hi All
I had installed sudo in HP UX 11.3 and it is working fine but not able to make entry required to set permission similar to ROOT without using password (PASSWD) change option for define user in /etc/sudoers file
Please help if some know the syntex? :confused::wall: (2 Replies)
Hi guys,
I need to know how i can ignore Pipe '|' if Pipe is coming as a column in Pipe delimited file
for eg:
file 1:
xx|yy|"xyz|zzz"|zzz|12...
using below awk command
awk 'BEGIN {FS=OFS="|" } print $3
i would get xyz
But i want as :
xyz|zzz to consider as whole column... (13 Replies)
Hi,
I know this has been covered many times on this forum from one os to a new os.
Has Port/migrate Password passwd HP-UX to HP-UX been covered?
B.11.11 U 9000/800 --to-- B.11.11 U 9000/785?
TIA. I'm kinda new to HP side of UNIX.
I need to sink up my test and live passwords for a big... (1 Reply)
Hi Folks,
I have Solaris 10, latest release.
We have passwd aging set in /etc/defalut/passwd.
I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging.
When I reset the users passwd using passwd command, it re enables... (3 Replies)
Hi,
We are currently in the process to move the user authentication for our AIX clients to a Windows 2003 server to authenticate them against the active directory entries.
What we have so far:
- NIS master server on Windows 2003 Server with the unix-subsystem installed -> This is managing... (1 Reply)