hscroot@hmcserver:~> grep root /etc/group
root:x:0:hscroot,ccfw
hscroot@hmcserver:~>
hscroot@hmcserver:~> ls -la /etc/shadow
-r-------- 1 root shadow 5252 2015-05-06 19:36 /etc/shadow
hscroot@hmcserver:~>
hscroot@hmcserver:~> cat /etc/shadow
cat: /etc/shadow: Permission denied
hscroot@hmcserver:~>
hscroot@hmcserver:~> grep hscroot /etc/passwd
hscroot:x:500:500:HMC Super User:/home/hscroot:/bin/hmcbash
hscroot@hmcserver:~>
hscroot@hmcserver:~> echo $DISPLAY
localhost:10.0
hscroot@hmcserver:~>
hscroot@hmcserver:~> su -
bash: su: command not found
hscroot@hmcserver:~> sudo su -
bash: sudo: command not found
hscroot@hmcserver:~> bash
bash: bash: command not found
hscroot@hmcserver:~> chs
bash: chs: command not found
hscroot@hmcserver:~> ksh
bash: ksh: command not found
hscroot@hmcserver:~> ls /bin/bash
/bin/bash
hscroot@hmcserver:~> /bin/bash
bash: /bin/bash: restricted: cannot specify `/' in command names
hscroot@hmcserver:~> exit
exit
Connection to 1.2.3.4 closed.
[user@notebook ~]$ ssh hscroot@1.2.3.4 /bin/bash
Password:
/bin/bash: /bin/bash: restricted: cannot specify `/' in command names
[user@notebook ~]$
Question: How can I cat the "/etc/shadow"? I only have "hscroot" user.
I have X forward if I use "ssh -X".