Re: AllowUsers reference a file

From: Richard E. Silverman (res_at_qoxp.net)
Date: 03/11/05


Date: 11 Mar 2005 15:14:02 -0500


>>>>> "sdean" == sdean <sdean@ulster.net> writes:

    sdean> This is a WIBNI for the developers, I think. Sometimes, most
    sdean> all of the time, I would want to allow any user to ssh to a
    sdean> login machine. In some rare instances, I would like to
    sdean> restrict the users to 3-4 of us. I would prefer to be able to
    sdean> swap a file referenced by AllowUsers in sshd_conf rather than
    sdean> sed the sshd_conf file. Thus IBNI AllowUsers could reference a
    sdean> file.......

You can use AllowGroups, and simply modify the group membership.

-- 
  Richard Silverman
  res@qoxp.net