1. Install llikewise-open to Ubuntusudoaptitudeinstalllikewise-open-gui to use a graphical connection: Click Applications-& gt; Internet-& gt; Likewisetojoinmycomputertoanactivedirectorydomain and enter the domain name in the settings. Click to join.
1. Install llikewise-open to Ubuntu
Sudo aptitude install likewise-open-gui
Use graphical connection:
Click Applications> Internet> Likewise to join my computer to an active directory domain
In settings, enter the domain name and domain login account. Click Add.
Use the command line to connect:
Sudo domainjoin-cli join fqdn. of. your. domain Administrator
Sudo update-rc.d likewise-open defaults
Sudo/etc/init. d/likewise-open start
Remove ubuntu from the Domain Server
Udo domainjoin-cli leave
2. The sudo command cannot be used in the domain user State, which is inconvenient for user operations. You need to add a user account under the sudo file.
Sudo-I
Mongodo
Add % domain \ domain ^ users ALL = (ALL) ALL in the last line
3 by default, the Ubuntu root account is disabled. You must set a password to start root login.
Sudo-I
Passwd