Posted by: admin at 11 Monday 5th, 2008
httpd.conf
and fixes. httpd.conf
is usually located below. Or Commented out of the bullet (#), remove the httpd.conf
AddHandler cgi-script .cgi
Options
to change the directive httpd.conf
<Directory />
Options ExecCGI FollowSymLinks Includes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Posted by: admin at 11 Monday 5th, 2008
httpd.conf
and fixes. httpd.conf
is usually located below. Or
httpd.conf
Alias / USERNAME / "/home/ USERNAME /public_html/"
<Directory "/home/ USERNAME /public_html">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Directory
in the directive is an example. Please change if necessary. Posted by: admin at 11 Monday 3rd, 2008
If you have multiple users, but has been watching the user's system directory and not the other. The most permissions, and unauthorized access is possible, when I saw a list of other users on the server has been previously rented and borrowed a fright.
/etc/ftpchroot
USERNAME01
USERNAME02
USERNAME03
USERNAME ...
USERNAME ...
USERNAME ...
There is no user name is the group name. Posted by: admin at 11 Monday 3rd, 2008
At the command line user su
and type is set to be able to gain root privileges.
/etc/group
wheel:*:0:root, USERNAME
Posted by: admin at 11 Monday 3rd, 2008
Stop
# kill -KILL `cat /var/run/ PROCESS .pid`
Restart
# kill -HUP `cat /var/run/ PROCESS .pid`
Check the process ID or the ID specified in the process. Stop
# ps -aux | grep named
# kill -KILL PID
Restart
# ps -aux | grep named
# kill -HUP PID
Posted by: admin at 11 Monday 3rd, 2008
# ps -aux | grep PROCESS_NAME
Posted by: admin at 11 Monday 3rd, 2008
/etc/rc.conf
# ネットワークアドレスが 192.168.0.0/24 の場合
defaultrouter="192.168.0.1"
hostname="HOSTNAME.DOMAIN.NAME"
ifconfig_em0="inet 192.168.0.2 netmask 255.255.255.0"
ifconfig_em0
of em0
is configuration NIC
by the changes, dmesg dmesg
NIC, etc. NIC
check.
/etc/resolv.conf
domain DOMAIN.NAME
nameserver xxx.xxx.xxx.xxx
nameserver yyy.yyy.yyy.yyy
Posted by: admin at 10 Monday 31st, 2008
Log in to the user to change password Posted by: admin at 10 Monday 31st, 2008
-r option to delete the home directory. , Why is the server's home directory public_html
may not remove a directory. Posted by: admin at 10 Monday 31st, 2008
# pw useradd USERNAME -m -h fd
adduser or pw to add /usr/share/skel
files in the directory, the directory is copied to the user. Every object is to remove unnecessary to advance the idea to add what you need, it is very easy to add users. In my vpopmail
we are using the Maildir
directory are also deleted, because the environment would be quite wrong to delete the directory (even出来NAKU be logged in) need to be careful.