Sun Java logo     Previous      Contents      Next     

Sun logo
Sun Java System Identity Manager 6.0 Resources Reference 2005Q4M3 


Red Hat Linux and SuSE Linux

The Red Hat Linux and SuSE Linux resource adapter are two separate adapters defined in the com.waveset.adapter.RedHatLinuxResourceAdapter and com.waveset.adapter.SUSELinuxResourceAdapter classes, respectively.

The Red Hat Linux adapter supports the following versions:

The SuSE Linux adapter supports the following version:

Resource Configuration Notes

If you will be using SSH (Secure Shell) for communication between the resource and Identity Manager, set up SSH on the resource before configuring the adapter.

Identity Manager Installation Notes

No additional installation procedures are required on this resource.

Usage Notes

The Linux resource adapters primarily provide support for the following commands:

For more information about supported attributes and files, refer to the Linux manual pages for these commands.

When a rename of a user account is executed on a Linux resource, the group memberships are moved to the new user name. The user's home directory is also renamed if the following conditions are true:

The Bourne-compliant shell (sh, ksh) must be used as the root shell when connecting to a Linux resource.

Security Notes

This section provides information about supported connections and privilege requirements.

Supported Connections

Identity Manager can use the following connections to communicate with this adapter:

Required Administrative Privileges

The adapter supports logging in as a standard user, then performing a su command to switch to root (or root-equivalent account) to perform administrative activities. Direct logins as root user are also supported.

The adapter also supports the sudo facility, which allows a system administrator to give users (or groups of users) the ability to run some (or all) commands as root or another user.

In addition, if sudo is enabled for a resource, its settings will override those configured on the resource definition page for the root user.

If you are using sudo, you must set the tty_tickets parameter to true for the commands enabled for the Identity Manager administrator. Refer to the man page for the sudoers file for more information.

The administrator must be granted privileges to run the following commands with sudo:

User and Group Commands

NIS Commands

Miscellaneous Commands

  chsh

  groupadd

  groupdel

  groupmod

  last

  passwd

  useradd

  userdel

  usermod

  make

  ypcat

  ypmatch

  yppasswd

  awk

  cat

  chmod

  chown

  cp

  cut

  diff

  echo

  grep

  ln

  ls

  mv

  ps

  rm

  sed

  sort

  tail

  touch

In addition, the NOPASSWORD option must be specified for each command.

You can use the Test Connection button to test whether

Provisioning Notes

The following table summarizes the provisioning capabilities of these adapters.

Feature

Supported?

Enable/disable account

Linux does not natively support Identity Manager enable and disable actions. Identity Manager simulates enabling and disabling accounts by changing the user password. The changed password is exposed on enable actions, but it is not exposed on disable actions.

As a result, enable and disable actions are processed as update actions. Any before or after actions that have been configured to operate on updates will execute.

Rename account

Yes

Pass-through authentication

Yes

Before/after actions

Yes

Data loading methods

  Import directly from resource

  Reconcile with resource

You can define resource attributes to control the following tasks for all users on this resource:

Account Attributes

The following table lists the Red Hat Linux and SuSE Linux user account attributes.


Notes:

Resource User Attribute

useradd Equivalent

Description

accountId

login

Required. The user’s login name.

comment

-c comment

The user’s full name.

dir

-d directory

The user’s home directory.

expire

-e expiration date

Last date the account can be accessed.

group

-g group

The user’s primary group.

inactive

-f days

Number of days the account can be inactive before it is locked

secondary_group

-G group

The user’s secondary group or groups.

shell

-s /Path

The user’s login shell.

time_last_login

Obtained from the last command.

The date and time of the last login. This value is read-only.

uid

-u User ID

The user ID, in digit form.

Resource Object Management

Identity Manager supports the following native Linux objects:

Resource Object

Features Supported

Attributes Managed

Group

Create, update, delete, rename, save as

groupName, gid, users

Identity Template

$accountId$

Sample Forms

Built-In

Also Available

Troubleshooting

Use the Identity Manager debug pages to set trace options on the following classes:



Previous      Contents      Next     


Copyright 2006 Sun Microsystems, Inc. All rights reserved.