SunOS confusing root directory and user home directory
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).
I discovered my problem was due to a highly customized prompt with csh shell.
set prompt="`uname -n | cut -f1 -d"." `\\!`whoami`($GROUP,$NCID,$VIEW)@../$cwd:t[\!] "
Anyway, I answer your questions.
What do you mean by "someone configured "myuser" as default user after init"?
I am using two machines with Solaris. The other machine asks the user for credentials. But this machine does not.
And when it starts, it goes directly to myuserīs home directory. So I think "myuser" is the default user for this Solaris session.
What did "someone" do to make this configuration change?
I donīt know who did it, if "someone" still works at this company (probably not), and which configuration file was edited.
How did you log into the system?
As I said - without credentials.
What output do you get from the command line:
who am I;ps
myuser pts/3 Jun 13 21:24 (unix: 0.0)
PID TTY TIME CMD
1324 pts/3 0:00 ps
845 pts/3 0:00 csh