1

Aim: Create an R server that integrates into our Windows environment by setting up AD integration on an Ubuntu box

Using: Ubuntu 12.04 LTS

Following: https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto

Problem: An ubuntu server was provisioned for me, and I was given a login ruser. I've been following the AD integration walkthrough and then applied this section of the how-to

file: /etc/pam.d/common-auth
auth sufficient pam_winbind.so auth sufficient pam_unix.so nullok_secure use_first_pass auth required
pam_deny.so

On a Ubuntu 7.10 (Gutsy Gibbon) and 9.04 (Jaunty Jackalope) systems, these changes to pam.d/common-auth result in not being able to log in as a local user, for example by ssh. Your luck may be better, but test immediately just in case.

and then scrolled down to find out that this prevents logins from local accounts, around the same time my PuTTY session shut down and attempting to login again now results in the session being shut down. I can use an AD login to get in but cannot amend the common-auth file with my AD login as I'm not in the sudoers group.

Requirement: If root is disabled is there another way I can change the file now that I've locked myself out?

0 Answers0