The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Executing script with root privilages from a user login checkpro SCO 1 03-11-2008 06:03 PM
Can't login root account due to can't find root shell neikel AIX 2 01-30-2008 11:07 PM
Login to a remote solaris machine as superuser through perl james2 Shell Programming and Scripting 0 04-27-2006 04:09 AM
CDE login Problem for root user only Awadhesh HP-UX 1 08-02-2005 08:58 AM
mistyped shell path, now i can't login as the only user that can su to root xyyz UNIX for Dummies Questions & Answers 3 10-22-2002 04:35 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-24-2002
konda konda is offline
Registered User
  
 

Join Date: Jan 2002
Posts: 6
No user able to login except root(superuser)

Hi All,
Oracle 8.0 database is running on SCO-UNIXWARE 7.0 Operating system. Some how ORACLLE DATABASE has crashed. After rebooting the PC only the SUPER USER could login. No other user is able to login.
we need ORACLE user to start the DATABASE again.
It is asking for the password, after entering the password it asks for the login again..
what could be the reason for other users could not login except root.
it is live database so would be thank full if any one can come and help me the same.
regards,
konda reddy
  #2 (permalink)  
Old 06-24-2002
Kelam_Magnus's Avatar
Kelam_Magnus Kelam_Magnus is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
DB tied to a user's login??? Yes/No???

Hi.

First of all, Let me as a question. Do your users automaticaly establish a connection/thread to the DB when they login? I have seen this type of problem before. This could be the reason that they are getting kicked out. I have definitely seen this!!

I would suggest shutting down the DB, then reboot with the DB down. Then bring the DB back up after the box is fully up and running. Now try a login as a user.


I would also check to see if you login script, /etc/profile, user's profile, and /etc/passwd files are not corrupted. Move in a new copy of your /etc/passwd if the first suggestion doesn't work at the top.



Here are some other suggestions that may be helpful.

This may be the problem.

What happened to my user accounts?


May not be since they can login but it keeps repeating.

Here is another doc that shows how to lock out users. It may be helpful.

Lockout Users
  #3 (permalink)  
Old 06-25-2002
konda konda is offline
Registered User
  
 

Join Date: Jan 2002
Posts: 6
Dear Kelam_Magnus,
Thank you for your information.
The problem has been solved by resetting the permissions on the users login shell files i.e., /usr/bin/ksh, /u95/bin/share/ksh and /var/adm/shserv .
it was a great experince for me. i did the follwoing.
1. after ORACLE DATABASE crash, I logged in as ORACLE user and type the SVRMGRL , connected to the oracel internal and shutdown the database (this is the way we startup and shutdown the database through SVRMGR).
2. Took the backup (cold backup) of existing database files using shell script. In the shell script i have change mode command (chmod) to set some permissions. (This created the problem).
3. I restarted the PC , then i could not login as any except root.
su - login_name also did not work. I checked the home directories, /etc/passwd files, /etc/profiles, users .profiles, users previlages everything seems alright.
4. Today when i try to login from the remote machine it displayed can not exec /var/adm/shserv permission denied.
5. Started giving the permissions and later on it displaed no shell.
6. Reset the permissions for korn shell (ksh) including link files also. Root is working because for roor login shell is /sbin/sh. for this permissions are absolutely fine.
7. Finally i could loging as ORACLE and restored the backup and restarted the DATABASE today itself..now i am relax..

thank you for ur info once again..
hope we will meet again if any ...
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0