Username password asked during loging

Tags
shell scripts

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 05-16-2011
Username password asked during loging

Hi,

Whenever I open my unix box,after providing username and password I get the following message.

Code:
Are you authorised to use this computer as detailed above? (Y)es/(N)o : y
Export: Release 10.2.0.2.0 - Production on Mon May 16 16:00:15 2011
Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Username:
Password:
EXP-00056: ORACLE error 12162 encountered
ORA-12162: TNS:net service name is incorrectly specified
EXP-00000: Export terminated unsuccessfully


The session gets automatically connected to oracle and asks for oracle username and pwd.

I have changed my .profile,still the problem pertsists.

Kindly help.

Last edited by pludi; 05-16-2011 at 12:46 PM..
# 2  
Old 05-16-2011
Some .??* script is calling oracle to go to a server not configured. Put some debug messages in .profile, like "echo .profile start >/dev/tty", to see if it is there or earlier.
# 3  
Old 05-16-2011
It could also be /etc/profile or even more likely, a file in /etc/profile.d/.

There's a fair chance that the oracle package installed a file, /etc/profile.d/oracle.sh. If it's causing your problem, it would be better to figure out how to solve it without editing the file, since it could be replaced when the package is updated (or will fail to be replaced because it was edited even though it should be replaced).
This User Gave Thanks to KenJackson For This Post:
rmcc4444 (05-16-2011)
# 4  
Old 05-16-2011
Quote:
Originally Posted by KenJackson
It could also be /etc/profile or even more likely, a file in /etc/profile.d/.

There's a fair chance that the oracle package installed a file, /etc/profile.d/oracle.sh. If it's causing your problem, it would be better to figure out how to solve it without editing the file, since it could be replaced when the package is updated (or will fail to be replaced because it was edited even though it should be replaced).
Ken,

I love reading your posts. They are always very detailed and actually explain what is going on. Smilie
# 5  
Old 05-17-2011
Quote:
Originally Posted by rmcc4444
I love reading your posts. They are always very detailed and actually explain what is going on. Smilie
You're very kind. I'm glad I could help.
# 6  
Old 05-17-2011
You'd think Oracle would wait for you to get logged in to UNIX!
Login to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Similar Threads More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sudo asked for root password . lobsang UNIX for Beginners Questions & Answers 4 03-11-2017 06:23 PM
Steps after username and password is entered ! juzz4fun Shell Programming and Scripting 5 06-13-2013 12:31 PM
Logging in with Username/Password on one line myoung88 Shell Programming and Scripting 1 11-15-2012 02:21 PM
How do you reset username/password TanRuNomad UNIX for Dummies Questions & Answers 2 05-12-2012 01:03 AM
Username and password somersetdan Shell Programming and Scripting 5 05-08-2012 10:11 AM
Login through SFTP using username and password sparks UNIX for Advanced & Expert Users 4 11-08-2010 09:56 AM
How can i hide username/password temhem UNIX for Dummies Questions & Answers 1 04-27-2010 05:52 AM
Shell program with username and password thedemonhunter UNIX for Dummies Questions & Answers 7 03-01-2010 07:49 AM
Trouble logging in with username and password ilikecows Red Hat 5 01-14-2010 06:55 PM
automating username / password entry jbeck22 Shell Programming and Scripting 1 05-16-2009 08:09 AM
in ftp how to avoid username/password nh1 Shell Programming and Scripting 10 07-18-2008 11:18 PM
username password in script roshanjain2 Shell Programming and Scripting 5 02-13-2007 05:47 AM
setting username and password for ftp div UNIX for Advanced & Expert Users 1 12-08-2006 11:09 AM
how to set up ssh, so password not asked balireddy_77 Shell Programming and Scripting 1 10-13-2006 03:24 AM
redirecting password as username for rlogin seaten UNIX for Dummies Questions & Answers 1 05-12-2005 03:46 PM
All times are GMT -4. The time now is 10:13 PM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?