我已经设置了一台 Unix 机器,其 uucp (Unixware) 通过直接串行连接到 Slackware 机器。使用 uucp。副本作品
在Unixware上
uucp -m /usr/bin/view Slackware1\!/var/spool/uucppublic
mailx
....
.....
Content-Type: text/plain; charset=us-ascii
Status: R
Content-Length: 121
REQUEST: unixware2!/usr/bin/view --> Slackware1!/var/spool/uucppublic (myusername)
(SYSTEM: Slackware1) copy succeeded
现在我们在远程尝试 mailx 并..
echo something|uux -z Slackware1\!/usr/bin/mailx myuser
在 Slackware 服务器上,uucp 日志显示..
ERROR: Not permitted to execute /usr/bin/mailx
当然,邮件没有到达。
这些是权限配置
在 Linux 上
/etc/uucp/sys
remote-send ~
remote-receive ~
local-send ~
local-receive ~
command-path /usr/bin
commands ls mailx
system unixware2
time any
port serial1
speed 38400
chat in:--in: nuucp word: ***
在unixware上
/etc/uucp/权限
LOGNAME=nuucp \
MACHINE=OTHER \
READ=/var/spool/uucppublic \
WRITE=/var/spool/uucppublic \
SENDFILES=call REQUEST=yes \
COMMANDS=/usr/bin/rmail:/usr/bin/mailx \
PUBDIR=/var/spool/uucppublic \
MYNAME=unixware2 \
VALIDATE=Slackware1
LOGNAME=myusername \
MACHINE=OTHER \
READ=/var/spool/uucppublic \
WRITE=/var/spool/uucppublic \
SENDFILES=call REQUEST=yes \
COMMANDS=/usr/bin/rmail:/usr/bin/mailx \
PUBDIR=/var/spool/uucppublic \
MYNAME=unixware2 \
VALIDATE=Slackware1
有什么建议吗?谢谢
编辑1:尝试
uux -a nuucp..
犯同样的错误