[CentOS] Help: Server security compromised?

Wed Aug 6 07:24:44 UTC 2008
Hendrik Strydom <hns1 at iinet.net.au>

On Wed, 2008-08-06 at 15:14 +0800, Noob Centos Admin wrote:
> 
.. snip


> I did that too, no root login and everytime I have to su from normal
> user. It is a pain to work with especially with having to use full
> pathnames for commands instead of say just doing a "service httpd
> restart". 
If you use 
su
only, you assume root privileges without the root environment.
Rather do
su -
which gives you the full root environment, including path.
The same holds for other users, i..e
su - joe
switches the user to the user joe with full environment.