TOP Operating Systems
see mkpasswd to create
$ cygrunsrv -S sshd # start
$ cygrunsrv -E sshd # stop
$ cygrunsrv -Q sshd # status
$ cygrunsrv -R sshd # remove( -S できなくなる)
$ cygrunsrv -E sshd # stop
$ cygrunsrv -Q sshd # status
$ cygrunsrv -R sshd # remove( -S できなくなる)
Start->MyComputer->Property->(System Property)->DetailSetting TAB->Environment Variables->System Environment Variables->New/Edit
CYGWIN 環境変数
CYGWIN=tty ntsec nosmbntsec
CYGWIN 環境変数
CYGWIN=tty ntsec nosmbntsec
ntsec | use NT security model |
nosmbntsec | no nsec on samba |
glob | (default) wildcard expansion |
tty | enable tty support |
binmode | (default) |
- The /etc/passwd and group files are no longer generated by default, starting with Cygwin 1.7.34
see mkpasswd to create
$ mkpasswd -l > /etc/passwd $ mkgroup -l > /etc/group $ chmod +r /etc/passwd $ chmod +r /etc/group
cygwin warning:
MS-DOS style path detected: \Program Files\Microsoft SDKs\Windows\v6.0\VC\Bin/ls
Preferred POSIX equivalent is: /cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.0/VC/Bin/ls
CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-p...のフラグを立てる
cygwin版のpingがインストールされてしまったみたい。コンソールを管理者で起動すればOK。
SUIDのフラグを立てるが効果ないので、cygwinのpingをアンインストール
SUIDのフラグを立てるが効果ないので、cygwinのpingをアンインストール
$ which ping /usr/bin/ping $ ls -l /usr/bin/ping -rwxr-xr-x 1 smnb なし 13824 May 4 2014 /usr/bin/ping $ chmod u+s !$ chmod u+s /usr/bin/ping $ ls -l /usr/bin/ping -rwsr-xr-x 1 smnb なし 13824 May 4 2014 /usr/bin/ping $ ping 192.168.1.1 ping: socket: Operation not permitted $ alias ping='$SYSTEMROOT/system32/ping' $ ping 192.168.1.1 Pinging 192.168.1.1 with 32 bytes of data: :
Minimum supported client : Windows Vista [desktop apps only]
https://msdn.microsoft.com/en-us/library/windows/d...
https://msdn.microsoft.com/en-us/library/windows/d...
最新コメント