python 으로 packet 보내기 from socket import * a=0 #while a 더보기 Linux Kernel <= 2.6.37 Local Privilege Escalation 보호되어 있는 글입니다. 더보기 useradd + passwd [CentOS/RHEL] useradd -m -d /home/$i $i echo $i | passwd --stdin $i #!/bin/bash useradd $1 echo $2 | passwd --stdin $1 It seams the --stdin option does not exist under Ubuntu. You can write input in prog's stdin like ssh or passwd using socat but I think there is an easier way to do what you want. CENTOS/RHEL support the --stdin option. Appears Debian and it's variants like Ubuntu do not. [Ubunt.. 더보기 이전 1 ··· 28 29 30 31 32 33 34 ··· 39 다음