- Managing SMB File Sharing and Windows Interoperability in Oracle Solaris 11.4
- Setting Up an Oracle Solaris SMB Server to Manage and Share Files
- Managing SMB Groups
- How to Remove a Member From an SMB Group
How to Remove a Member From an SMB Group
- Become an administrator.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
- Remove a user from the SMB group.
$ smbadm remove-member -m member-name [[-m member-name] ...] group-name
member-name can be specified in the following ways:
[domain-name\]username [domain-name/]username
The domain name is the domain in which the user can be authenticated. By default, the domain name is the name of the domain that you joined.
The backslash (
\
) is a shell special character and must be quoted. For instance, escape the backslash with another backslash: domain\\
username. For more information about handling shell special characters, see the man page for your shell.For example, to remove user
userone
of thesales
domain from thewsales
group, type:$ smbadm remove-member -m sales\\userone wsales
You can remove a local user from an SMB group in workgroup mode by specifying the Oracle Solaris user name rather than the domain name. For example, to remove local user
userone
of thesolarsystem
host from thewsales
group, type:$ smbadm remove-member -m solarsystem\\userone wsales