That error is telling you that the home directory for the oracle user
doesn't exist.
"su -" tries to change to the new user's home directory; try leaving
off the "-" option, which should leave you in the current directory.
--
John Gordon A is for Amy, who fell down the stairs
gor...@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Of course I post this thread with knowing that the home directory is
exist aloready. What are other possibilities ?
Firstly follow the sage advice above and don't post to so many random
groups!
Make sure your name service correctly maps the home directory and the
auto-mount service is running.
--
Ian Collins
Ah, then what you should do is find as many newsgroups as possible that mention
No permissions.
What does the home directory listing in /etc/password for user oracle
say it is supposed to be?
Is /etc/password where oracle user information will be retrieved
first? I.e. are you using NIS or NIS+
as well? Does 'files' appear before 'nis' in /etc/nsswitch.conf?
Are you using automount for user oracle's home directory? Is it
mounting properly?
Not really enough information to go on.
try this
# getent passwd oracle
it gives you what the OS thinks what is oracle's home dir (6th field).
and then
# ls -ld `getent passwd oracle | cut -d: -f6`
it will show you the owner, group and permission of the oracle home dir
(if exists).
or post the output of both commands here to discuss the results.
kind regards
Sven
How about guessing again.
All Shift-2 (circle with an a in the center) symbols in this
person's headers (and the Subject) have been changed to "(at)" in
order to keep googlegroups from obscuring the addresses they are
a part of.
This person's headers and article are not only going to be
archived, they are going to be archived much more thoroughly than
they would otherwise have been.
If something is worth posting it's worth archiving
> X-No-HTML: yes
> User-Agent: nn/6.7.3
> Path: x-privat.org!feeder.erje.net!news.internetdienste.de!newsfeed.velia.net!news.tu-darmstadt.de!news.belwue.de!rz.uni-karlsruhe.de!inka.de!dk3uz!not-for-mail
> Xref: newsfeed.x-privat.org comp.unix.solaris:50300 alt.solaris.x86:5626 comp.unix.programmer:28013 comp.sys.sun.admin:4637 comp.unix.shell:39613
>
> In <9b3f0894-4868-4c1d...@g6g2000pro.googlegroups.com> chuckers <chuck...@gmail.com> writes:
>
>>On Oct 9, 8:21=A0am, happytoday <ehabaziz2...@gmail.com> wrote:
>>> On Oct 9, 1:17=A0am, Ed Morton <mortons...@gmail.com> wrote:
>>>
>>> > On 10/8/2010 10:48 AM, happytoday wrote:
>>>
>>> > > I am trying to login as oracle but I can not and the GUI login screen
>>> > > returns again .
>>> > > I got that error message :
>>> > > Solaris 10 x86 , Oracle10g
>>> > > /export/home>su - oracle
>>> > > su: No directory!
>>>
>>[edit]
>>> Of course I post this thread with knowing that the home directory is
>>> exist aloready. =A0What are other possibilities ?
>
>> What does the home directory listing in /etc/password for user oracle
>> say it is supposed to be?
>
>> [...]
>
> Last time I laid my hands on a Solaris system above mentioned
> information was to be found in /etc/passwd.
Sid
/>getent passwd oracle
oracle:x:104:101::/home/oracle:/bin/bash
/>ls -ld `getent passwd oracle | cut -d: -f6`
/home/oracle: No such file or directory
I do not know why the home directory has been changed from /export/
home/oracle to /home/oracle. I will switch in /etc/passwd to /export/
home/oracle
Any further suggestions ?
Thanks
oracle <server name or ip>:/export/home/oracle
Replace <server name or ip> by your real server's name or ip address.
After appending such a line you should restart the autofs servive:
svcadm restart autofs
man automount
will give you some more information about automount and related tools.
Andreas