I am running Redhat Enterprise 2.
My system is Freezing everythime I preform a certain commands.. via ROOT
For instances
When I preform
yum check-update
apt-get update
rpm commands
I am not sure as to why this is happening.
This error seems to ONLY error on users with ROOT access...
Ok this error only errors in my 'Root' user account.
If I was to SU to another account, I can run these commands perfectly..
My question is this
How can I create a SUPER USER.. A user that I can use to logon and maintain/update the server and give the spefific super user enough security clearances to only have to su to root only when really necessary..
Also does anyone have any good Security Guides as to how I could look down my system.
Quote:My system is Freezing everythime I preform a certain commands.. via ROOT
Are you sure that the entire system is freezing and not only the process? What do the logs (/var/log/messages, etc.) say to that?
Quote:How can I create a SUPER USER
In order to add a superuser you have to assign UID 0 to the desired user.
Quote:Also does anyone have any good Security Guides as to how I could look down my system.
Look at '
netstat -nlp --inet' (and '
netstat -nlp --inet6' if you're using IPv6) and disable all services you don't need. Be sure to update the services you use frequently. You also might have a look at
Snort,
Portsentry or even
Portknocking. But there are loads of other things of course...
z0ny
after you do a command run a dmesg
see if you see any drive errors that are being shown there