Current Position:Home > Best way to set up service account (to run weblogic)

Best way to set up service account (to run weblogic)

Update:11-30Source: network consolidation
Advertisement
I have to create a user that will own the WebLogic Java process. I would assume I should disallow this user from being able to log in. What is the best way to do that? I saw one reference that suggested setting the user's shell to "/bin/false". Is that a reasonable way to do that? What are other good practices for creating these "service accounts"?

The Best Answer

Advertisement
Ah, sorry.
The users passwords are stored in a file called /etc/shadow, the syntax of this file is
user:encrypted password:days since last password change:::::
the last five colons are for password expire information.
For a user to have no password, add then to /etc/shadow with NP as a password, i.e:'postgres:NP:::::::
postgres:NP:::::::
.7/M.