Username password asked during loging


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Username password asked during loging
# 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:
# 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 or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Sudo asked for root password .

i have tried to use a sudo command from a user level . but instead of asking for user password it asked for root password . how should i go about it . james@opensuse:/etc> sudo ifconfig root's password: And i wish to ask how should i allow a list of command to be allowed to used for a... (4 Replies)
Discussion started by: lobsang
4 Replies

2. Red Hat

Need to crack username and password on laptop

I am not a computer geek but I recently was given a Dell Latitude c400 laptop which has Red Hat Linux 2.4.20-6 GRUB Version 0.93. First of all I have no clue how to even use this operating system and I was never given the username or password. Is there anyone out there who could possibly help me... (4 Replies)
Discussion started by: missfixit74
4 Replies

3. Shell Programming and Scripting

Logging in with Username/Password on one line

Hello, I am currently working on a project that requires me to remote login into another UNIX system using different credentials. The problem is that progamatically I cannot simply feed the password into the UNIX system. Is there a way to feed the password within one command line statement. I... (1 Reply)
Discussion started by: myoung88
1 Replies

4. UNIX for Dummies Questions & Answers

How do you reset username/password

Picked up a 3b2 running System V. Works fine, but it requires a username and password. Is the username "root" or "sysadm"? How do I find out and how to I reset it or bypass it? Thanks. (2 Replies)
Discussion started by: TanRuNomad
2 Replies

5. Shell Programming and Scripting

Username and password

Hi I am new to using unix and am struggling with a script i am writing. What i am trying to do is get a user to enter a username, check the original file i created with username and pin to see if their is a corresponding entry. Next ask the user to enter the pin and see if this matches... (5 Replies)
Discussion started by: somersetdan
5 Replies

6. UNIX for Dummies Questions & Answers

How can i hide username/password

hi all, i run sqlplus command on unix(HP-UX) like "sqlplus username/password@serverA @deneme.sql" but when someone run "ps -ef | grep sqlplus", it can see my username and password :( How can i hide username and password. thanx. (1 Reply)
Discussion started by: temhem
1 Replies

7. Shell Programming and Scripting

in ftp how to avoid username/password

hi all i am very new to unix. we had the below scenior test.bat file which contains ftp -s:logfiles.scr servername logfiles.scr contains username password cd path get file bye We had n number of batch(.bat files). which is having the same kind of scr file pointing... (10 Replies)
Discussion started by: nh1
10 Replies

8. UNIX for Dummies Questions & Answers

FTP Download username and password

I am trying to download from ftp server (rsync and postfix). But every time I connect to the ftp server, it prompts for USER and PASS but I don't know which username and and password to use. And I am using command based UNIX OS. (2 Replies)
Discussion started by: kumarrana
2 Replies

9. Shell Programming and Scripting

username password in script

Can we write a script to telnet to a unix server from unix with the username and password hardcoded in the script?? something like ssh a@b -p password ??? (5 Replies)
Discussion started by: roshanjain2
5 Replies

10. Shell Programming and Scripting

how to set up ssh, so password not asked

Hi All Plz guide me in setting ssh on local machine so that password will not be asked. I have written a script abc.ksh on machineA to execute a script sampletest.ksh available on machineB Conent of abc.ksh is as follows ssh -q bali@machineB sh ClaimGenFeed/claim/sampletest.ksh... (1 Reply)
Discussion started by: balireddy_77
1 Replies
Login or Register to Ask a Question