On 02/12/2015 05:09 AM, Achim Gratz wrote:
> Andrey Repin <anrdaemon <at> yandex.ru> writes:
>> # getent passwd $(id -u) > /etc/passwd
> # mkpasswd -l >> /etc/passwd
>> # getent group $(id -G) > /etc/group
> # mkgroup -l >> /etc/group
>> # echo -e "#\npasswd: files db\ngroup: files db\n" > /etc/nsswitch.conf

'echo -e' is non-portable; use printf instead.


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to