From: Kai Geek (kaigeek@linuxmail.org)
Date: Mon 12 Dec 2005 - 12:54:23 EET
> On Mon, 12 Dec 2005, Sedat EKİNCİ demiş ki:
>
> > Bi servisin Root kullanıcısı ile çalışmasını nasıl sağlıyorduk ?
> > Örneğin HTTPD'yi apache user'ı ile değil Root user'ı ile sistemde
> > çalıştırmak istiyorum.
Selamlar,
apache'nin konfigurasyon dosyasi olan httpd.conf icerisinde su satirlari okuyun;
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don't use Group "#-1" on these systems!
#
User nobody
Group nobody
buradaki user ve group tanimlamalarini degistirerek servisi root uzerinde calistirabilirsiniz ancak bu sizin icin guvenli olmayabilir. Yine de ihtiyac duydu iseniz,
Serveradmin:
satirina kendi email adresini ekleyiniz ve mod_ssl konfigurasyon dosyasinda;
# General setup for the virtual host
DocumentRoot "/var/www/htdocs"
ServerName servadi
ServerAdmin email@servername
ErrorLog /var/log/apache/error_log
TransferLog /var/log/apache/access_log
şu şatırları kontrol edip server icin bir admin maili ekleyiniz ve apache'yi startssl komutu ile ssl destekli calistiriniz.
saygilar,
-- _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox.Powered by Outblaze _______________________________________________ Linux-ag mailing list Linux-ag@liste.linux.org.tr http://liste.linux.org.tr/mailman/listinfo/linux-ag