Linux-Noob Forums
rh2 pauses after certain commands - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Distro Noob (https://www.linux-noob.com/forums/forum-10.html)
+--- Forum: Redhat (https://www.linux-noob.com/forums/forum-90.html)
+--- Thread: rh2 pauses after certain commands (/thread-3101.html)



rh2 pauses after certain commands - extraNoob - 2004-10-23


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...




rh2 pauses after certain commands - extraNoob - 2004-10-23


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.




rh2 pauses after certain commands - z0ny - 2004-10-24


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




rh2 pauses after certain commands - hijinks - 2004-10-25


after you do a command run a dmesg

 

see if you see any drive errors that are being shown there