TokenHash
asked on
reset user password via cli
I have forgoten the VNC password but can log in via ssh.
1) How do I reset a user account password via CLI
2) How do I reset the VNC password and restart the vnc service
running tiger on an apple xserve
1) How do I reset a user account password via CLI
2) How do I reset the VNC password and restart the vnc service
running tiger on an apple xserve
ASKER
ok show me the password to be 12345
but when I input it in vnc viewer, i get password incorrect
but when I input it in vnc viewer, i get password incorrect
ASKER
do i need to restart the vnc service?
if you have changed the password recently you may try to restart the service. Are you sure you are connecting to the right VNC server (screen)? I have feeling this is some sort of user error here.
Cheesr,
t.
Cheesr,
t.
ASKER
newbie to cli
ip is correct
not sure how to restart the vnc via cli
ip is correct
not sure how to restart the vnc via cli
try that:
sudo /System/Library/CoreServic es/RemoteM anagement/ ARDAgent.a pp/Content s/Resource s/kickstar t -restart -agent
sudo /System/Library/CoreServic
ASKER
:(
still no luck
still no luck
ASKER
or if you know how to view a list of user account in the workgroup manager ? and reset a users password in the workgroup? via cli
can you try somethnig like:
sudo passwd <username>
sudo passwd <username>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
od:~ root# pwpolicy -a pws_admin -u jimbob -setpassword Pa55word
Password:
pws_admin is not a password server account.
error
Password:
pws_admin is not a password server account.
error
Hi!
you need to replace pws_admin with your pws_admin username I believe.
Cheers,
t
you need to replace pws_admin with your pws_admin username I believe.
Cheers,
t
ASKER
Fantasic :)
try this:
To show existing password:
$ sudo cat /Library/Preferences/com.a
7F513D02E4A8C5E2FF1C395673
$ sudo cat /Library/Preferences/com.a
hello
$
Cheers,
t.