Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We use following syntax to stop a webpshere application server:

stopServer.sh servername -user admin_userid -password admin_password

However the start command is less luminous

startServer.sh servername

Why does only stop command requires admin credentials while start command does not ask for any?

share|improve this question

1 Answer 1

stopServer.sh and startServer.sh have and should have the same privilege/restriction. Maybe the server Admin had restriction the stopServer.sh to admin users only.

But I'm pretty sure that isn't the case in the default installation.

EDIT

I recheck, here the new info:

The startServer doesn't need user/pass even if security is enable

The stopServer need username and password credential if security is enable.

IMHO, they design the server this way, because there's more consequences when you stop a server than when you start it.

share|improve this answer
    
What you are saying makes sense. But that is the default behavior. Up on creation of a WAS profile, if you provide admin credentials, that is required only while shutting down the profile server not while starting it. –  ring bearer Feb 28 '12 at 22:12
    
oh you're right, I changed my answer with new info. I'm used to use websphere commerce, and apparently it's not the same things about credential –  Nettogrof Feb 28 '12 at 22:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.