Quantcast
Channel: Setting up a user account for a web server - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2

Setting up a user account for a web server

$
0
0

I'm pretty new to Ubuntu/Linux.

I'm setting up a lighttpd webserver and I think I need to set up a webserver/daemon user account to get it going. The config file is asking for server.username and server.groupname.

I think I need to set up a user account using adduser that the server will use. I'm also assuming I need to set up the account as a system user as opposed to a normal user. Is that right?

Also from what I've read I can set the home directory to /var/www/ which is where I plan to keep all of my website files and should give the lighttpd user the proper permissions.

Do I need to set up a group as well as an account or will creating the account automatically create a group with the same name?

Do I give the account a password?

Should I manually assign the UID?

Is this the proper way to set it up?

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>