Guest User

Untitled

a guest
Oct 23rd, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. gksudo gedit
  2.  
  3. ~/ > whoami
  4. paul
  5. ~/ > sudo whoami
  6. root
  7. ~/ > id
  8. uid=1000(paul) gid=1000(paul) groups=1000(devs),4(adm),20(dialout),24(cdrom),…
  9. ~/ > sudo id
  10. uid=0(root) gid=0(root) group=0(root)
  11.  
  12. lsattr /etc/dhcp/dhcpd.config
  13.  
  14. chattr -i /etc/dhcp/dhcpd.config
  15.  
  16. su
  17. <texteditor> /etc/dhcp/dhcpd.config
  18.  
  19. ls -al
  20.  
  21. sudo mv example.txt /etc/dhcp/
  22.  
  23. sudo chmod -R your-user-name:admin .
  24.  
  25. sudo < editor > < filelocation >
  26.  
  27. admin:///etc/default/grub
Add Comment
Please, Sign In to add comment