The following procedure explains how to UNIX-enable a user and user group using the Safeguard Authentication Services PowerShell Console.
To UNIX-enable a user and user group
-
From the Control Center, navigate to Tools > Safeguard Authentication Services.
-
Click Safeguard Authentication Services PowerShell Console.
NOTE: The first time you launch the PowerShell Console, it asks you if you want to run software from this untrusted publisher. Enter A at the PowerShellprompt to import the digital certificate to your system as a trusted entity. Once you have done this, you will never be asked this question again on this machine.
-
At the PowerShell prompt, enter the following:
Enable-QasUnixGroup UNIXusers | Set-QasUnixGroup -GidNumber 1234567
NOTE: You created the UNIXusers group in a previous exercise. See Adding an Active Directory group account.
UNIX attributes are generated automatically based on the Default UNIX Attributes settings that were configured earlier and look similar to the following:
ObjectClass : group DistinguishedName : CN=UNIXusers,CN=Users,DC=example,DC=com ObjectGuid : 71aaa88-d164-43e4-a72a-459365e84a25 GroupName : UNIXusers UnixEnabled : True GidNumber : 1234567 AdsPath : LDAP://windows.example.com/CN=UNIXusers,CN=Users, DC=example,DC=com CommonName : UNIXusers
-
At the PowerShell prompt, to UNIX-enable an Active Directory user using the default UNIX attribute values, enter:
Enable-QasUnixUser ADuser | Seet-QasUnixUser -PrimaryGidNumber 1234567
The UNIX properties of the user display:
ObjectClass : user DistinguishedName : CN=ADuser,CN=Users,DC=example,DC=com ObjectGuid : 5f83687c-e29d-448f-9795-54d272cf9f25 UserName : ADuser UnixEnabled : True UidNumber : 80791532 PrimaryGidNumber : 1234567 Gecos : HomeDirectory : /home/ADuser LoginShell : /bin/sh AdsPath : LDAP://windows.example.com/CN=ADuser,CN=Users, DC=example,DC=com CommonName : ADuser
-
To disable the ADuser user for UNIX login, at the PowerShell prompt enter:
Disable-QasUnixUser ADuser
NOTE: To clear all UNIX attribute information, enter:
Clear-QasUnixUser ADuser
Now that you have UNIX-disabled the user, that user can no longer log in to systems running the Safeguard Authentication Services agent.
-
From the Control Center, under Login to remote host, enter:
-
Host name: The UNIX host name.
-
User name: The Active Directory user name, ADuser.
Click Login to log in to the UNIX host with your Active Directory user account.
A PuTTY window displays.
NOTE: PuTTY attempts to log in using Kerberos, but will fail over to password authentication if Kerberos is not enabled or properly configured for the remote SSH service.
-
-
Enter the password for the Active Directory user account.
You will receive a message that says Access denied.