Unix Technical Forum

making "sqlplus /" work

This is a discussion on making "sqlplus /" work within the Oracle Miscellaneous forums, part of the Oracle Database category; --> hi, i want to make "sqlplus /" connect directly into the db without giving "invalid username/password" or prompting for ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 12:06 PM
niz
 
Posts: n/a
Default making "sqlplus /" work

hi,

i want to make "sqlplus /" connect directly into the db without giving
"invalid username/password" or prompting for username and password.

what do i need to to do in order to achieve this?

i have a unix user scott. i have a db user scott.

i have these relevant oracle db parameters:
*.remote_os_authent=TRUE
*.os_authent_prefix=' '

logged in as unix user scott, i want to issue "sqlplus /" and connect
directly into the db.

logged into unix user scott:
sqlplus scott/tiger -> works OK
sqlplus scott -> prompts for password
sqlplus -> prompts for username & password
sqlplus /.-> gives ERROR:ORA-01017: invalid username/password; logon
denied

what am i missing here?

--
reply to group, email invalid

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 12:06 PM
Michel Cadot
 
Posts: n/a
Default Re: making "sqlplus /" work


"niz" <niz@infidel.freeserve.co.uk> a écrit dans le message de news: 1182828827.428674.271740@z28g2000prd.googlegroups. com...
| hi,
|
| i want to make "sqlplus /" connect directly into the db without giving
| "invalid username/password" or prompting for username and password.
|
| what do i need to to do in order to achieve this?
|
| i have a unix user scott. i have a db user scott.
|
| i have these relevant oracle db parameters:
| *.remote_os_authent=TRUE
| *.os_authent_prefix=' '
|
| logged in as unix user scott, i want to issue "sqlplus /" and connect
| directly into the db.
|
| logged into unix user scott:
| sqlplus scott/tiger -> works OK
| sqlplus scott -> prompts for password
| sqlplus -> prompts for username & password
| sqlplus /.-> gives ERROR:ORA-01017: invalid username/password; logon
| denied
|
| what am i missing here?
|
| --
| reply to group, email invalid
|

alter user scott identified externally;

Regards
Michel Cadot


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 12:06 PM
Jim Smith
 
Posts: n/a
Default Re: making "sqlplus /" work

In message <46809214$0$26930$426a34cc@news.free.fr>, Michel Cadot
<micadot{at}altern{dot}org@?.?.invalid> writes
>
>"niz" <niz@infidel.freeserve.co.uk> a écrit dans le message de news:
>1182828827.428674.271740@z28g2000prd.googlegroups .com...
>| hi,
>|
>| i want to make "sqlplus /" connect directly into the db without giving
>| "invalid username/password" or prompting for username and password.
>|
>| what do i need to to do in order to achieve this?
>|
>| i have a unix user scott. i have a db user scott.
>|
>| i have these relevant oracle db parameters:
>| *.remote_os_authent=TRUE
>| *.os_authent_prefix=' '
>|
>| logged in as unix user scott, i want to issue "sqlplus /" and connect
>| directly into the db.
>|
>| logged into unix user scott:
>| sqlplus scott/tiger -> works OK
>| sqlplus scott -> prompts for password
>| sqlplus -> prompts for username & password
>| sqlplus /.-> gives ERROR:ORA-01017: invalid username/password; logon
>| denied
>|
>| what am i missing here?
>|
>| --
>| reply to group, email invalid
>|
>
>alter user scott identified externally;
>
>

Also *.os_authent_prefix=' ' looks as if it has a space in it. It needs
to be an empty string. ''

--
Jim Smith
Ponder Stibbons Limited <http://oracleandting.blogspot.com/>
RSS <http://oracleandting.blogspot.com/atom.xml>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:24 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com