Creating a local CIFS user

Article:HOWTO59952  |  Created: 2011-10-20  |  Updated: 2012-02-03  |  Article URL http://www.symantec.com/docs/HOWTO59952
Article Type
How To


Environment

Subject


Creating a local CIFS user

To create the new local CIFS user

  • To create a local CIFS user, enter the following:

    CIFS> local user add username [grouplist] 

    where username is the name of the user. The grouplist is a comma-separated list of group names.

    For example:

    CIFS> local user add usr1 grp1,grp2
    Adding USER : usr1
    Success: User usr1 created successfully

To set the local user password

  • To set the local password, enter the following:

    CIFS> local password username

    where username is the name of the user whose password you are changing.

    For example, to reset the local user password for usr1, enter the following:

    CIFS> local password usr1
    Changing password for usr1
    New password:*****
    Re-enter new password:*****
    Password changed for user: 'usr1'

To display the local CIFS user(s)

  1. To display local CIFS users, enter the following:

    CIFS> local user show [username]

    where username is the name of the user.

    For example, to list all local users:

    CIFS> local user show
    List of Users
    -------------
    usr1
    usr2
    usr3
  2. To display one local user, enter the following:

    CIFS> local user show usr1
    Username      : usr1
    UID           : 1000
    Groups        : grp1

To delete the local CIFS user

  • To delete a local CIFS user, enter the following:

    CIFS> local user delete username

    where username is the name of the local user you want to delete.

    For example:

    CIFS> local user delete usr1
    Deleting User: usr1
    Success: User usr1 deleted successfully

To change a user's group membership

  • To change a user's group membership, enter the following:

    CIFS> local user members username grouplist

    where username is the local user name being added to the grouplist. Group names in the grouplist must be separated by commas.

    For example:

    CIFS> local user members usr3 grp1,grp2
    Success: usr3's group modified successfully

Legacy ID



v19923496_v64777215


Article URL http://www.symantec.com/docs/HOWTO59952


Terms of use for this information are found in Legal Notices