Honored Contributor Honored Contributor
Re: Directory and file permissions

The userdb directory itself:

 

# pwd
/var/adm

# ll -d userdb
drwx------ 2 root sys 8192 Apr 8 13:13 userdb

 

All files in /var/adm/userdb should be owned by root, with sys as the group, and 600 permissions (rw-------).

 

# pwd
/var/adm/userdb

# ll | more
total 32800
drwx------ 2 root sys 8192 Apr 8 13:13 .
drwxr-xr-x 18 adm adm 8192 Jul 12 22:36 ..
-rw------- 1 root sys 65536 Apr 8 13:12 00
-rw------- 1 root sys 65536 Apr 8 13:12 01
-rw------- 1 root sys 65536 Apr 8 13:12 02
-rw------- 1 root sys 65536 Apr 8 13:12 03
-rw------- 1 root sys 65536 Apr 8 13:12 04
-rw------- 1 root sys 65536 Apr 8 13:12 05