lsy0314 / sintoburi

:fish: 신토불이 - 우리 몸에는 우리 땅에서 자란 전통음식이 체질에 잘맞고 건강에 이롭다라는 뜻을 가지고 있습니다.
3 stars 2 forks source link

[버그,완료] Rpi3 보드 부팅시 launcher가 자동으로 실행되지않음 #28

Open hjoon0510 opened 6 years ago

hjoon0510 commented 6 years ago

부팅시에 자동으로 launcher가 실행되도록 설정을 하였습니다. 그러나 자동으로 실행이 되지않습니다.

직접 launcher를 실행하면 문제없이 잘 동작합니다.

예: $ ./launcher [enter] sudo password: ****

hjoon0510 commented 6 years ago

부팅시에 암호를 이력하지 않아도 되도록 개선해야합니다. 아래의 방법을 시도해보아야합니다.

-------------
$ sudo visudo
--------------- /etc/sudoers: start ----------------
# 사용자 권한 지정
root    ALL=(ALL:ALL) ALL
hjoon0510       ALL=NOPASSWD: ALL <---- Please append your id here.!!!!
--------------- /etc/sudoers: ending ---------------
hjoon0510 commented 6 years ago

@숙제: README.md 문서에 rpi3를 부팅시 자동으로 실행하기위한 설정방법을 추가해야합니다.

lsy0314 commented 6 years ago
$ sudo visudo

 . . . OMISSION . . . 
# User privilege specification
root            ALL=(ALL:ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d
user01          ALL=(ALL) NOPASSWD: ALL
user02          ALL=(ALL) NOPASSWD: ALL
www-data        ALL=(ALL) NOPASSWD: ALL

이상.