´ÙÀ½Àº ¸®´ª½º¿¡¼ °øÀ¯µÈ Æú´õ¸¦ À©µµ¿ìÁî¿¡¼ »ç¿ëÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù.
¸®´ª½º »ç¿ëÀÚ Ãß°¡ ¹× SAMBA »ç¿ëÀÚ µî·Ï
[root@localhost ]# groupadd -g 101 mojily
[root@localhost ]# useradd -u 1001 -g 101 -d /home/mojily -s /bin/bash mojily
[root@localhost ]# passwd mojily
Changing password for user mojily.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@localshot ]# smbpasswd -a mojily
New SMB password:
Retype new SMB password:
Added user mojily.
SAMBA ȯ°æ¼³Á¤
- /etc/samba/smb.conf ÆÄÀÏ Çϴܺκп¡ Ãß°¡
[global]
dos charset = CP949 /// À©µµ¿ì¿Í Çѱ۱úÁüÀ» ¹æÁöÇϱâ À§ÇÑ Ä³¸¯ÅÍ ¼³Á¤
unix charset = EUC-KR
workgroup = smileserv
netbios name = BIT
server string = samba-test
security = SHARE
passdb backend = tdbsam
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 50
ldap ssl = no
cups options = raw
[smileserv$] /// °øÀ¯Æú´õ¸í µÚ¿¡ $À» ºÙÀÌ°Ô µÇ¸é, »ç¿ëÀº °¡´ÉÇÏÁö¸¸ °Ë»öÀÌ ¾ÈµÊ
path = /home/mojily
username = mojily
read only = No
°ü·Ã¼ºñ½º ½ÃÀÛ
[root@localhost ]# service smb start
[root@localhost ]# service nmb start
ÇÁ·Î¼¼¼ ¸ñ·Ï
|-smbd---2*[smbd]
|-nmbd
À©µµ¿ì¿¡¼ °øÀ¯µÈ ¸ñ·ÏÈ®ÀÎ
- °øÀ¯ ¸®½ºÆ® ºÒ·¯¿À±â
- Æнº¿öµå ÀÎÁõ
- °øÀ¯µÈ ¸ñ·Ï È®ÀÎ
ÀÌÁ¦ À©µµ¿ìÁî¿¡¼µµ ¸®ºÎÆýÿ¡ ³×Æ®¿öÅ© µå¶óÀ̺ê·Î °è¼ÓÇؼ ¹¾îÁÙ¼ö ÀÖ°Ô²û ¼³Á¤ÇØÁØ´Ù..
ÄÄÇ»ÅÍ¿¡¼ ¸¶¿ì½º ¿À¸¥ÂÊ Å¬¸¯Çؼ ³×Æ®¿öÅ© µå¶óÀÌºê ¿¬°á
¾Æ·¡¿Í °°ÀÌ ¿¬°áÇØÁØ Z µå¶óÀ̺ê·Î ÇÒ´çµÇ¾î ¿¬°áµÇ¾úÀ½À» È®ÀÎÇÒ¼ö ÀÖ´Ù.