- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disabling 3 attempts while logging to SQL Plus
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
тАО10-09-2002 10:12 PM
тАО10-09-2002 10:12 PM
Disabling 3 attempts while logging to SQL Plus
When we first login to SQL Plus, it gives three attempts to login. I would like to disable it and set it to 1 attempt only. Will appreciate to know the way I can do this.
Regards,
Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2002 01:17 AM
тАО10-10-2002 01:17 AM
Re: Disabling 3 attempts while logging to SQL Plus
So you can just do a
sql>alter profile default limit failed_login_attempts 6;
sql>alter user
you can test this by creating a new profile instead of modifying the default one by
SQL> create profile prod_limit
limit failed_login_attempts 6;
SQL> create user abc identified by abcd
default tablespace
SQL> grant create session to abc;
SQL> alter user abc profile prod_limit;
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2002 01:22 AM
тАО10-10-2002 01:22 AM
Re: Disabling 3 attempts while logging to SQL Plus
As I know these three attempts are compiled in the sqlplus-binary, so there is no easy way to leave sqlplus after one attempt.
In a script you can use
sqlplus <
EOF
then you have only one attempt.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2002 01:25 AM
тАО10-10-2002 01:25 AM
Re: Disabling 3 attempts while logging to SQL Plus
Leaving sqlplus after three attempts does not disable the user in the database.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2002 03:07 PM
тАО10-10-2002 03:07 PM
Re: Disabling 3 attempts while logging to SQL Plus
Is there a way I can make one attempt the default for every user?
~Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2002 05:23 PM
тАО10-10-2002 05:23 PM
Re: Disabling 3 attempts while logging to SQL Plus
This is referred as BUG-381695 by Oracle... a request for enhancement was requested by Oracle but it was rejected ... You can refer oracle sites to find details about this bug ..
There is no direct solution to achive this ...
U can try this:
Make users connect to the database using procedures/passing parameters ... when the first connections fails with the password passed as parameter, use WHENEVER SQL ERROR Exception and close the connection ...
this approach may be suitable for batch jobs like things but for every sqlplus connection by user you may not achieve the results ....
Look in the oracle sites for more info ...
cheers
-bala-