User Account Setup

Introduction

A good place to put in notes about anything related to accounts in the CSCF context, whether they be user, system, groups, etc. Technical notes. It can also include proposed newer setups such as using Active Directory.

Definition: In a more general context the term account would tend imply the reckoning of a monetary balance, often with a history of credits and debits. In relation to computers, however, account is often used to refer to the login userid which works for some particular computer system whether or not any money is involved. To make things complicated, some software involved with login userid maintenance actually does allow for the use of related monetary accounts.

Account Management Methods

WatIAM Accounts

  • WatIAM Accounts - are required by, but not part of, other accounts maintenance.

Sponsors Data Accounts

Information about most accounts is maintained on the UNIX computer cs-xh-admin.cs.private.uwaterloo.ca in the hierarchical text file data base under the directory /software/accounts-master/data/sponsors. Computer programs are used to update remote machines to reflect the information there. The software itself really only imposes a distinction between two different types of accounts maintenance.
  • Registrar Sponsored Accounts - driven primarily by data automatically received from the Registrar's Office (graduate and undergraduate are not fundamentally different)
  • Other Accounts - no automatic information is used to drive the creation of these accounts; updates must be manual

Any other distinctions arise because of how the users of the software decided to organize their data. Here is an attempted explanation of the organization.

Any account can be associated with multiple groups, primarily for purposes of access control. It's not obvious we've documented details about group creation and maintenance.

Maintaining Specific Types of Accounts

Procedures are determined by a combination of the operating requirements of the sponsors data base software and previously agreed-upon conventions in the organization of the files it uses. Note that in some cases the conventions will have been agreed-upon by only a single person. Also sometimes constraints of other software helped determine the necessary procedures and conventions.

An Assertion of Generality (by AdrianPepper)

Here's another approach to presenting the same information TemplateSponsorDataAccountsCollapsed.

System-wide accounts, generally automated (maintained by AdrianPepper)

Administrative accounts (maintained by everyone now Wendy is gone)

Research accounts (maintained by the Research Support Group)

Creating Truly New Users (Userids)

This has been glossed over. In many cases user names and identification numbers already exist, precreated in WatIAM. In other limited cases, the correct thing to do is create a userid which really should, for various reasons, not be put in WatIAM. And occasionally you need to do things to cause the WatIAM account creation. Perhaps see these notes.

The magic Userids file

But, in any case, before you can use the sponsors data software to create new accounts for a userid, that userid must be defined in the file /software/accounts-userids/data/Userids (on the UNIX computer cs-xh-admin.cs.private.uwaterloo.ca). Often, but not always, that happens automatically. That's why it's magic.

The userinfo command will give no results for the userid if it is not present in this file. That is, if userinfo gives output, you can proceed. If not, more work is needed to get the userid into the file.

If you think you need to modify or create records in this file, see these notes or specifically these.

The old account configuration using the xhier packages setpw

accounts-client dissection

Active Directory

Windows account information is stored in their version of LDAP, called ADS or active directory server, see CSCFActiveDirectory for some notes on how this is done in CSCF.

Using ADS to authenticate Unix hosts

There is a project to have the student region authenticate using Windows Active Directory managed directory services. Basic to this process is Kerberos version 5, see ADAddUbuntu for some notes on how to get Ubuntu Linux to authenticate the ADS in the CS-GENERAL domain which would equally apply to other domains. :
Edit | Attach | Watch | Print version | History: r41 < r40 < r39 < r38 < r37 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r41 - 2021-02-18 - AdrianPepper
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback