Adding a Admin User and also configuring DEFAULT httpd.conf entry.
Wazza All,Happy new year, and hopefully this will be a good new year.
I am trying to do two things, yet I'm running outta luck already.
One,
I try to add a user to shell so I can disable direct root login.
I did this exactly.
useradd -p PASSWORDHERE adminuser
then I went into cpanel and added user adminuser to the wheel group..
then I tried to login to shell via user adminuser, but it did not work. Did I miss a parameter or something in there?
Thank you for answering that, and here's the second one.
I am trying to see where I can change the default httpd.conf entry, and /etc/valiases/sitedomain.com entry (for the default mail recieving address).
this is what the normal httpd.conf entry looks like...
<VirtualHost IPADDRESS>
ServerAlias www.sitedomain.com sitedomain.com
ServerAdmin webmaster@sitedomain.com
DocumentRoot /home/siteuser/public_html
BytesLog domlogs/sitedomain.com-bytes_log
ServerName www.sitedomain.com
User siteuser
Group siteuser
CustomLog domlogs/sitedomain.com combined
ScriptAlias /cgi-bin/ /home/siteuser/public_html/cgi-bin/
</VirtualHost>
I want to modify it so the DEFAULT entry when I create a site includes this as the serveralias line.
ServerAlias www.sitedomain.com sitedomain.com *.sitedomain.com
I'd also like to make the /etc/valiases/sitedomain.com file for forwarding email automatically enter the server root email address.
I know how to edit dns templates in cpanel, and that changes the /var/named/sitedomain.com.db file which is excellent, I just need to know how to change the others.
Thanks in advance s0 much~!!!