Chapter 13 Using jagtool and jagant
Changes the jagadmin password for a server.
Command line:
setjagadminpasswd [-server ServerName] oldpassword newpassword
Ant build file:
<jag_setjagadminpasswd [server="ServerName"] oldpassword="oldpassword " newpassword="newpassword" />
Option | Description | Default | Required |
---|---|---|---|
server | Indicates the server for which to set the jagadmin password. The specified server must be defined in the repository used by the server to which you are connected. | Jaguar | No |
oldpassword | The current password for the server. | - | Yes |
newpassword | The current password for the server. | - | Yes |
This example changes the jagadmin password on MyServer from "secret" to "newsecret". The server MyServer must be in the same repository as the server to which jagtool connects.
jagtool setjagadminpasswd -server MyServer secret newsecret
<jag_setjagadminpasswd server="MyServer" oldpassword="secret" newpassword="newsecret"/>
Copyright © 2002 Sybase, Inc. All rights reserved. |
![]() |