LINUX.ORG.RU

отдельный файл chap-secrets для PPTP


0

1

как сделать сабж? а именно я хочу юзать, скажем chap-secrets-pptp, вместо станартного файла, что и куда прописать? читал манул по options.pptp (это опции ppp на самом деле), ничего про свой вопрос не нашел.

если я ничего не путаю, то там можно указывать параметры запуска pppd. и что, там разве нельзя указать другой файл?

AGUtilities ★★★
()
Ответ на: комментарий от ktulhu666

man bash

source filename [arguments]
              Read and execute commands from filename in the current shell environment and return the exit status of the last command executed from file‐
              name.   If filename does not contain a slash, file names in PATH are used to find the directory containing filename.  The file searched for
              in PATH need not be executable.  When bash is not in posix mode, the current directory is searched if no file is found  in  PATH.   If  the
              sourcepath  option  to  the  shopt builtin command is turned off, the PATH is not searched.  If any arguments are supplied, they become the
              positional parameters when filename is executed.  Otherwise the positional parameters are unchanged.  The return status is  the  status  of
              the last command exited within the script (0 if no commands are executed), and false if filename is not found or cannot be read.

deterok ★★★★★
()
Ответ на: комментарий от AGUtilities

я тоже об этом думал, параметр connect «pppd аргументы», вроде. и там можно файл задать с паролями. но добавятся ли другие аргументы к нему? не будет ли дублирования аргумнта, указывающего на файл с паролями?

ktulhu666 ☆☆☆
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.