lauantai 13. huhtikuuta 2013

/etc/skel - public_html directory for new user and test

I wanted to test how the /etc/skel folder works so I created a new folder in the skel folder named public_html.

$ cd /etc/skel
$ sudo mkdir public_html


Then I created new user with

$ sudo adduser testuser

I noticed the public_html folder was copied from the /etc/skel to the testuser's home folder. /home/testuser/public_html I copied the basic HTML file there edited it a little bit and then pointed my browser to http://localhost/~testuser and noticed it works !


Ei kommentteja:

Lähetä kommentti