When I log in through SSH with a regular user and then "su", I can not use, for example, service httpd status. When I log in as root I can.
I saw the paths in /root/.cshrc but copying this to the user didn't work. I also tried the setenv but that didn't work either. I get a "setenv" not found or something.
I know I can log into the machine as root, but I want to limit this as much as possible. Anyone know how I can use "service" when I su ?
Thanks,
Kark
I saw the paths in /root/.cshrc but copying this to the user didn't work. I also tried the setenv but that didn't work either. I get a "setenv" not found or something.
I know I can log into the machine as root, but I want to limit this as much as possible. Anyone know how I can use "service" when I su ?
Thanks,
Kark