5.4 New and Modified Files

The following sections describe the files that are added or modified during the installation of the Novell Client for Linux.

5.4.1 Configuration Files

Table 5-3 New and Modified Configuration Files

File

New

Modified

Description

$HOME/.novell/ncl/StartupLogin.conf

X

Local user autologin configuration file. All fields in the Novell Login dialog box (except the password) are stored in this file.

$HOME/.novell/ncl/MapDrives.conf

This user configuration file specifies the drive mapping to run at startup. Integrated login is not required, but credentials must be saved or the login dialog box is displayed to get the password at desktop startup.

/etc/opt/novell/ncl/login.conf

Optional global configuration file that overrides defaults. This file is modified only by the root user, normally with YaST through the Novell Client Configuration Wizard for the login page (click the Novell Tray icon, select System Settings, and start the Login wizard).

5.4.2 PAM Login Files

Table 5-4 New and Modified PAM Login Files

File

New

Modified

Description

/lib/security/pam_ncl_autologin.so

X

This file queries CASA credentials, verifies if autologin is allowed, verifies the user with credentials, then authenticates.

/etc/pam.d/xdm

X

PAM configuration file for the X Display Manager login.

/etc/pam.d/gdm

X

PAM configuration file for the GNOME* Display Manager login.

/etc/pam.d/kdm

X

PAM configuration file for the KDE Display Manager login.

/etc/pam.d/sshd

 

X

PAM configuration file for SSH login.

A “required” authentication module is added for each of the above GUI logins. The added text is auth required pam_ncl_autologin.so, which is added after the pam_micasa.so module (if it exists).

Authentication is not added for the two console login authentication files, /etc/pam.d/login and /etc/pam.d/sshd. This modification is done at install time and is removed at uninstall time.

IMPORTANT:For the root user, no tree authentication is performed, no automatic login scripts are run, and no drives are mapped. Therefore, the pam_ncl_autologin.so module always returns SUCCESSFUL, having done nothing for the root user.

5.4.3 User Profile Startup Files

Table 5-5 New and Modified User Profile Startup Files

File

New

Modified

Description

/etc/profile.d/novell-ncl-autologin.sh

X

This script determines if the desktop is GNOME or KDE, then installs (or removes) the session startup file ($HOME/.kde/Autostart/ncl_autologin.desktop or $HOME/.gnome2/session-manual) for that Display Manager.

/opt/novell/ncl/bin/ncl_autologin.desktop

This file is copied to $HOME/.kde/Autostart and runs ncl_autologin.

5.4.4 KDE and GNOME Desktop Startup Files

Table 5-6 New or Modified Desktop Startup Files

File

New

Modified

Description

$HOME/.kde/Autostart/ncl_autologin.desktop

X

 

KDE startup for ncl_autologin.

$HOME/.gnome2/session-manual

 

X

GNOME startup for ncl_autologin.

/opt/novell/ncl/bin/ncl_autologin

X

 

Validates and runs nwlogin or gnwlogin.

/opt/novell/ncl/bin/nwlogin

 

This existing file silently authenticates and processes scripts.

/opt/novell/ncl/bin/gnwlogin

 

X

GUI for authentication, processing scripts, and saving settings. This file adds a new tab (called Startup) to the Novell Login dialog box, which allows users to save their current login settings for use during the next system startup to automatically log in the user.

When the user clicks Clear Profile on the Startup tab, the $HOME/.novell/ncl/StartupLogin.conf file is deleted.

When the user clicks Save Current Profile, the settings are used to authenticate the user (but not run login scripts). If authentication is successful (CASA stores those credentials), the current settings are written to StartupLogin.conf.

5.4.5 Installation Files

Table 5-7 New Installation Files

File

New

Modified

Description

/opt/novell/ncl/bin/delete_login_profiles

X

Run from YaST to purge all profiles.

/opt/novell/ncl/bin/login_cfg_pam

X

Inserts pam_ncl_autologin into PAM file.

/opt/novell/ncl/bin/login_ucfg_pam

X

 

Removes pam_ncl_autologin from PAM file.