목록2018/07 (4)
:: ADVANCE ::
[List] List 구현 연습 입력 0 -> init 1 # -> front 추가 + num 2 # -> tail 추가 + num 3 -> front delete 4 -> tail delete 5 # -> # number list 에서 삭제 6 -> print 더보기
[Linux + windows] Windows 10 - linux 간 samba 연결 문제 PowerShell (관리자) 실행 - window key + x -> a PowerShell 에서 각각 설정 입력 - Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB2 -Type DWORD -Value 0 -Force - sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi - sc.exe config mrxsmb20 start= disabled
[Linux] hostname 변경 1. 변경 전, /etc/hosts 수정 - sudo vi /etc/hosts - localhost name -> 수정하려는 이름으로 변경 * 위 작업을 진행하지 않을 경우 sudo 명령어가 먹히지 않는다. 2. hostnamectl set-hostname [newname] ** gedit 가 작동하지 않으면 -> xhost + 입력
[Linux] 계정 이름 변경 & 홈 디렉토리 변경 ( ** 정책상 root 계정을 사용하면 안되는 사용자 ** ) root 계정으로 들어가서 변경해야 한다 -> 후에 다시 루트계정 안보이게 설정 root 계정 활성화 비밀번호 설정 - sudo passwd root /etc/lightdm/lightdm.conf 설정 - sudo gedit /etc/lightdm/lightdm.conf - greeter-show-manual-login=true 추가 reboot 후 root 계정으로 로그인 계정 이름 변경 - usermod -l [newname] [oldname] home directory 명 변경 - (home 디렉토리에서 변경 원하는 폴더 이름 변경 한 후) - usermod -md /home/[바꾸려..