cancel
Showing results for 
Search instead for 
Did you mean: 

Can I put the username and password on the command line

MorettiMa
Level 2

Hi.

How can I put the username and password on the command line?
I had some command like :
hares.exe -offline processzyx -sys machinexyz
There is something like :
hares.exe -offline processzyx -sys machinexyz -user aaa -password aaaa 
or
hares.exe -offline processzyx -sys machinexyz -userfile d:\userpass.csv 

I need to make a script in powershell to stop and start some (200) process........

1 ACCEPTED SOLUTION

Accepted Solutions

frankgfan
Moderator
Moderator
   VIP   

check the hauser command man page for details or read the techynote below

https://sort.veritas.com/public/documents/sf/5.0/aix/manpages/vcs/hauser_1m.html

 

 

View solution in original post

2 REPLIES 2

frankgfan
Moderator
Moderator
   VIP   

check the hauser command man page for details or read the techynote below

https://sort.veritas.com/public/documents/sf/5.0/aix/manpages/vcs/hauser_1m.html

 

 

MorettiMa
Level 2

Didnt work...

I don't want to create user.
I want to use the user on the command line (in hares.exe) outside the GUI. without need to type in prompt, i need to make a powershell script, with user and password inside.