網頁

2011年7月11日 星期一

su: No directory!

check /etc/passwd /etc/shadow /etc/nsswitch.conf
User home directory permission
If settings is correct.

check / mount point permission.

root@M4000 # ls -ald /
drwxr-x--- 51 root root 77 Jul 11 11:33 /
root@M4000 # chmod 755 /
root@M4000 #
root@M4000 # su - mds
Oracle Corporation SunOS 5.10 Generic Patch January 2005
$HOSTNAME:`pwd`>
$HOSTNAME:`pwd`> exit
root@M4000 # su - crp2db
Oracle Corporation SunOS 5.10 Generic Patch January 2005
crp2db> exit

沒有留言: