Oct 06

Url referer : – http://ubuntuforums.org/showthread.php?t=513820

One of my friend are having hard time to remember hist ubuntu intrepid ibex 8.10 password, and he asked me is it possible to set the passwordless ? , after some googling around i found this forum http://ubuntuforums.org/showthread.php?t=513820

you can simply changes your encrypted password of your user on /etc/shadow and set it to U6aMy0wojraho

Example :

# vim /etc/shadow

look for  your username, in my case it will be test

test:$1$gEF/FyxR$V40saBgHX4EsFX4JtrP5i0:14460:0:99999:7:::
You just need to changes the bold text into  U6aMy0wojraho
test:U6aMy0wojraho:14460:0:99999:7:::
then save and quit
:wq!
Then reboot it
# reboot
then go to your sheel or GUI to test it :)
I have test it on ubuntu 8.04 and 8.10
Jul 13

Go to /etc/apache2/sites-available and edited the file default

# vi /etc/apache2/sites-available/default
NameVirtualHost *

ServerAdmin admin@site.com
DocumentRoot /var/www/

Options FollowSymLinks
AllowOverride None

Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
# Commented out for Ubuntu
#RedirectMatch ^/$ /apache2-default/


You need to changes AllowOverride from none to all and restart the apache
# /etc/init.d/apache2 restart

and test your .htaccess again
Order allow,deny
Deny from all