From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 X-Virus-Scanned: amavisd-new at localhost Message-ID: <4F230A87.5070602@solin.spb.ru> Date: Sat, 28 Jan 2012 00:35:19 +0400 From: Aleksey Avdeev User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.2.14pre) Gecko/20110125 Thunderbird/3.1.8pre MIME-Version: 1.0 To: ALT Linux sysadmins' discussion References: <4F21462D.9060908@mail.ru> <4F223D4F.3030502@junior.esoo.ru> <4F224115.9060901@mail.ru> <20120127091846.GW31448@osdn.org.ua> <4F2294DA.60703@mail.ru> In-Reply-To: <4F2294DA.60703@mail.ru> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig964D3C5026A78FF8D2D5F912" Subject: Re: [Sysadmins] =?koi8-r?b?78LOz9fMxc7JxSDh0sst08XS18XSwSDEzyBwNiBz?= =?koi8-r?b?cXVpcnJlbG1haWw=?= X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux sysadmins' discussion List-Id: ALT Linux sysadmins' discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2012 20:35:47 -0000 Archived-At: List-Archive: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig964D3C5026A78FF8D2D5F912 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable 27.01.2012 16:13, Vladimir Karpinsky =D0=C9=DB=C5=D4: > 27.01.2012 13:18, Michael Shigorin =D0=C9=DB=C5=D4: >> On Fri, Jan 27, 2012 at 10:15:49AM +0400, Vladimir Karpinsky wrote: >>>> =EE=D5=D6=CE=CF =D0=D2=CF=D7=C5=D2=C9=D4=D8: >>>> - =D0=D2=C1=D7=C1 =CE=C1 =CB=C1=D4=C1=CC=CF=C7 =D5=CB=C1=DA=C1=CE=CE= =D9=CA =D7 $data_dir =CB=CF=CE=C6=C9=C7=C1, >>>> - =D0=D2=C1=D7=C1 =CE=C1 squirrelmail/data =C9 =CE=C1=CC=C9=DE=C9=C5= =D4=C1=CD default_pref. >>> =EE=C1=DB=A3=CC, =D3=D0=C1=D3=C9=C2=CF! =F3 =D0=D2=C1=D7=C1=CD=C9 =D7= =D3=A3 =C2=D9=CC=CF =CE=CF=D2=CD=C1=CC=D8=CE=CF, =CE=CF =CB=C1=D4=C1=CC=CF= =C7 $data_dir =C9=CD=C5=CC >>> =C7=D2=D5=D0=D0=D5 _webserver, =D0=CF=D3=CC=C5 =D4=CF=C7=CF, =CB=C1=CB= =D0=CF=CD=C5=CE=D1=CC =CE=C1 apache2, =D7=D3=A3 =DA=C1=D2=C1=C2=CF=D4=C1= =CC=CF! >> >> =F3=D4=D2=C1=CE=CE=CF, =C1 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D8, =D0=CF= =C4 =CB=CF=D4=CF=D2=D9=CD =C2=C5=C7=C1=C5=D4 httpd2 -- >> =D7 =C7=D2=D5=D0=D0=D5 _webserver =CE=C5 =D7=C8=CF=C4=C9=D4, =DE=D4=CF= =CC=C9? >=20 > =F7 =C7=D2=D5=D0=D0=D5 _webserver =D7=C8=CF=C4=C9=D4 =D0=CF=CC=D8=DA=CF= =D7=C1=D4=C5=CC=D8 apache, =C1 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D8 apach= e2 > --- =CE=C5=D4: > # cat /etc/group | grep apache > apache:x:96: > _webserver:x:102:apache > apache2:x:104: >=20 > # cat /etc/passwd | grep apache > apache:x:96:96:Apache web server:/var/www:/dev/null > apache2:x:100:104:Apache2 WWW server:/var/www:/dev/null >=20 > =F0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D1 httpd2 =D7 =D0=D2=C9=D2=CF=C4=C5 =CE= =C5 =D3=D5=DD=C5=D3=D4=D7=D5=C5=D4. >=20 > =EE=C1 =D4=CF, =DE=D4=CF =C4=CF=CC=D6=CE=C1 =C2=D9=D4=D8 =D4=C1=CB=C1=D1= =C7=D2=D5=D0=D0=C1 =D5 =CB=C1=D4=C1=CC=CF=C7=C1 =D1 =D2=C5=DB=C9=CC, =D0= =CF=D3=CD=CF=D4=D2=C5=D7 =CE=C1 =C5=C7=CF > (=CB=C1=D4=C1=CC=CF=C7=C1) =D3=CF=C4=C5=D2=D6=C1=CE=C9=C5: >=20 > # ll prefs/ > =C9=D4=CF=C7=CF 40 > drwxrwx--- 2 root apache2 4096 =F1=CE=D7 27 10:12 ./ > drwxr-xr-x 3 root root 4096 =F1=CE=D7 26 00:27 ../ > lrwxrwxrwx 1 root root 30 =F1=CE=D7 26 00:27 default_pref -> > /etc/squirrelmail/default_pref > ... > -rw------- 1 apache2 apache2 53 =F1=CE=D7 27 2010 .pref > -rw------- 1 apache2 apache2 69 =F1=CE=D7 27 2010 testuser.pref >=20 >> =E5=D3=CC=C9 =CE=C5=D4 -- =D3=D4=CF=C9=D4 =D3=CF=CF=C2=DD=C9=D4=D8 sol= o@. >=20 > =F0=D2=C1=D7=C9=CC=D8=CE=CF =CC=C9 =D1 =D0=CF=CE=C9=CD=C1=C0, =DE=D4=CF= =F7=D9 =D3=DE=C9=D4=C1=C5=D4=C5, =DE=D4=CF =DC=D4=CF =D0=D2=CF=C2=CC=C5=CD= =C1 =CF=C2=CE=CF=D7=CC=C5=CE=C9=D1 > apache2 =C9 =C5=C7=CF =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=C5=CA, =C1 =CE=C5= =D0=D2=CF=C2=CC=C5=CD=C1 SquirrelMail? =FC=D4=CF =D1 =DE=D4=CF=C2=D9 > =D3=C6=CF=D2=CD=D5=CC=C9=D2=CF=D7=C1=D4=D8... =E4=C1. =EE=C1=DE=C9=CE=C1=D1 =D3 apache2-2.2.9-alt10 =D7 %pre apache2-= common =C5=D3=D4=D8 =D3=CC=C5=C4=D5=C0=DD=C9=CA =CB=CF=C4: %_sbindir/useradd -g %apache2_group -c 'Apache2 WWW server' -d %apache2_datadir -s '/dev/null' \ -G %webserver_group -r %apache2_user 2>/dev/null || : if LANG=3DC %_bindir/id %apache2_user 2>/dev/null | \ grep -qv "groups=3D[^[:space:]]*(%webserver_group)"; then echo 'Warning: User %apache2_user was not included in the group %webserver_group!' %_bindir/gpasswd -a %apache2_user %webserver_group echo ' Added user %apache2_user to group %webserver_group.' fi =E5=D3=CC=C9 =C5=D3=D4=D8 =D5=D3=CC=CF=D7=C9=D1, =CB=CF=C7=C4=C1 =CF=CE= =CE=C5 =CF=D4=D2=C1=C2=C1=D4=D9=D7=C1=C5=D4 -- =CD=CE=C5 =CE=D5=D6=CE=CF= =DA=CE=C1=D4=D8 =CF=C2 =DC=D4=CF=CD (=D3 =CD=C1=CB=D3=C9=CD=C1=CC=D8=CE=D9=CD=C9 =D0=CF=C4=D2=CF=C2=CE=CF=D3=D4= =D1=CD=C9). --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD. =E1=CC=C5=CB=D3=C5=CA. --------------enig964D3C5026A78FF8D2D5F912 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPIwqIAAoJEA9Eed/JIzr3RP0P/jXAXvcTfJkNvaTbsDdGzvLk pAhYId4ZI/r4ziu5DvxVoBnyY3vLf0TElmCN28IV6pLknMBHeSVzkgyS7giGVBob FNuBgFWi3Rx+VIQFnO/+10f4Ji+27RmaNdrh66pStXNWLuzdI7oiAp+WC7dgJsAE /zmP452bdBsDNxZKuWRCC25K3SKweWuPeRiKnnuxPRLV93f+tQThadtoip2fFOxm McxwgrVex0uaN1QaLm5qKAME0HjrBMpvZ/QJd4gy1YoYEI2tuIWFuOB+aPXygVBj tmURj0bGBjGi0MdhQAoEG0yF5Or3Tu0SJYdL1Z+ZT+t3Mod9yPkZehEH9L+OuBAo MM/ey/nDrDrGrgr2sBwKNVObyHkTkuAyD2XOiKAFf6bI6tz6Rv1l4nvotZYhkgu7 TbCAT52zMo22uPdsRCnETwveSC5swg6khNnTM6Ue9dBS5tFnURAu0QnT7qYSLua9 5gNG2Y3cA7mBlcC/r28jY60q556vRCAHlWYvlrkHukmBBIV54B3kLFqAZPLKWEO/ VlnVTJoMpuRfs6k23aNRGjJULWRqsVTPPYerqynEQ773UFzve6IGkGjDzpSwROHb Jp50UlC6b3a+vyrzIO8ZAYH62V+pcXAifeuKX+/iVJ3VnL6ZB+gOFXtJl/patVTR S9AUK+9oPuWupzIri25J =GQsw -----END PGP SIGNATURE----- --------------enig964D3C5026A78FF8D2D5F912--