0

We are evaluating how Ubuntu Desktops will suit our development environment. But we can't find a way to encrypt home directory with active directory(AD) user credentials.

  • All the users are places in AD
  • Users Home directory is Ubuntu desktop under /home/<1st name.2nd name@EXAMPLE.COM>/

We are able to login to Ubuntu desktop with AD user credentials.

if we try to encrypt the users home directory using :

sudo ecryptfs-migrate-home -u <1st name.2nd name@EXAMPLE.COM>

Return an error :

ERROR:  Cannot find the home directory of <1st name.2nd name@EXAMPLE.COM>.

Can anyone help us to overcome this issue

  • AD as in active directory? – answerSeeker Jan 24 '17 at 0:11
  • yes. AD --> Active Directory – Sha Jan 24 '17 at 0:15
  • 1
    As far as I know, AD is purely microsoft technology and only works on windows. However, you might be able to get the AD database of users and their password and use their credentials in Ubuntu while encrypting their home folders. This websites shows a way to encrypt: howtogeek.com/116032/… – answerSeeker Jan 24 '17 at 0:20
  • This question might gain more traction on security.stackexchange.com – Elder Geek Jan 24 '17 at 0:28
  • Thank for that I have tried this, As per my understanding, if we use AD authentication to login to linux, system not keep that user as system user. eg: if we check AD user in /etc/passwd it wan't show. If i run sudo ecryptfs-migrate-home -u <AD.user> system will give error ERROR: Cannot find the home directory of userxyz@EXAMPLE.COM – Sha Jan 24 '17 at 0:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.