|
Not a good idea to remove certain security. If say SeLinux then you can turn the service off. If you dont want the firewall then the same. Example to turn off firewall service. Most be run as root.
/sbin/service iptables stop
/sbin/chkconfig --level 345 iptables off
If wanting to run root commands as user then you need to edit your sudoers file. Or make changes to Pam services. Easier to edit sudoers file with command as root. Use command visudo. It uses vi though. If new to vi you change the default editor with this command ' export EDITOR = nano ' or change nano to your favorite editor. The export must be done in the same enviroment as the visudo command. There are examples in the sudoers file to help you get what you want or search here or google for needed changes.
Always leave root. This is what makes linux secure compared to the poor job of other OSes.
Use the command ' su - ' to change to root in command prompt with root's enviroment variables.
Use just ' su ' to change to root but you still are using the users enviroment variables.
Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
|