Hello,
I´ve just started using a Solaris machine with SunOS 5.10.
After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I´m at my home directory (someone configured "myuser" as default user after init).
MACH1!myuser(staff,----,noView)@../myuser [41] pwd
/home/staff/myuser
But the weird thing is that if I run a ls command, it shows me that in fact, it´s at the root directory (!!!)
MACH1!myuser(staff,----,noView)@../myuser [42] ls -l
(Shows directories:
/etc
/home
/usr ...)
And if I go to a subdirectory, something stranger happens.
It assumes a false path.
MACH1!myuser(staff,----,noView)@../myuser [43] cd etc
MACH1!myuser(staff,----,noView)@../etc [44] pwd
/home/staff/myuser/etc
If I try to call this false path, the shell naturally can´t do it.
MACH1!myuser(staff,----,noView)@../etc [45] cd /home/staff/myuser/etc
/home/staff/myuser/etc: No such file or directory
But if I call my home path, it works as expected.
MACH1!myuser(staff,----,noView)@../etc [46] cd /home/staff/myuser
/home/staff/myuser
MACH1!myuser(staff,----,noView)@../myuser [47] ls -l
(shows files in my home directory)
Well, I´m not so experienced with Unix and I have no idea what can be wrong. I looked some files such as .profile, dtautologin, but couldn´t find anything that seemed to be causing this problem.
Can anyone give me a idea of what´s wrong with the configuration of this machine ?