Hi,

I could do it successfully yesterday. The right commandline in as follows.

$ java -classpath 
$CATALINA_HOME/server/lib/catalina.jar:/opt/commons-logging/commons-
logging.jar org.apache.catalina.realm.RealmBase -a sha1 manager


Thank You so much for providing this solution.

Regds,
Nehal

-----Original Message-----
From: Charlie C.L. King [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 27, 2005 8:12 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Securing Manager Role


hi,
looks like you're stuck with your kshell.
how about specifying canonical path to your java executable, e.g.
/opt/bin/java?

or if you're under some unix environment like FreeBSD, you can just use
'md5' or 'sha1' provided by system:
% sha1 -s 'passphrase here'
it will produce the same result for you.

On 10/27/05, Nehal Sangoi <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I modified my server.xml as follows.
>
> <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
> resourceName="UserDatabase" digest="SHA1"/>
>
> Also, downloaded "commons-logging-20051027.tar.gz" and untarred the same.
>
> Later i tried giving below command :
>
> $ java -classpath
> $CATALINA_HOME/server/lib/catalina.jar:/opt/commons-logging/commons-
> logging.jar org.apache.catalina.realm.RealmBase -a sha1 <manager>
> But recd. following error :
>
> ksh: syntax error: `newline or ;' unexpected
>
> Please help doing this successfully.
>
>
> Thanks,
> Nehal
>

--
Regards, Charlie


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to