AMPSS MAMPS and OSX stop root password requests


works on Lion and Maverick 

Step 1: View current firewall rules.

sudo ipfw show 

Step 2: Add port forwarding rule (80 to 8080)

sudo ipfw add 100 fwd,8080 tcp from any to any 80 in 

If you want to remove your firewall rules run:

sudo ipfw flush




To Make Changes permanent


put your rules into a file :


add at the very top of your file


Ensure that there are not leading or trailing whitespaces in any line.

add to ~/Library/LaunchAgents/com.yourdomain.ipfw.plist :

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" ""> <plist version="1.0"> <dict> <key>Label</key> <string>com.yourdomain.ipfw</string> <key>Program</key> <string>/sbin/ipfw</string> <key>ProgramArguments</key> <array> <string>/sbin/ipfw</string> <string>-q</string> <string>/etc/ipfw.conf</string> </array> <key>RunAtLoad</key> <true/> </dict> </plist> 

Either reboot, or

launchctl load -w ~/Library/LaunchAgents/com.yourdomain.ipfw.plist 

the first time.

After that it is

launchctl load com.yourdomain.ipfw


sudo chmod 644 ~/Library/LaunchAgents/com.yourdomain.ipfw.plist 

sudo chown root ~/Library/LaunchAgents/com.yourdomain.ipfw.plist

If any issues occur in console then try this thread


launchctl: Dubious ownership on file (skipping): /System/Library/LaunchAgents/com.yourdomain.ipfw.plist

Enable root login on Debian 6 and 7


You will need the root password for this set of commands.



Login to a user account.


Open a terminal window and enter the following. This will open a nano tex editor window in the terminal.

su root
nano /etc/pam.d/gdm3


Now open the file /etc/pam.d/gdm3 and comment out the line, see the example if you do not know how to comment out a line.

auth   required user != root quiet_success
#auth   required user != root quiet_success


Press Crtl-X to close the file. 

Press Y to save your changes.

Press enter to save changes to the same file name.


I hope this is helping some of you, because root is not allowed to login on a fresh Debian 6 installation.