[Previous] [Next] [Contents] [Index]
For information on how to configure DFS, see the Gradient DFS for Tru64 UNIX Configuration Guide.
The last section in this chapter identifies solutions to some common problems you might encounter using DFS.
8.2 Using Tru64 UNIX ACLs
Tru64 UNIX supports the use of generic ACLs on its two supported filesystems (UFS and AdvFs). The ACLs follow the POSIX model, providing a sequence of ACL entries, each consisting of a tag (type), an identifier for entries whose type requires it, and a set of permission bits.
Tag | Identifier | Permission Bits |
---|---|---|
user
|
uid
|
rxw
|
group
|
gid
|
rxw
|
user_obj
|
|
rxw
|
group_obj
|
|
rxw
|
other_obj
|
|
rxw
|
Default ACLs for containers and objects are created following the same method as in the standard DCE DFS implementation.
8.2.1 Tru64 UNIX ACL Limitations
Tru64 UNIX ACLs lack the following functionality that is available with generic DCE ACLs:
Gradient DCE for Tru64 UNIX handles these ACL limitations by providing appropriate responses to administrative or user actions that involve Tru64 UNIX ACLs. People or programs that use or administer DFS proceed as normal DCE clients. A transparent translation layer in DCE DFS intercepts and deals with ACL operations.
8.2.2 DCE Responses to Tru64 UNIX ACL Operations
Unsupported operations such as adding an entry for foreign_user, or group_delegate return an error.
Some operations are partially supported. Tru64 UNIX provides appropriate responses to certain operations even though the features for their support is lacking from the Tru64 UNIX ACLs. For example, a user attempts to delete a file from DFS. Normally, DFS requires the d (delete) permission but Tru64 UNIX performs the delete operation if the user has write permission on the file.
8.2.3 Mapping between DCE ACLs and Tru64 UNIX ACLs
Tru64 UNIX ACL Bits | DCE ACL Bits | |
---|---|---|
file | directory | |
r
|
r
|
r
|
w
|
cw
|
cwid
|
x
|
x
|
x
|
cd /usr/sys/
conf
dbx -k vmunix
patch dfs_acls_enabled = 0
quit
where conf is the name of the configuration you chose when executing doconfig. After disabling ACL, any remote ACL operations on DFS files return ENOTTY errors.
8.3 NFS-DFS Secure Gateway Server Administration
The NFS-DFS Secure Gateway server does not support the dfs_login and dfs_logout programs. For authenticated access to DFS, users of DCE-unaware NFS clients must authenticate to DCE from the Gateway Server machine using a dfsgw add operation. Refer to the OSF DCE DFS Administration Guide and Reference for information about authenticating from a Gateway Server machine.
8.4 DFS Backup
DFS in Gradient DCE for Tru64 UNIX relies on Tru64 UNIX built-in file system backup rather than using the backup facility included with OSF DFS. Refer to your Tru64 UNIX documentation for instructions on using the Tru64 UNIX file system backup facility.
8.5 Solutions to Common Problems with DCE DFS
Here are solutions to a few common problems that you may encounter with DCE DFS.
8.5.1 Running Commands Requiring the setuid Feature
Commands that use the setuid feature (for example, the ps command) do not execute properly if used from the DFS namespace. Before running the commands, you must enable the setuid functionality on a per fileset basis by issuing the cm setsetuid command. Issue this command on each machine that needs to use these setuid commands after DFS has started, that is, after the system is in multiuser mode. See cm setsetuid(8dfs) in the OSF DCE DFS Administration Guide and Reference for more information.
8.5.2 Running cron Jobs with DCE Credentials
The solution consists of two parts:
dcecp -c keytab create princ.keytab \
-storage /path/name/of/keytab \
-data {princ plain 1 password}
5 20 * * 1-5 dce_login princ -k /path/name/of/keytab \ -e /path/name/of/
script
to run the indicated script with the credentials of princ at 8:05 p.m.,
Monday through Friday.
You can verify that the first step above worked by issuing the following command:
dce_login princ -k /path/name/of/keytab -e klist
and making sure that the principal listed is indeed princ.
[Previous] [Next] [Contents] [Index]
To make comments or ask for help, contact support@entegrity.com.