forked from tildeverse/uucp
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:
parent
4f5b52ca3c
commit
af06c03628
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue