Lines Matching refs:usr

23 CSIH_SCRIPT=/usr/share/csih/cygwin-service-installation-helper.sh
29 /usr/bin/basename coreutils
30 /usr/bin/cat coreutils
31 /usr/bin/chmod coreutils
32 /usr/bin/dirname coreutils
33 /usr/bin/id coreutils
34 /usr/bin/mv coreutils
35 /usr/bin/rm coreutils
36 /usr/bin/cygpath cygwin
37 /usr/bin/mkpasswd cygwin
38 /usr/bin/mount cygwin
39 /usr/bin/ps cygwin
40 /usr/bin/umount cygwin
41 /usr/bin/cmp diffutils
42 /usr/bin/grep grep
43 /usr/bin/awk gawk
44 /usr/bin/ssh-keygen openssh
45 /usr/sbin/sshd openssh
46 /usr/bin/sed sed
51 PROGNAME=$(/usr/bin/basename $0)
52 _tdir=$(/usr/bin/dirname $0)
56 PREFIX=/usr
88 /usr/bin/mount -o text,posix=0,noacl -f "${_win_etcdir}" "${_my_etcdir}"
94 if [ `/usr/bin/grep -q 'ssh[[:space:]][[:space:]]*22' "${_services}"; echo $?` -ne 0 ]
96 …if /usr/bin/awk '{ if ( $2 ~ /^23\/tcp/ ) print "ssh 22/tcp'"${_spaces}"'SSH Remote…
98 if /usr/bin/mv "${_serv_tmp}" "${_services}"
105 /usr/bin/rm -f "${_serv_tmp}"
111 /usr/bin/umount "${_my_etcdir}"
172 /usr/bin/sed -i -e "s/^#\?[[:space:]]*Port[[:space:]].*/Port ${port_number}/" \
183 /usr/bin/sed -i -e "s/^#\?[[:space:]]*StrictModes[[:space:]].*/StrictModes no/" \
212 /usr/bin/grep -q '^[[:space:]]*ssh' "${_inetcnf}" && _with_comment=0
216 if [ $(/usr/bin/grep -q '^[# \t]*ssh' "${_inetcnf}"; echo $?) -eq 0 ]
218 /usr/bin/grep -v '^[# \t]*ssh' "${_inetcnf}" >> "${_inetcnf_tmp}"
221 if /usr/bin/mv "${_inetcnf_tmp}" "${_inetcnf}"
228 /usr/bin/rm -f "${_inetcnf_tmp}"
237 … if /usr/bin/cmp "${SYSCONFDIR}/defaults${_sshd_inetd_conf}" "${_sshd_inetd_conf}" >/dev/null 2>&1
241 /usr/bin/sed -e 's/@COMMENT@[[:space:]]*//' < "${_sshd_inetd_conf}" > "${_sshd_inetd_conf_tmp}"
243 /usr/bin/sed -e 's/@COMMENT@[[:space:]]*/# /' < "${_sshd_inetd_conf}" > "${_sshd_inetd_conf_tmp}"
245 if /usr/bin/mv "${_sshd_inetd_conf_tmp}" "${_sshd_inetd_conf}"
256 /usr/bin/grep -q '^[[:space:]]*sshd' "${_inetcnf}" && _with_comment=0
260 if [ `/usr/bin/grep -q '^#\?[[:space:]]*sshd' "${_inetcnf}"; echo $?` -eq 0 ]
262 /usr/bin/grep -v '^#\?[[:space:]]*sshd' "${_inetcnf}" >> "${_inetcnf_tmp}"
265 if /usr/bin/mv "${_inetcnf_tmp}" "${_inetcnf}"
272 /usr/bin/rm -f "${_inetcnf_tmp}"
280 if [ `/usr/bin/grep -q '^[# \t]*ssh' "${_inetcnf}"; echo $?` -ne 0 ]
310 accnt_name=$(/usr/bin/cygrunsrv -VQ "${service_name}" |
311 /usr/bin/sed -ne 's/^Account *: *//gp')
322 run_service_as=$(/usr/bin/mkpasswd -l -u "${accnt_name}" |
323 /usr/bin/awk -F: '{print $1;}')
326 run_service_as=$(/usr/bin/mkpasswd -d "${dom}" -u "${accnt_name}" |
327 /usr/bin/awk -F: '{print $1;}')
387 if /usr/bin/cygrunsrv -Q ${service_name} >/dev/null 2>&1
400 is_wow64=$(/usr/bin/uname | /usr/bin/grep -q 'WOW' && echo 1 || echo 0)
454 if /usr/bin/cygrunsrv -I ${service_name} -d "CYGWIN ${service_name}" -p /usr/sbin/sshd \
464 if /usr/bin/cygrunsrv -I ${service_name} -d "CYGWIN ${service_name}" -p /usr/sbin/sshd \
468 /usr/bin/editrights -u "${run_service_as}" -a SeServiceLogonRight
477 if /usr/bin/cygrunsrv -Q ${service_name} >/dev/null 2>&1
604 if /usr/bin/ps -ef | /usr/bin/grep -q '/sshd\?$'
611 admin=$(/usr/bin/id -G | /usr/bin/grep -Eq '\<544\>' && echo yes || echo no)
619 /usr/bin/id -Gnz | xargs -0n1 echo " "
650 /usr/bin/cat /dev/null > ${LOCALSTATEDIR}/log/lastlog
651 if ! /usr/bin/chmod 644 ${LOCALSTATEDIR}/log/lastlog >/dev/null 2>&1
660 if ! /usr/bin/chmod 755 "${LOCALSTATEDIR}/empty" >/dev/null 2>&1
668 /usr/bin/ssh-keygen -A || let warning_cnt+=$?
672 if /usr/bin/cmp "${SYSCONFDIR}/ssh_config" "${SYSCONFDIR}/defaults/${SYSCONFDIR}/ssh_config" >/dev/…
691 if ! /usr/bin/cmp "${SYSCONFDIR}/sshd_config" "${SYSCONFDIR}/defaults/${SYSCONFDIR}/sshd_config" >/…