Louie De Janeiru

normal user sudo config 본문

Linux

normal user sudo config

Louiey 2020. 12. 17. 17:37
  • sudo su
    • enter to root
  • nano /etc/sudoers
    • add below "root ALL=(ALL:ALL) ALL" 
      • louiey All=(ALL:ALL) ALL
    • save
  • nano /etc/passwd
    • modify like as below
      • louiey:x:0:0:iu,,,:/home/iu:/bin/bash
    • save
  • nano /etc/group
    • modify like as below..first line
      • root:x:0:louiey
      • louiey:x:0:
    • save
  • done

'Linux' 카테고리의 다른 글

WSL config  (0) 2021.02.01
UART test  (0) 2021.01.05
Orangepizero2 apt-get error  (0) 2020.11.18
usb mount  (0) 2020.11.17
ssh install and configure  (0) 2020.11.17