i'm getting this error while setting policy in s3cmd

"ERROR: S3 error: 403 (403 Forbidden): javax.security.auth.login.LoginException: Login Failure: all modules ignored"

can anyone help in guiding the write way to set policy for eucalyptus bucket using s3cmd?