Solaris 10 login problem. need guru's help.
I posted the same question a few days ago. Mor than 150 persons reviewd it. But noone could answer my question. Is there real expert or guru out there to help me out? Here is the question again.
I isntalled solaris 10 on Sun sparc 64 bit machine. I can login as root user through GUI or console. After I created an Oracle user, I only can login as that user from console window. I tried to login from GUI (CED) window, it failed. Anyone know about this, please help me to figure out the reason and the method to fix it. Thanks for your help.
[554 byte] By [
duke0001a] at [2007-11-26 12:44:52]

# 5
> ls -l /u01/app/oracle
> ls -l /u01/app
> ls - /u01
>
> please
>
> alan
Alan:
Thanks for your help. Here is the information.
# ls -al /u01/app/oracle
total 8
drwxrwxr-x2 oracleoinstall512 Dec 14 15:35 .
drwxrwxr-x3 oracleoinstall512 Dec 14 15:00 ..
-rw-r--r--1 oracleoinstall511 Dec 14 16:21 .profile
-rw-1 oracleoinstall128 Dec 15 13:42 .sh_history
# ls -al /u01/app
total 6
drwxrwxr-x3 oracleoinstall512 Dec 14 15:00 .
drwxr-xr-x4 rootroot 512 Dec 14 15:02 ..
drwxrwxr-x2 oracleoinstall512 Dec 14 15:35 oracle
# ls -al /u01
total 8
drwxr-xr-x4 rootroot 512 Dec 14 15:02 .
drwxr-xr-x 34 rootroot1024 Dec 18 11:37 ..
drwxrwxr-x3 oracleoinstall512 Dec 14 15:00 app
drwxrwxr-x2 oracleoinstall512 Dec 14 15:02 oradata
# ls -al
total 510
drwxr-xr-x 34 rootroot1024 Dec 18 11:37 .
drwxr-xr-x 34 rootroot1024 Dec 18 11:37 ..
drwxr-xr-x 12 rootroot 512 Dec 18 11:37 .dt
-rwxr-xr-x1 rootroot5111 Dec 14 14:12 .dtprofile
drwx2 rootroot 512 Dec 15 16:02 .gconf
drwx2 rootroot 512 Dec 15 16:20 .gconfd
drwx3 rootroot 512 Dec 15 14:38 .gnome
drwx3 rootroot 512 Dec 14 14:34 .gnome2
drwx2 rootroot 512 Dec 14 14:34 .gnome2_private
drwx4 rootroot 512 Dec 14 14:34 .mozilla
drwxr-xr-x4 rootroot 512 Dec 14 15:25 .softwareupdate
drwx3 rootroot 512 Dec 14 12:00 .sunw
-rw-1 rootroot 75 Dec 18 11:37 .TTauthority
-rw-1 rootroot 161 Dec 18 11:37 .Xauthority
lrwxrwxrwx1 rootroot9 Dec 14 11:39 bin -> ./usr/bin
drwxr-xr-x2 rootroot 512 Dec 14 14:44 cdrom
drwxr-xr-x 20 rootsys 4096 Dec 18 11:36 dev
drwxr-xr-x2 rootsys 512 Dec 18 11:33 devices
drwxr-xr-x 81 rootsys 4608 Dec 18 11:34 etc
drwxr-xr-x3 rootsys 512 Dec 14 11:39 export
dr-xr-xr-x1 rootroot1 Dec 18 11:34 home
drwxr-xr-x 14 rootsys 512 Dec 14 11:48 kernel
drwxr-xr-x7 rootbin 5120 Dec 14 13:13 lib
drwx2 rootroot8192 Dec 14 11:38 lost+found
drwxr-xr-x2 rootsys 512 Dec 14 11:39 mnt
-rw-r--r--1 rootroot 846 Dec 15 11:00 mod_partition.txt
dr-xr-xr-x1 rootroot1 Dec 18 11:34 net
-rw-r--r--1 rootroot0 Dec 14 11:50 noautoshutdown
drwxr-xr-x9 rootsys 512 Dec 14 13:22 opt
drwxr-xr-x2 rootroot 512 Dec 15 15:08 Ora10DB
drwxr-xr-x 51 rootsys 2048 Dec 14 12:11 platform
dr-xr-xr-x 62 rootroot193216 Dec 18 11:53 proc
drwxr-xr-x2 rootsys 1024 Dec 14 12:11 sbin
drwxr-xr-x4 rootroot 512 Dec 14 11:39 system
drwxrwxrwt7 rootsys 843 Dec 18 11:37 tmp
drwxr-xr-x2 rootroot 512 Dec 14 14:12 TT_DB
drwxr-xr-x4 rootroot 512 Dec 14 15:02 u01
drwxr-xr-x 40 rootsys 1024 Dec 14 13:21 usr
drwxr-xr-x 44 rootsys 1024 Dec 14 14:12 var
dr-xr-xr-x6 rootroot 512 Dec 18 11:35 vol
I have found some different in /u01 part, but not sure. Please advise.
Also I set Oracle profile umask 022. Does this impact anything?
Thanks.
Message was edited by:
duke0001
# 11
alan:
Thanks for your direction. I tried to create a temp user based on your command. It works. I can login as temp user from GUI and console. I went to temp directory to see a couple of files such as local.peofile, local.login. Then I userdel oracle. re-create oracle with useradd and these options:
# useradd -c 'Oracle software Owner' -d /u01/app/oracle -g oinstall -G dba -m -u 100 -s /usr/bin/ksh oracle.
Then I can log into as oracle user from GUI and console. But I looked at the directory permissions. It looks like before. I posted them for your comments.
$ pwd
/u01/app
$ ls -al
total 6
drwxrwxr-x3 oracleoinstall512 Dec 14 15:00 .
drwxr-xr-x4 rootroot 512 Dec 14 15:02 ..
drwxrwxr-x4 oracleoinstall512 Dec 20 10:44 oracle
$ cd ..
$ pwd
/u01
$ ls -al
total 8
drwxr-xr-x4 rootroot 512 Dec 14 15:02 .
drwxr-xr-x 34 rootroot1024 Dec 20 10:43 ..
drwxrwxr-x3 oracleoinstall512 Dec 14 15:00 app
drwxrwxr-x2 oracleoinstall512 Dec 14 15:02 oradata
And I went down to oracle directory to see files. I only saw .profile file there. I think it may be that when I useradd, I need to use -m option. This is the only option I didn't use in last time when I created oracle user. Anyway, thank you for your help. Best wishes for your holiday and new year ahead.