You haven't provided enough details.
What is your distro? How are you trying to login as os user oracle?
What is the problem you are getting? Is it any error?
OS authentication allows Oracle to pass control of user authentication to the operating system.
When a connection is attempted from the local database server, the OS username is passed to the Oracle server. If the username is recognized, the Oracle the connection is accepted, otherwise the connection is rejected.