Chapter 13 Using jagtool and jagant


setjagadminpasswd

Description

Changes the jagadmin password for a server.

Syntax

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

Examples

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.

 


Copyright © 2002 Sybase, Inc. All rights reserved.