What is PBIS?
PowerBroker Identity Services allows you to extend the reach of Active Directory to Linux, Unix and even Macintosh platforms.
This integration facilitates the management and definition of centralized Active Directory (GPO) security policies, applying them to all platforms.
It provides a set of tools that allow you to manage security events and ensure compliance with security policies and regulations.
Installation and configuration:
We configure the repositories
Derivatives Debian
apt-get install apt-transport-https
wget -O - http://repo.pbis.beyondtrust.com/apt/RPM-GPG-KEY-pbis|sudo apt-key add -
sudo wget -O /etc/apt/sources.list.d/pbiso.list http://repo.pbis.beyondtrust.com/apt/pbiso.list
sudo apt-get update
Derivatives redhat
sudo wget -O /etc/yum.repos.d/pbiso.repo http://repo.pbis.beyondtrust.com/yum/pbiso.repoDerivatives Suse
sudo wget -O /etc/zypp/repos.d/pbiso.repo http://repo.pbis.beyondtrust.com/yum/pbiso.repoSoftware download and installation
Derivatives Debian
sudo apt-get install pbis-openDerivatives Red Hat
sudo yum clean all
sudo yum install pbis-openDerivatives Suse
sudo zypper install pbis-openInstallation using installation script
Debian derivatives:
wget http://download.beyondtrust.com/PBISO/8.2.2/linux.deb.x64/pbis-open-8.2.2.2993.linux.x86_64.deb.shRed Hat derivatives:
wget http://download.beyondtrust.com/PBISO/8.2.2/linux.rpm.x64/pbis-open-8.2.2.2993.linux.x86_64.rpm.shWe give Permissions to the script once downloaded:
chmod +x /tmp/pbis-open-8.2.2.2993.linux.x86_64.rpm.shWe run the installation script:
/tmp/pbis-open-8.2.2.2993.linux.x86_64.rpm.sh
Creating directory pbis-open-8.2.2.2993.linux.x86_64.rpm
Verifying archive integrity... All good.
Uncompressing pbis-open-8.2.2.2993.linux.x86_64.rpm............
Would you like to install package for legacy links? (i.e. /opt/likewise/bin/lw-find-user-by-name -> /opt/pbis/bin/find-user-by-name) (yes/no) n
Would you like to install now? (yes/no) y
Installing packages and old packages will be removed
warning: /root/pbis-open-8.2.2.2993.linux.x86_64.rpm/./packages/pbis-open-upgrade-8.2.2-2993.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID c9ceecef: NOKEY
Preparing... ########################################### [100%]
1:pbis-open-upgrade ########################################### [100%]
warning: /root/pbis-open-8.2.2.2993.linux.x86_64.rpm/./packages/pbis-open-8.2.2-2993.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID c9ceecef: NOKEY
Preparing... ########################################### [100%]
1:pbis-open ########################################### [100%]
Setting up SELinux Policy Module
Importing registry...
/opt/pbis/share/config/accounts.reg
/opt/pbis/share/config/dcerpcd.reg
/opt/pbis/share/config/eventlogd.reg
/opt/pbis/share/config/lsassd.reg
/opt/pbis/share/config/lwiod.reg
/opt/pbis/share/config/lwreg.reg
/opt/pbis/share/config/netlogond.reg
/opt/pbis/share/config/privileges.reg
/opt/pbis/share/config/rdr.reg
/opt/pbis/share/config/reapsysl.reg
/opt/pbis/share/config/usermonitor.reg
warning: /root/pbis-open-8.2.2.2993.linux.x86_64.rpm/./packages/pbis-open-gui-8.2.2-2993.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID c9ceecef: NOKEY
Preparing... ########################################### [100%]
1:pbis-open-gui ########################################### [100%]
Installing Packages was successful
New libraries and configurations have been installed for PAM and NSS.
Please reboot so that all processes pick up the new versions.
As root, run domainjoin-gui or domainjoin-cli to join a domain so you can log on
with Active Directory credentials. Example:
domainjoin-cli join MYDOMAIN.COM MyJoinAccountWe add the server to the domain:
domainjoin-cli join red-orbita.com rokitoh@red-orbita.comOnce added we proceed to update the DNS records
/opt/pbis/bin/update-dnsWe configure the home and the shell that the user will use
/opt/pbis/bin/config AssumeDefaultDomain true
/opt/pbis/bin/config LoginShellTemplate /bin/bash
/opt/pbis/bin/config HomeDirTemplate %H/%D/%UIf we want to limit access only to certain groups of users, we do it as follows:
/opt/pbis/bin/config RequireMembershipOf "red-orbita.com\\admin-app" "red-orbita.com\\domain^admins"add service to systemd startup
cp /etc/pbis/redhat/lwsmd.service /lib/systemd/system/lwsmd.service
systemctl enable lwsmd
systemctl start lwsmdRemove a server from the domain:
domainjoin-cli leave rokitohAll the best.
Comments