ssh root@machineA root@machineA$ service Usage: service < option > | --status-all | [ service_name [ command | --full-restart ] ]
ssh test@machineA test@machineA$: sudo su root@machineA$: service bash: service: command not found
ssh test@machineA test@machineA$: sudo su - root@machineA$: service Usage: service < option > | --status-all | [ service_name [ command | --full-restart ] ]
Why is that? What is broken here? I'm very confused. When I do "which bash" they are all "/bin/bash". This only happens to some of the old cent5, for cent6/7 sudo su have no problem running "service".
[link] [comments]