Users and groups on NetWare® servers are created in and managed through eDirectory; users and groups on Linux servers are usually created locally and managed according to the POSIX (Portable Operating System Interface) standard.
Because Open Enterprise Server provides services running on both Linux and NetWare, Novell® has developed a technology that lets eDirectory users also function as “local” POSIX users on Linux servers. This technology is called Linux User Management or LUM.
The following sections outline the basic principles involved in Novell LUM and cover the following topics:
The topics in this section are designed to help you understand when LUM-enabled access is required so that your network services are accessible and work as expected. For more information about Linux User Management, see Overview
in the OES 2 SP2: Novell Linux User Management Technology Guide.
Figure 15-1 illustrates how Linux User Management controls access to the OES 2 server.
Figure 15-1 LUM Provides POSIX Access for eDirectory Users
The following table explains the information presented in Figure 15-1.
Table 15-1 Linux User Management
Linux requires that all users be defined by standard POSIX attributes, such as username, user ID (UID), primary group ID (GID), password, and other similar attributes.
Users that access a Linux server can be created in two ways:
Locally (on the server): Local users are managed at a command prompt (using commands such as useradd) or in YaST. (See the useradd(8) man page and the YaST online help for more information.) These local users are stored in the /etc/passwd file. (See the passwd(5) man page for more information.)
IMPORTANT:As a general rule on OES 2 Linux servers, the only local user account that should exist is root. All other user accounts should be created in eDirectory and then be enabled for Linux access (LUM). You should never create duplicate local and eDirectory user accounts.
For more information, see Section 6.1, Avoiding POSIX and eDirectory Duplications.
Remotely (off the server): Remote users can be managed by other systems, such as LDAP-compliant directory services. Remote user access is enabled through the Pluggable Authentication Module (PAM) architecture on Linux.
The Linux POSIX-compliant interfaces can authenticate both kinds of users, independent of where they are stored and how they are managed.
The OES 2 user management tools prevent you from creating an eDirectory user named root, thus replacing the root user on an OES 2 Linux server. If root were to be a LUM user and eDirectory became unavailable for some reason, there would be no root access to the system.
Even if eDirectory is not available, you can still log into the server through Novell Remote Manager and perform other system management tasks as the root user.
Novell Linux User Management (LUM) lets you use eDirectory to centrally manage remote users for access to one or more OES 2 Linux servers.
In other words, LUM lets eDirectory users function as local (POSIX) users on an OES 2 Linux server. Access is enabled by leveraging the Linux Pluggable Authentication Module (PAM) architecture. PAM makes it possible for eDirectory users to authenticate with the OES 2 Linux server through LDAP.
In OES, the terms LUM-enabling and Linux-enabling are both used to describe the process that adds standard Linux (POSIX) attributes and values to eDirectory users and groups, thus enabling them to function as POSIX users and groups on the server.
You can use iManager to enable eDirectory users for Linux. For instructions, see About Enabling eDirectory Users for Linux Access.
Some services on an OES 2 Linux server require that eDirectory users be LUM-enabled:
Novell Samba (CIFS) Shares on the Server: Windows workgroup users who need access to Samba shares defined on the server must be LUM-enabled eDirectory users who are configured to access the server. This is because Samba requires POSIX identification for access.
By extension, NetStorage users who need access to Samba (CIFS) Storage Location objects that point to the server must also be LUM-enabled eDirectory users with access to the server.
NOTE:Although Samba users must be enabled for LUM, Samba is not a PAM-enabled service. Logging in to the OES 2 Linux server through Samba does not create a home directory.
Core Linux Utilities Enabled for LUM: These are the core utilities and other shell commands that you can specify during the OES install to be enabled for authentication through eDirectory LDAP. In Linux, these are known as PAM-enabled utilities.
IMPORTANT:Before you accept the default PAM-enabled service settings, be sure you understand the security implications explained in Section 21.2.2, User Restrictions: Some OES 2 Linux Limitations.
The core utilities available for LUM-enablement are summarized in Table 15-2.
Table 15-2 PAM-enabled Services Controlled by LUM
NOTE:Logging in to the OES 2 Linux server through a PAM-enabled service for the first time causes the creation of a home directory on the server.
Novell Remote Manager on Linux: You can access Novell Remote Manager as the following:
The root user with rights to see everything on the Linux server.
A local Linux user with access governed by POSIX access rights. (Having local users in addition to root is not recommended on OES 2 servers.)
A LUM-enabled eDirectory user, such as the Admin user created during the install.
Novell Storage Management Services (SMS) on Linux: You can access SMS utilities as
The root user with rights to see everything on the Linux server.
A local Linux user with access governed by POSIX access rights. (Having local users in addition to root is not recommended on OES 2 servers.)
A LUM-enabled eDirectory user, such as the Admin user created during the install.
Some services do not require eDirectory users to be LUM-enabled for service access:
NetStorage: NetStorage users don’t generally need to be LUM-enabled. However, salvaging and purging files through NetStorage on an NSS volume can only be done by users who are enabled for Linux.
IMPORTANT:Files that are uploaded by non-LUM users via NetStorage are owned, from a POSIX perspective, by the root user. The assumption is that such users are accessing their data on NSS or NCP™ volumes by using an NCP storage location object. In both cases, the Novell Trustee Model applies and POSIX ownership is irrelevant.
If non-LUM NetStorage users are later enabled for Samba access (which includes LUM-enabling) and begin using Samba as a file service, their NetStorage uploaded files are not accessible through Samba until you change POSIX file ownership. Although the Novell implementation of Samba leverages eDirectory for authentication, Samba file and directory access is always controlled by POSIX. The Novell Trustee Model doesn’t apply to Samba.
Both Novell trustee assignments and POSIX file ownership are tracked correctly after users are LUM-enabled.
Although NetStorage doesn’t require LUM-enabled access, the service itself runs as a POSIX-compliant system User (initially a local user on the OES 2 Linux server) who functions on behalf of the end users that are accessing the service.
If NetStorage must access NSS volumes, this local system user must be moved to eDirectory and LUM-enabled because only eDirectory users can access NSS volumes. The OES 2 installation program configures this correctly by default.
For more information, see Section I.0, System User and Group Management in OES 2 SP1.
NSS: eDirectory users that access NSS volumes directly through NCP (the Novell Client™) are not required to be LUM-enabled.
The exception is that if the Salvage feature is used, information on who deleted a file is not tracked unless the user is LUM-enabled. If a non-enabled user deletes a file, Salvage reports that the file was deleted by the server.
Additionally, if any other file access protocol, such as Samba/CIFS, is used to access NSS through the virtual file system layer that makes NSS appear to be a POSIX-compliant file system, then the users must be LUM–enabled.
The following end user services do not require LUM-enabled access:
iFolder 3.7
iPrint
NCP Client to an NCP Volume
NCP Client to an NSS Volume (except deleter tracking for Salvage operations as noted in Services That Do Not Require LUM-Enabled Access But Have Some LUM Requirements)
Novell AFP
Novell CIFS
QuickFinder™
As you plan to LUM-enable users for access to the services that require it, keep in mind that each OES 2 Linux server being accessed must be associated with a LUM-enabled group that the accessing users belong to.
In other words, it is not sufficient to LUM-enable users for access to a single OES 2 Linux server if they need access to multiple servers. An association between the LUM-enabled groups that the users belong to and the eDirectory UNIX Workstation object associated with the server must be formed by using iManager for each server the users need access to. This can be accomplished for multiple servers by using the process described in Enabling Users to Access Multiple OES 2 Linux Servers.
For more information on LUM, see the OES 2 SP2: Novell Linux User Management Technology Guide.
The following sections summarize LUM planning considerations.
When you install Linux User Management on an OES 2 Linux server, the Admin User object that installs LUM is automatically enabled for eDirectory LDAP authentication to the server.
You need to identify the eDirectory users (and groups) who need access to services on OES 2 Linux servers that require LUM-enabled users.
This can be easily determined by doing the following:
Review the information in Services in OES 2 Linux That Require LUM-Enabled Access.
Identify the servers that will run the services mentioned.
On your planning sheets, note the users and groups that you need to enable and the servers you need to enable them to access.
You should also be aware of the system-created users and groups that are LUM-enabled when NSS is installed. For more information, see Section I.0, System User and Group Management in OES 2 SP1.
For coexistence and migration information, see Understanding the Need for Linux Enabling Users
in the Novell Server Consolidation and Migration Toolkit Administration Guide.
The following sections summarize LUM implementation considerations.
You can enable eDirectory users for Linux User Management by using either iManager 2.7 or the nambulkadd command.
iManager: You can enable existing eDirectory users for Linux access by using the Linux User Management tasks in iManager.
You can enable multiple users in the same operation as long as they can be assigned to the same primary LUM-enabled group. The enabling process lets you associate the group with one or more OES 2 Linux servers or Linux workstations. For more information, see Enabling Users to Access Multiple OES 2 Linux Servers.
Samba users are also enabled for Linux access as part of the Samba-enabling process.
nambulkadd: If you have eDirectory users and groups that need to be enabled for Linux access, you can use the nambulkadd command to modify multiple objects simultaneously. For more information, see the OES 2 SP2: Novell Linux User Management Technology Guide.
UNIX Workstationand
Linux WorkstationAre the Same Thing
When you use iManager to manage OES 2 Linux access, you might notice some inconsistencies in naming.
When OES 2 Linux servers are created, a UNIX Workstation - server_name
object is created in eDirectory, where server_name is the DNS name of the OES 2 Linux server. In some places the iManager help refers to these server objects as Linux Workstation
objects.
Both UNIX Workstation
and Linux Workstation
refer to the same eDirectory objects.
IMPORTANT:Users gain server access through their LUM-enabled group assignment rather than through a direct assignment to the UNIX Workstation objects themselves.
You can enable users for access to multiple OES 2 Linux servers by associating the LUM-enabled groups to which the users belong with the UNIX Workstation objects you want users to have access to.
There are two methods for enabling eDirectory groups for Linux access:
The following steps assume that the eDirectory Group objects already exist and that any User objects you want to enable for Linux also exist and have been assigned to the groups.
Log in to iManager as the eDirectory Admin user or equivalent.
Click
> .Browse to and select one or more Group objects, then click
.If you want all users assigned to the group to be enabled for Linux, make sure the
option is selected.Click
twice.Browse to and select one or more UNIX Workstation (OES 2 Linux server) objects, then click
.Click
, click , then click .Novell Linux User Management includes utilities for creating new LUM-enabled groups, and for enabling existing eDirectory groups for Linux access.
The nambulkadd utility lets you use a text editor to create a list of groups you want enabled for Linux access. For more information, see nambulkadd
in the OES 2 SP2: Novell Linux User Management Technology Guide.
IMPORTANT:Be sure to include a blank line at the end of each text file. Otherwise, the last line of the file won’t be processed properly.
The namgroupadd utility lets you create a new LUM-enabled group or enable an existing eDirectory group for Linux access. For more information, see namgroupadd
in the OES 2 SP2: Novell Linux User Management Technology Guide.
There are two methods for enabling eDirectory users for Linux access:
The following steps assume that the eDirectory User objects already exist.
Log in to iManager as the eDirectory Admin user or equivalent.
Click
> .Browse to and select one or more User objects, then click
.Click
.As indicated, you can do the following:
Select and enable an existing eDirectory group for Linux.
Select an eDirectory group that is already enabled for Linux.
Specify the name and context of a new eDirectory group to create and enable for Linux.
Select the option that matches your requirements.
Click
.Browse to and select one or more UNIX Workstation (OES 2 Linux server) objects, then click
.Click
, click , then click .Novell Linux User Management includes utilities for creating new LUM-enabled users, and for enabling existing eDirectory users for Linux access.
The nambulkadd utility lets you use a text editor to create a list of users you want enabled for Linux access. For more information, see nambulkadd
in the OES 2 SP2: Novell Linux User Management Technology Guide.
IMPORTANT:Be sure to include a blank line at the end of each text file. Otherwise, the last line of the file won’t be processed properly.
The namuseradd utility lets you create a single LUM-enabled user or enable an existing eDirectory user for Linux access. For more information, see namuseradd
in the OES 2 SP2: Novell Linux User Management Technology Guide.