InfoCenter Home > 5.2.2.1: Structure of the example registryThe registry used in this example consists of two text files. These files are variants of the UNIX /etc/password and /etc/group files. The file containing user information is called users.props, and the file containing group information is called groups.props. The user-information fileEntries in the users.props file consist of the following fields, separated by the colon (:) character:
In this simple registry, the passwords are simply stored as cleartext fields; the passwords are not encrypted. Any lines that begin with the hash (#) character are considered comments and ignored. Figure 3 shows a sample user-information file.
Figure 3. The example users.props file # User-information file # Format: username:password:UID:GID[, GID]*:annotation bob:bob1:123:567:bob dave:dave1:234:678: jay:jay1:345:678,789:Jay-Jay ted:ted1:456:678:Teddy G jeff:jeff1:222:789:Jeff vikas:vikas1:333:789:vikas bobby:bobby1:444:789:
The group-information fileEntries in the groups.props file consist of the following fields, separated by the colon (:) character:
Any lines that begin with the hash (#) character are considered comments and ignored. Figure 4 shows a sample group-information file.
Figure 4. The example groups.props file # Group-information file # Format: groupname:GID:username[, username]*:annotation admins:567:bob:Administrative group operators:678:jay,ted,dave:Operators group users:789:jay,jeff,vikas,bobby: |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|