Restrict ssh for particular user

Dear Concern,

We want to restrict ssh for particular user "oracle". Our HP UX version is as below. Please advise.

# uname -a
HP-UX tabsdb02 B.11.31 U ia64 2963363594 unlimited-user license

Have you checked man sshd_config , especialy AllowUsers directive mentioned in it ?

Regards
Peasant.

How are people logging in as that account? Do they have a password or SSH key perhaps?

The easiest way would be to change the password and remove any unauthorised entries from ~oracle/.ssh/authorized_keys

Then, only allow access to people with a sudo rule and keep that list very restricted.

What is the actual issue you are trying to solve?

Robin