Hi
I test user shell, I test 2 condition 1)user use bash shell then
perform /usr/bin/pcksh(2)modify /etc/passwd, modify user's shell to
/usr/bin/pcksh
but both show "permission denied" like below:
[Condition-1]
login as: wencheng
Using keyboard-interactive authentication.
Password:
Last login: Wed Nov 6 13:50:28 2013 from 192.168.0.78
wencheng@teDir:~> echo $SHELL
/bin/bash
wencheng@teDir:~> /usr/bin/pcksh
/usr/bin/pcksh: /etc/bash.bashrc[84]: Permission denied
wencheng@teDir:/home/wencheng> echo $SHELL
/bin/bash
wencheng@teDir:/home/wencheng>


[Condition-2]
login as: wencheng
Using keyboard-interactive authentication.
Password:
Last login: Wed Nov 6 13:54:06 2013 from 192.168.0.153
pcksh: /etc/profile[122]: Permission denied
pcksh: /etc/profile[241]: Permission denied
pcksh: /etc/profile.d/xdg-environment.sh[34]: Permission denied
pcksh: /etc/profile.d/xdg-environment.sh[47]: Permission denied
$ echo $SHELL
/usr/bin/pcksh


even I get these permission message, I still could perform command which
control by C.C.M

if I need modify other ?? (I had add "set -o remote" to
/etc/profile.pcksh)

wyldkao


--
wyldkao
------------------------------------------------------------------------
wyldkao's Profile: https://forums.netiq.com/member.php?userid=1688
View this thread: https://forums.netiq.com/showthread.php?t=49153