Results 1 to 2 of 2
I am doing an Oracle EBS 12.2 Vision installation on SLES 11 SP3: When I su to either of my two users oravis or applvis I get an error that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-07-2014 #1
- Join Date
- May 2014
Error when Switching User: su: warning: cannot change directory
When I su to either of my two users oravis or applvis I get an error that their home directory doesn't exist or they don't have permissions to access.
su:warning: cannot change directory to home/oravis : No such file or directory
su - oravis
su: warning: cannot change directory to /home/oravis: No such file or directory
oravis:/root> ls -l
ls: cannot open directory .: Permission denied
oravis2:/root> ls -l /home
drwxr-xr-x 19 SMITH users 4096 Jun 5 03:25 SMITH
How do I overcome this?
Thanks for your help.
- 06-07-2014 #2
Hi and welcome
fyi: I moved your thread from coffee lounge to suse linux.
As for the issue:
Neither of the $HOMEs of the two users exists.
So there is no plaxe to cd to for the su command.
Which means that pwd stays the same (in the example above: /root)
For /root, there is no permission for the oravis user.
You should create the two directories /home/oravis and /home/applivis as user root and then chown to their respective users.You must always face the curtain with a bow.