From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 30 Apr 2004 18:20:56 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Subject: Re: [devel] Q: =?koi8-r?B?0M/exc3VINcgQUxU?= =?koi8-r?B?IHN1INfFxKPUINPFwtEgzsUg1MHLLCDLwcsgc3Ugydo=?= coreutils? Message-ID: <20040430142056.GA5785@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: X-fingerprint: 9658 398D 181B 1200 8FC5 26B8 F6F8 846B C1E2 3429 X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.4 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 14:20:58 -0000 Archived-At: List-Archive: List-Post: --opJtzjQTFsWo+cga Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Apr 30, 2004 at 03:49:34PM +0300, Andrei Bulava wrote: > Hi! =EE=C5 =CE=C1=C4=CF =C4=C5=CC=C1=D4=D8 crossposting, =D0=CF=D6=C1=CC=D5=CA= =D3=D4=C1. [...] > Test case 1: > [root@server1 root]# su - at > -sh-2.05b$ echo $TERM $HOME $SHELL $USER $LOGNAME $TEST > linux /home/at /bin/sh at at >=20 > Test case 2: > [root@server1 root]# su at > sh-2.05b$ echo $TERM $HOME $SHELL $USER $LOGNAME $TEST > linux /home/at /bin/sh at at ok >=20 > Test case 3: > [root@server1 root]# su -p at > bash: /root/.bashrc: Permission denied > bash-2.05b$ echo $TERM $HOME $SHELL $USER $LOGNAME $TEST > linux /root /bin/bash root root ok [...] > Test case 1: > [root@devel root]# su - ab > [ab@devel ab]$ echo $TERM $HOME $SHELL $USER $LOGNAME $TEST > linux /home/ab /bin/bash ab ab >=20 > Test case 2: > [root@devel root]# su ab > bash: /root/.bashrc: Permission denied > bash-2.05b$ echo $TERM $HOME $SHELL $USER $LOGNAME $TEST > linux /root /bin/bash root root ok >=20 > =FA=C1=C4=C1=DE=C1: =CD=CE=C5 =CE=D5=D6=CE=CF =D0=CF=D7=C5=C4=C5=CE=C9=C5= =C9=DA coreutils::su::Test case 2, =C9=CE=C1=DE=C5 > =CE=C5 =D5=C4=C1=A3=D4=D3=D1 =C2=CF=CC=C5=C5-=CD=C5=CE=C5=C5 =D0=D2=D1=CD= =CF =D7=D9=D0=CF=CC=CE=D1=D4=D8 =DA=C1=D0=D5=D3=CB =C4=C5=CD=CF=CE=CF=D7 to= mcat =C9 > cruisecontrol =C9=DA =C9=CE=C9=D4=D3=CB=D2=C9=D0=D4=CF=D7. =E4=CC=D1 =CF= =C2=CF=C9=C8 =C8=C1=D2=C1=CB=D4=C5=D2=CE=C1 =CE=C1=D3=D4=D2=CF=CA=CB=C1 > =D0=C5=D2=C5=CD=C5=CE=CE=D9=C8 =CF=CB=D2=D5=D6=C5=CE=C9=D1 =C9=DA /etc/sy= sconfig/{%name} =D3 =D0=C5=D2=C5=CB=CC=C0=DE=C5=CE=C9=C5=CD =CE=C1 > =CE=C5=D0=D2=C9=D7=C9=CC=C5=C7=C9=D2=CF=D7=C1=CE=CE=CF=C7=CF =D0=CF=CC=D8= =DA=CF=D7=C1=D4=C5=CC=D1 =DE=C5=D2=C5=DA su. =F7=CF=D4 =D7 =DC=D4=CF=D4 =CD= =CF=CD=C5=CE=D4 =C9 > =CE=C1=C4=CF =C4=C5=CA=D3=D4=D7=CF=D7=C1=D4=D8 =D0=CF =D3=C3=C5=CE=C1=D2= =C9=C0 coreutils::su::Test case 2, =C1 > =C9=CD=C5=CE=CE=CF: =C9=DA=CD=C5=CE=C9=D4=D8 $TERM $HOME $SHELL $USER $LO= GNAME =CB=C1=CB =D0=D2=C9 "su > -", =CE=CF =CE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C= =CF =CC=C0=C4=C5=CA. =F3 coreutils::su =D7 =CE=C5=C7=CF > =D0=CF=D0=C1=D3=D4=D8 =C7=CF=D2=C1=DA=C4=CF =D4=D2=D5=C4=CE=C5=C5. =EF=C4=CE=C1=CB=CF =D7 =D3=CC=D5=DE=C1=C5 =D0=CF=D0=C1=C4=C1=CE=C9=D1 =D7= =D9=CC=C5=DA=C1=D4=D8 =C4=CF=CC=D8=DB=C5. --=20 ldv --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAkmDI9viEa8HiNCkRAk9IAJ4tamdctSzsnEQX0RuS62fb1iurcQCeKRQo mSvmj74+AWXtlc5IXC2AWEM= =K+uB -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--