Support Center > Search Results > SecureKnowledge Details
60000 / 40000 Appliances - "/home/<UserName>/.ssh" is a symbolic link to the "/home/admin/.ssh" Technical Level
Symptoms
  • /home/<UserName>/.ssh is a symbolic link to the /home/admin/.ssh directory.

    Example:

    [Global] HostName> add user TestUser1 uid 0 homedir /home/testuser1
    [Global] HostName> set user TestUser1 realname "John Doe"
    [Global] HostName> set user TestUser1 password-hash fake-hash
    [Global] HostName> add rba user TestUser1 roles adminRole
    [Global] HostName> save config
    [Global] HostName> expert
    [Expert@HostName]# cd /home/testuser1/
    [Expert@HostName]# ls -alF
    total 20
    drwxr-xr-x   2 admin root 4096 Mar 28 12:26 ./
    drwxr-xr-x   6 admin root 4096 Mar 28 12:26 ../
    -rw-r--r--   1 admin root   24 Mar 28 12:26 .bash_logout
    -rw-r--r--   1 admin root  176 Mar 28 12:26 .bash_profile
    -rw-r--r--   1 admin root  124 Mar 28 12:26 .bashrc
    lrwxrwxrwx   1 admin root   16 Mar 28 12:26 .ssh -> /home/admin/.ssh/
    
Solution
Note: To view this solution you need to Sign In .