Fedora 10 update GDM config to allow root login on GUI Mode
===========================================================
Open /etc/pam.d/gdm using gedit or vi text editor, enter:
gedit /etc/pam.d/gdm
Find line that read as follows:
auth required pam_succeed_if.so user != root quiet
Remove or comment out line by prefixing #.
# auth required pam_succeed_if.so user != root quiet
==============================================
CONFIGURING LAN IP ADDRESS:
You can determine your IP by running:
/sbin/ifconfig -a
Look at the entry for eth0
To change your IP edit the file /etc/systconfig/network-scripts/ifcfg-eth0
then run
service network restart
==============================================
CONFIGURING WEBMIN via YUM:
Using the Webmin YUM repository
If you like to install and update Webmin via RPM, create the /etc/yum.repos.d/webmin.repo file containing :
[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
You should also fetch and install my GPG key with which the packages are signed, with the command :
rpm –import http://www.webmin.com/jcameron-key.asc
You will now be able to install with the command :
yum install webmin
All dependencies should be resolved automatically
============================================
mysqladmin command to change root password
If you have never set a root password for MySQL server, the server does not require a password at all for connecting as root. To setup root password for first time, use mysqladmin command at shell prompt as follows:
$ mysqladmin -u root password NEWPASSWORD
============================================
CLEAR IPTABLES RULES
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
============================================