Advertisement
Guest User

mattiaa95 join AD domain linux

a guest
Oct 23rd, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. /etc/hosts
  2.  
  3. 192.168.1.100 mattia.com
  4.  
  5. /etc/nsswitch.conf
  6.  
  7. passwd: compat
  8. group: compat
  9. shadow: compat
  10. hosts: dns files mdns4
  11. #hosts: dns [!UNAVAIL=return] files
  12. networks: nis [NOTFOUND=return] files
  13. ethers: nis [NOTFOUND=return] files
  14. protocols: nis [NOTFOUND=return] files
  15. rpc: nis [NOTFOUND=return] files
  16. services: nis [NOTFOUND=return] files
  17.  
  18. /etc/resolv.conf
  19.  
  20. search mattia.com
  21. nameserver 192.168.1.100
  22.  
  23. /etc/sudoers
  24.  
  25. %domain\\domain^users ALL=(ALL) ALL >>>>grupo
  26. domain\\mattia ALL=(ALL) ALL
  27.  
  28. /etc/lightdm/lightdm.conf
  29.  
  30. greeter-session=unity-greeter
  31. user-session=ubuntu
  32. autologin-user=
  33. greeter-show-manual-login=true
  34.  
  35.  
  36.  
  37. ////////////////////////////////////////////////////////
  38. sudo service lightdm restart
  39. apt-get install nscd
  40. service nscd restart
  41. ping domain.com
  42. dig domain.com
  43.  
  44. sudo apt-get install likewise-open
  45. sudo domainjoin-gui
  46.  
  47. log>>>> domain\user
  48. user@domain
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement