- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disable oracle login
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2007 04:09 AM
тАО08-07-2007 04:09 AM
Disable oracle login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2007 04:18 AM
тАО08-07-2007 04:18 AM
Re: Disable oracle login
1) Change the shell in /etc/passwd to /usr/bin/false
2) Change /etc/profile to detect and log out the oracle user.
Suggestion 2 interfers with system startup of the database. System 1 does as well. Don't do either if your system auto starts oracle.
Another method is the use the passwd -l command.
Root should still be able to start the database after running:
passwd -l oracle
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2007 04:25 AM
тАО08-07-2007 04:25 AM
Re: Disable oracle login
> How would one disable direct login from to root
If that is the question, then one way is to create '/etc/securetty' with the line:
console
...This will prevent 'root' from logging on anywhere except from the console. This does *not* prevent 'su' to the root account, but that will be tracked in '/var/adm/sulog'.
To impose additional constraints on 'su' setup a 'SU_ROOT_GROUP' in '/etc/default/security'. This option forces a non-superuser to be a member of the specified root group to be allowed to 'su' the root account.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2007 05:46 AM
тАО08-07-2007 05:46 AM
Re: Disable oracle login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2007 06:29 AM
тАО08-07-2007 06:29 AM
Re: Disable oracle login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2007 06:43 AM
тАО08-07-2007 06:43 AM
Re: Disable oracle login
http://docs.hp.com/en/5991-8678/index.html
Either that, buy Server Control from http://www.foxt.com or I believe Centrify has something as well...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2007 07:39 AM
тАО08-07-2007 07:39 AM
Re: Disable oracle login
/var/adm/.access_list
/var/adm/.secure_console
/var/adm/.generic_login
The account IDs listed in ile .generic_login will restric direct login. One has to login as themself before su to generic accounts.
-Srini