|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read No. 83 article |
2002-01-29 19:19:29 |
|
|
|
|
NickName |
Ç®ºñ´© |
Subject |
[¸ÞÀÏ] ÀüÀÚ¿ìÆí¸¸ »ç¿ëÇÒ¼ö ÀÖ´Â °èÁ¤-¾ÏÈ£º¯°æ°¡´É |
|
|
±Û¾´ÀÌ:±×³É
¸ÞÀÏ°èÁ¤À» ¸¸µé°í ±×»ç¿ëÀÚ´Â telnet Á¢¼Ó½Ã ÀÚ½ÅÀÇ ¾ÏÈ£º¯°æ °¡´É
id = »ç¿ëÇÏ·Á´Â °èÁ¤ id
useradd $id -M -s /bin/pop-shell
--------------------------------------
pop-shell ÀÇ ÈÀÏÀ» »ý¼º
---------------------------------------
#!/bin/sh
echo
echo " =============================================================="
echo " ÇöÀç Á¢¼ÓÇϽŠID´Â TELNET, FTP Á¢¼ÓÀÌ Çã¿ëµÇÁö ¾Ê½À´Ï´Ù."
echo " =============================================================="
echo " * POP °èÁ¤"
echo
echo -n " POP °èÁ¤ÀÇ ¾ÏÈ£º¯°æÀ» ¿øÇϽʴϱî? [y/N] "
read QUESTION
if [ "X${QUESTION}" = "XY" -o "X${QUESTION}" = "Xy" ]
then passwd
fi
------------------------------------------------------------------------
|
|
Page Loading [ 0.02 Sec ]
SQL Time [ 0 Sec ]
|
|
|