How to create the local account on the linux server? create the local account only in case when server is not domain joined. # realm list :this command will show you if the server has been domain joined or not. # useradd -g <groupname> -s/bin/bash -c "comment for user" -m -d /home/<username> <username> # passwd <username> # chage -d 0 <username> : it will allow user to change the password after first login. # chage -1 <username> # id <username> †***************************************† How to give the access to user on the domain joined server ? # id <username> # realm list :check if the server has been added to domain or not. #add the user to the WH group in Active directory. # id <username> : check if the user has become part of WH group or not. # cat/etc/group : check which group is there allready created for the admins.(ex admins). # usermod -aG <groupname> <username> # cat /etc/group :