Check: GEN006120
      
      
        
  VMware ESX 3 Server:
  GEN006120
  
    (in version v1 r2)
  
      
      
    
  Title
The /etc/smb.conf file must be group-owned by root, bin, or sys. (Cat II impact)
Discussion
If the group owner of the smb.conf file is not root or a system group, the file may be maliciously modified and the Samba configuration could be compromised.
Check Content
Check the group ownership of the smb.conf file. Procedure: # find / -name /etc/samba/smb.conf # ls -l <smb.conf file> If an smb.conf file is not group-owned by root, bin, or sys, this is a finding
Fix Text
Change the group owner of the smb.conf file. Procedure: # chgrp root smb.conf
Additional Identifiers
Rule ID: SV-1056r2_rule
Vulnerability ID: V-1056
Group Title: GEN006120
Expert Comments
      
        
        
      
      
        
  CCIs
      
      
        
        
      
    
  | Number | Definition | 
|---|---|
| CCI-000225 | 
           Employ the principle of least privilege, allowing only authorized accesses for users (or processes acting on behalf of users) which are necessary to accomplish assigned organizational tasks.  | 
      
      
        
        
      
      
        
  Controls
      
      
        
        
      
    
  | Number | Title | 
|---|---|
| AC-6 | 
           Least Privilege  |