Creating an NIS Group
To create an NIS group, you must have create rights to the groups_dir directory of the group's domain. Use the -c option and a fully qualified group name When you create a group, an NIS groups table with the name you have given is created in groups_dir. You can use nisls to confirm that the new group table now exists in groups_dir, and niscat to list the groups members listed in the table. A newly created group contains no members. See Adding Members to an NIS Group on page 320 for information...
Secure RPC Password Versus Login Password Problem
When a principal's login password is different from his or her Secure RPC password, keylogin cannot decrypt it at login time because keylogin defaults to using the principal's login password, and the private key was encrypted using the principal's Secure RPC password. When this occurs, the principal can log in to the system, but for NIS purposes the principal is placed in the authorization class of nobody because the keyserver does not have a decrypted private key for that user. Since most NIS...
How to Replace an Entire Preferred Server List
To replace an entire list of preferred servers for a subnet or machine in either a global client_info table or a machine in its local client_info file, run nisprefadm with the -u option. The -u option operates the same way as the -a option, except that -u first deletes any existing server preferences for the machine or subnet before adding the new ones that you specify. If there are existing preferences, the -a option adds the new ones to the old list. See How to Set Global Preferences for an...
Insufficient Disk Space
Lack of disk space will cause a variety of error messages. A common cause of insufficient disk space is failure to regularly remove tmp files and truncate log files. log and tmp files grow steadily larger unless truncated. The speed at which these files grow varies from system to system and with the system state. log files on a system that is working inefficiently or having namespace problems will grow very fast. Note - If you are doing a lot of troubleshooting, check your log and tmp files...
The Secure RPC Netname and NIS Principal Name
When creating credential information, you will often have to enter a principal's rpc-netname and principal-name. Each has its own syntax Secure RPC netname. A Secure RPC netname is a name whose syntax is determined by the Secure RPC protocol. Therefore, it does not follow NIS naming conventions For users, the syntax is unix.uid domain For machines, the syntax is unix.hostname domain If a Secure RPC netname identifies a user, it requires the user's UID. If it identifies a machine, it requires...
Cannot Truncate Transaction Log File
First, check to make sure that the file in question exists and is readable and that you have permission to write to it. You can use ls var nis trans.log to display the transaction log. You can use nisls -l and niscat to check for existence, permissions, and readability. You can use syslog to check for relevant messages. The most likely cause of inability to truncate an existing log file for which you have the proper permissions is lack of disk space. The checkpoint process first creates a...
19 Administering NIS Tables 345
Using the nistbladm Command With Tables 346 nistbladm Syntax Summary 346 nistbladm and Column Values 347 nistbladm, Searchable Columns, Keys, and Column Values 348 nistbladm and Indexed Names 349 nistbladm and Groups 350 Specifying Table Columns 351 Deleting a Table 353 Adding Entries to a Table 353 Adding a Table Entry With the -a Option 354 Adding a Table Entry With the -A Option 355 Modifying Table Entries 356 Editing a Table Entry With the -e Option 356 Editing a Table Entry With the -E...