From cf46d80f0be3682b052963d5d5066c0d7cf10678 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Thu, 26 Jan 2017 13:23:38 +0100 Subject: [PATCH] Create README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..90802ac --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# Linux-Active-Directory-join-script +This is a script for Active Directory join for Ubuntu 14, 16 and debian with realmd. + +Complete steps +1. create computer object in AD lets say the name is= linuxcomputer as example +2. create a group name LINUXCOMPUTERsudoers ( if you wish to remove sudoers you must edit script ) +3. set hostname on you computer to linuxcomputer (hostname and hosts files) and reboot +4. git clone this script and run. + +execute the script with sudo sh scriptexmple.sh, then choose if client or server. +then type yot doamin at promt ex: myad.intra, next your netbios at promt ex: myad +after that authorise with a admin user. +make sure to read carefully and also read built in help in the script. + +this will make the cleanest setup possible. no @ in names or in home folder +home folder will be /home/myad.intra/you +User name will be only set as "you" without /myad/you or you@myad.intra. just clean. this is to prevent complications for developers when building code +after reboot just login with you AD acoount "you" and password... again.. no @ or / is needed, just "user"