[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: r42721 - trunk/packages/arch/arm/glantank/debian



Martin Michlmayr wrote:
> +# Clear the entry of days since 1970 that the passwd was last changed
> +# because there's no RTC support for this machine right now and SSH
> +# won't let you login otherwise.
> +sed 's/\(:[^:]*:\)[0-9]*/\1/' < /target/etc/shadow > /target/etc/shadow.$$
> +mv /target/etc/shadow.$$ /target/etc/shadow

Doesn't this lose the correct permissions on /etc/shadow? 

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: