Support Center > Search Results > SecureKnowledge Details
60000 / 40000 Appliances - "NMSUSR0056 Cannot add homedir for user USERNAME, homedir already in use" error in Gaia Clish when adding a new user Technical Level
Symptoms
  • "NMSUSR0056 Cannot add homedir for user USERNAME, homedir already in use" error in Gaia Clish when adding a new user with a HOME directory that is already assigned to an existing user.

    Example:
    [Global] HostName> show configuration user
    set user admin shell /bin/bash
    set user admin password-hash fake-hash
    set user monitor shell /bin/gclish
    set user monitor password-hash fake-hash
    add user TestUser1 uid 0 homedir /home/shared_home_directory
    set user TestUser1 gid 0 shell /bin/gclish
    set user TestUser1 password-hash fake-hash
    [Global] HostName> add user TestUser2 uid 0 homedir /home/shared_home_directory
    NMSUSR0056  Cannot add homedir for user TestUser2, homedir already in use
    [Global] HostName>
    
Solution
Note: To view this solution you need to Sign In .