Code:
[admin@router root]$ exportfs
exportfs: No host name given with /tmp/harddisk/shares/distrib
(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,
anonuid=-2,anongid=-2), suggest
*(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity
,anonuid=-2,anongid=-2) to avoid warning
exportfs: No host name given with /tmp/harddisk/shares/files
(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,#
anonuid=-2,anongid=-2), suggest
*(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity#
,anonuid=-2,anongid=-2) to avoid warning
exportfs: No host name given with /tmp/harddisk/shares/temp
(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,
anonuid=-2,anongid=-2), suggest
*(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity
,anonuid=-2,anongid=-2) to avoid warning
/tmp/harddisk/shares/distrib
<world>
/tmp/harddisk/shares/files
<world>
/tmp/harddisk/shares/temp
<world>
После этого пытаюсь смонтиpовать одну из шаp с клиента:
Code:
[corpse@book corpse]$ mount
...бла-бла-бла...
192.168.1.1:/tmp/harddisk/shares/files on /home/corpse/files type nfs
(rw,rsize=1024,wsize=1024,addr=192.168.1.1)
192.168.1.1:/tmp/harddisk/shares/distrib on /home/corpse/distrib type nfs
(rw,rsize=1024,wsize=1024,addr=192.168.1.1)
192.168.1.1:/tmp/harddisk/shares/temp on /home/corpse/temp type nfs
(rw,rsize=1024,wsize=1024,addr=192.168.1.1)
... бла-бла-бла ...
Подскажите, почему так пpоисходит? Может быть всё из-за того, что на роутере пользователь с UID=0 не root, а admin? Если так, то могу ли я его безболезненно переименовать в /etc/passwd или каким-то иным путём?