Changeset 28931


Ignore:
Timestamp:
2011-11-10T01:10:24+01:00 (6 years ago)
Author:
tripolar
Message:

[packages] openssh: * set ssh dir to /var/empty

  • group_add sshd not ssh
  • dont create /var/run/sshd
File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/openssh/files/sshd.init

    r28899 r28931  
    1919                } 
    2020        }; done 
    21         user_exists sshd 22 || user_add sshd 22 
    22         group_exists sshd 22 || group_add ssh 22 
     21        user_exists sshd 22 || user_add sshd 22 22 sshd /var/empty 
     22        group_exists sshd 22 || group_add sshd 22  
    2323        mkdir -m 0700 -p /var/empty 
    24         mkdir -m 0755 -p /var/run/sshd 
    2524        service_start /usr/sbin/sshd 
    2625} 
Note: See TracChangeset for help on using the changeset viewer.