Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

Re: pw useradd ½Ã...



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


¸ÇÆäÀÌÁö¿¡ º¸´Ï ´ÙÀ½°ú°°ÀÌ ½áÀֳ׿ä...
     -w method     The -w option sets the default method used to set passwords
                   for newly created user accounts.  method is one of:
 
                         no      disable login on newly created accounts
                         yes     force the password to be the account name
                         none    force a blank password
                         random  generate a random password
 
                   The `random' or `no' methods are the most secure; in the
                   former case, pw generates a password and prints it to std-
                   out, which is suitable where you issue users with passwords
                   to access their accounts rather than having the user nomi-
                   nate their own (possibly poorly chosen) password.  The `no'
                   method requires that the superuser use passwd(1) to render
                   the account accessible with a password.
 
 
 
proftpd¿¡°üÇÑ ÀÚ¼¼ÇÑ »çÇ×Àº http://proftpd.oops.org¸¦ ÂüÁ¶Çϼ¼¿ä...
 
 
----- Original Message -----
Sent: Saturday, June 29, 2002 10:22 AM
Subject: pw useradd ½Ã...

¾È³çÇϼ¼¿ä.

pw useradd ¸¦ ÀÌ¿ëÇØ¼­ »ç¿ëÀÚ °èÁ¤À» »ý¼ºÇÏ·Á ÇÕ´Ï´Ù.
¾ÆÄ«À̺긦 µÚÁ®º¸´Ï±î ÀÌ¿¡ °ü·ÃÇÏ¿© Á¶¼ºÁØ´ÔÀÌ ¿Ã·ÁÁֽбÛÀÌ ÀÖ´õ±º¿ä..

Áú¹®³»¿ëÀº °£´ÜÇÕ´Ï´Ù.
pw useradd -n testuser -c test -d /home/test -g 1001 -L standard -s /bin/csh -w none -pw test -m

ÀÌ·¸°Ô testuser¶ó´Â account¸¦ »ý¼ºÇÒ¶§ passwordµµ °°ÀÌ ÁöÁ¤ÇÏ°í ½ÍÀºµ¥, Àß ¾ÈµË´Ï´Ù.
man page¿¡ º¸´Ï±î -w ¿É¼ÇÀ¸·Î no, yes, none, randomÀº ÀÖ´øµ¥..

Á¶¼ºÁØ´ÔÀÌ ¿Ã¸°±Û¿¡´Â -w none -pw ÆÐ½º¿öµå ¶ó°í Çϼ̴øµ¥,
½ÇÁ¦·Î ÀÌ·¸°Ô ¼³Á¤À» Çϰí pw useradd Çϰí vipw ÇØ¼­ º¸¸é password¶õÀÌ ºñ¾î ÀÖ½À´Ï´Ù.
testuser::1136:1001:standard:1025276400:0:test:/home/testuser:/bin/csh

±×·¡¼­ Áö±ÝÀº pw useradd ·Î °èÁ¤»ý¼ºÇÏ°í º°µµ·Î passwd ¸í·É¾î·Î password¸¦ ÁöÁ¤Çϰí ÀÖ½À´Ï´Ù.
adduser ³ª pw useradd½Ã ÆÐ½º¿öµå¸¦ ÇѲ¨¹ø¿¡ ÁöÁ¤Çؼ­ °èÁ¤»ý¼ºÇÒ¼ö ÀÖ´Â ¹æ¹ýÀÌ ¾øÀ»±î¿ä?

±×¸®°í µÎ¹øÂ° Áú¹®Àº ftp server ÇÁ·Î±×·¥À¸·Î proftpd¸¦ »ç¿ëÇϰí ÀÖ½À´Ï´Ù.
±âº» ftp¸¦ »ç¿ëÇÒ¶§´Â ftp¸¦ Çã¿ëÇÏ°í ½ÍÁö ¾ÊÀº °èÁ¤Àº /etc/ftpuser¿¡ ÁöÁ¤Çϰí, @wheel ÀÌ·¸°Ô ³Ö¾îµÎ¸é wheel±×·ìÀÌ ftp·Î Á¢±ÙÇÒ¼ö ¾ø¾ú´Âµ¥,
proftpd ¸¦ »ç¿ëÇÏ°í ³­ µÚ·Î´Â ÀÌ ¼³Á¤ÀÌ Àû¿ëµÇÁö ¾Ê½À´Ï´Ù.
¾Æ¸¶µµ ´Ù¸¥ È­ÀÏ¿¡¼­ ÁöÁ¤À» ÇØÁà¾ß ÇÒ°Í °°Àºµ¥, ±× °æ·Î¸¦ ¾Ë·ÁÁֽðڽÀ´Ï±î?

°¨»çÇÕ´Ï´Ù.


 

³×À̹ö-´ëÇѹα¹ ´ëÇ¥ °Ë»öÆ÷ÅÐ, ³×À̹ö
Ưº°ÇÑ e ¸ÞÀÏÀ» ¿øÇÒ ¶©, ¾÷±×·¹ÀÌµå ³×À̹ö ¸ÞÀÏ
http://www.naver.com


[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2002/06/30 23:00:32 $
Powered by FreeBSD