No longer let remote systems request any file on the system

Local users can still send any file that the uucp user has access
to, but don't let remote systems get it all.
This commit is contained in:
John Goerzen 2019-10-23 07:36:42 -05:00
parent 4f5b52ca3c
commit af06c03628
1 changed files with 4 additions and 4 deletions

View File

@ -81,9 +81,9 @@ sub generateSys {
call-password *
called-login U$nodeName
local-send /
local-receive /var/spool/uucppublic
remote-send /
remote-receive /var/spool/uucppublic
local-receive ~
remote-send ~
remote-receive ~
time any
forward ANY
chat \"\" \\d\\d\\r\\c word: \\d\\P
@ -102,7 +102,7 @@ sub generateConfig {
open(FH, '>>',$confFile);
my $nodeConfig = "nodename\t\t".$nodeName."\n";
my $nodeConfig = "nodename\t\t".$nodeName."\npubdir\t\t/var/spool/uucppublic\n";
print FH $nodeConfig;
}