linux2018. 6. 21. 18:03



ubuntu <-> window samba 설정하기 


in ubuntu side

$ sudo apt-get install samba

Samba 계정 추가

아래 명령어를 통해 사용하려는 계정을 간단히 계정을 추가할 수 있다.


명령어를 실행시키면 곧이어 사용할 비밀번호를 두번 묻고, 모두 입력하면 계정 추가 과정이 완료된다.

나는 아래와 같이 'Jeon' 을 계정명으로 사용했다.

$ sudo smbpasswd -a [계정명]

eg. $ sudo smbpasswd -a Jeon


나의 경우 계정이 하나 밖에 없는 관계로 계정 추가 없이 아래와 같이 패스워드를 재설정 후

곧 바로 사용 가능하였다.


leej5@LeeJ5:~$ sudo smbpasswd jayce

New SMB password:

Retype new SMB password:


출처:

http://techlog.gurucat.net/290 [하얀쿠아의 이것저것 만들기 Blog]

http://maximer.tistory.com/182

'linux' 카테고리의 다른 글

top 명령어 세부사항  (0) 2018.07.02
표준입출력 redirect  (0) 2018.06.25
ubuntu default /bin/sh is dash  (0) 2018.06.22
useful linux system info commands  (0) 2018.06.20
makefile 내장 함수  (0) 2018.06.19
Posted by easy16