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,SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.2.5 Message-ID: <4AB35230.9030108@kalina.in.ua> Date: Fri, 18 Sep 2009 12:26:08 +0300 From: Yura Kalinichenko User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.8.1.21) Gecko/20090415 SeaMonkey/1.1.16 MIME-Version: 1.0 To: ALT Linux Community general discussions References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Comm] =?koi8-r?b?9d7F1M7ZxSDawdDJ08kgwsXaINDB0s/M0S4g68HLPw==?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2009 09:21:38 -0000 Archived-At: List-Archive: List-Post: =E4=C5=CE=C9=D3 =FE=C5=D2=CE=CF=D3=CF=D7 =D0=C9=DB=C5=D4: > =E1 > =CD=C5=CE=D1 =D7=CF=CC=CE=D5=C5=D4 =C1=CB=C1=C4=C5=CD=C9=DE=C5=D3=CB=C9= =CA =C9=CE=D4=C5=D2=C5=D3: =CB=C1=CB =DC=D4=CF =D3=C4=C5=CC=C1=D4=D8 =C5=D3= =CC=C9 =D4=C1=CB=C9 > =D0=D2=C9=D3=D0=C9=DE=C9=CC=CF? =F1 =D0=CF=CC=D8=DA=D5=C0=D3=D8 =D3=CC=C5=C4=D5=C0=DD=C5=CA =D0=CF=C4=D0=D2= =CF=C7=D2=C1=CD=CD=CF=CA. =FA=C1=D7=C5=D2=CE=D5=D4=D8 =C5=C5 =D7 =D5=D0=D2= =C1=D7=CC=D1=C0=DD=C9=CA =D3=CB=D2=C9=D0=D4 =C9=20 =D0=CF=D7=C5=D3=C9=D4=D8 =CE=C1 =CB=C1=CB=D5=C0-=CE=C9=C2=D5=C4=D8 =CB=CE= =CF=D0=CB=D5, =C4=D5=CD=C1=C0, =D4=D2=D5=C4=C1 =CE=C5 =D3=CF=D3=D4=C1=D7=CC= =D1=C5=D4. # Usage:=20 # clear_password username # clear_password() { local shadow status status=3D1 shadow=3D/etc/tcb/$1/shadow if [ -f $shadow ]; then sed -i -e "s/^$1:[^:]*:/$1::/" $shadow status=3D$? fi return $status } --=20 SY,=20 Yura Kalinichenko