tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charlie C.L. King" <clk...@gmail.com>
Subject Re: Securing Manager Role
Date Thu, 27 Oct 2005 14:41:46 GMT
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 <nehal.sangoi@patni.com> 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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message