pw buggy behaviour

Коньков Евгений kes-kes at yandex.ru
Mon Jun 20 10:37:12 UTC 2011


Здравствуйте, Коньков.

Вы писали 20 июня 2011 г., 13:28:06:

КЕ> Hi

КЕ> How this can be?

КЕ> # pw user add quagga
КЕ> pw: user 'quagga' already exists
КЕ> # pw user show quagga
КЕ> pw: no such user `quagga'

КЕ> #cat /etc/passwd | grep quagga
КЕ> quagga:*:101:101::0:0:Quagga
КЕ> Daemon:/usr/local/etc/quagga:/sbin/nologin

КЕ> #cat /etc/master.passwd | grep quagga
КЕ> quagga:*:101:101::0:0:Quagga
КЕ> Daemon:/usr/local/etc/quagga:/sbin/nologin

КЕ> # pw user show quagga
КЕ> pw: no such user `quagga'

the command
pwd_mkdb /etc/master.passwd

resolves the problem, but why this happen is strange...


-- 
С уважением,
 Коньков                          mailto:kes-kes at yandex.ru



More information about the freebsd-questions mailing list