Lines Matching full: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
89 /usr/bin/mount -o text,posix=0,noacl -f "${_win_etcdir}" "${_my_etcdir}"
95 if [ `/usr/bin/grep -q 'ssh[[:space:]][[:space:]]*22' "${_services}"; echo $?` -ne 0 ]
97 …if /usr/bin/awk '{ if ( $2 ~ /^23\/tcp/ ) print "ssh 22/tcp'"${_spaces}"'SSH Remote…
99 if /usr/bin/mv "${_serv_tmp}" "${_services}"
106 /usr/bin/rm -f "${_serv_tmp}"
112 /usr/bin/umount "${_my_etcdir}"
156 csih_inform "For more info on privilege separation read /usr/share/doc/openssh/README.privsep."
185 /usr/bin/sed -i -e "s/^#\?[[:space:]]*Port[[:space:]].*/Port ${port_number}/" \
196 /usr/bin/sed -i -e "s/^#\?[[:space:]]*StrictModes[[:space:]].*/StrictModes no/" \
207 /usr/bin/sed -i -e "
237 /usr/bin/grep -q '^[[:space:]]*ssh' "${_inetcnf}" && _with_comment=0
241 if [ $(/usr/bin/grep -q '^[# \t]*ssh' "${_inetcnf}"; echo $?) -eq 0 ]
243 /usr/bin/grep -v '^[# \t]*ssh' "${_inetcnf}" >> "${_inetcnf_tmp}"
246 if /usr/bin/mv "${_inetcnf_tmp}" "${_inetcnf}"
253 /usr/bin/rm -f "${_inetcnf_tmp}"
262 … if /usr/bin/cmp "${SYSCONFDIR}/defaults${_sshd_inetd_conf}" "${_sshd_inetd_conf}" >/dev/null 2>&1
266 /usr/bin/sed -e 's/@COMMENT@[[:space:]]*//' < "${_sshd_inetd_conf}" > "${_sshd_inetd_conf_tmp}"
268 /usr/bin/sed -e 's/@COMMENT@[[:space:]]*/# /' < "${_sshd_inetd_conf}" > "${_sshd_inetd_conf_tmp}"
270 if /usr/bin/mv "${_sshd_inetd_conf_tmp}" "${_sshd_inetd_conf}"
281 /usr/bin/grep -q '^[[:space:]]*sshd' "${_inetcnf}" && _with_comment=0
285 if [ `/usr/bin/grep -q '^#\?[[:space:]]*sshd' "${_inetcnf}"; echo $?` -eq 0 ]
287 /usr/bin/grep -v '^#\?[[:space:]]*sshd' "${_inetcnf}" >> "${_inetcnf_tmp}"
290 if /usr/bin/mv "${_inetcnf_tmp}" "${_inetcnf}"
297 /usr/bin/rm -f "${_inetcnf_tmp}"
305 if [ `/usr/bin/grep -q '^[# \t]*ssh' "${_inetcnf}"; echo $?` -ne 0 ]
309 echo 'ssh stream tcp nowait root /usr/sbin/sshd sshd -i' >> "${_inetcnf}"
311 echo '# ssh stream tcp nowait root /usr/sbin/sshd sshd -i' >> "${_inetcnf}"
335 accnt_name=$(/usr/bin/cygrunsrv -VQ sshd |
336 /usr/bin/sed -ne 's/^Account *: *//gp')
347 run_service_as=$(/usr/bin/mkpasswd -l -u "${accnt_name}" |
348 /usr/bin/awk -F: '{print $1;}')
351 run_service_as=$(/usr/bin/mkpasswd -d "${dom}" -u "${accnt_name}" |
352 /usr/bin/awk -F: '{print $1;}')
412 if /usr/bin/cygrunsrv -Q ${service_name} >/dev/null 2>&1
468 if /usr/bin/cygrunsrv -I ${service_name} -d "CYGWIN ${service_name}" -p /usr/sbin/sshd \
478 if /usr/bin/cygrunsrv -I ${service_name} -d "CYGWIN ${service_name}" -p /usr/sbin/sshd \
482 /usr/bin/editrights -u "${run_service_as}" -a SeServiceLogonRight
491 if /usr/bin/cygrunsrv -Q ${service_name} >/dev/null 2>&1
618 if /usr/bin/ps -ef | /usr/bin/grep -q '/sshd\?$'
625 admin=$(/usr/bin/id -G | /usr/bin/grep -Eq '\<544\>' && echo yes || echo no)
633 /usr/bin/id -Gnz | xargs -0n1 echo " "
664 /usr/bin/cat /dev/null > ${LOCALSTATEDIR}/log/lastlog
665 if ! /usr/bin/chmod 644 ${LOCALSTATEDIR}/log/lastlog >/dev/null 2>&1
674 if ! /usr/bin/chmod 755 "${LOCALSTATEDIR}/empty" >/dev/null 2>&1
682 /usr/bin/ssh-keygen -A || let warning_cnt+=$?
686 if /usr/bin/cmp "${SYSCONFDIR}/ssh_config" "${SYSCONFDIR}/defaults/${SYSCONFDIR}/ssh_config" >/dev/…
698 if ! /usr/bin/cmp "${SYSCONFDIR}/sshd_config" "${SYSCONFDIR}/defaults/${SYSCONFDIR}/sshd_config" >/…