What is the impact of disabling the default UNIX user?
Applies to
- ONTAP 9
- CIFS
- UNIX security style
Answer
- By default, CIFS/SMB uses the UNIX identity
pcuseras a fallback for Windows users who do not have an explicit WIN-to-UNIX name mapping.- When access occurs through this fallback mechanism, file operations inherit the permissions of the
pcuseraccount.
- When access occurs through this fallback mechanism, file operations inherit the permissions of the
- If the fallback is disabled by setting the default UNIX user to an empty string, any Windows user without a valid UNIX mapping will be denied access.
- This configuration enhances security by enforcing strict identity mapping but may also disrupt access if mappings are incomplete or misconfigured.
- Potential Risks:
- Users currently relying on
pcuserfor access will be blocked. - Misconfigured LDAP or name mapping services may prevent legitimate users from connecting.
- Guest or anonymous access will no longer function.
- Users currently relying on
- Best Practices:
- Ensure LDAP and name mapping services are properly configured and tested.
- Use 1:1 WIN-to-UNIX username mappings wherever possible.
- Validate changes in a staging environment before applying them in production.
- Monitor SECD logs and use diagnostic tools to identify and resolve access issues.
