Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

Logging into the clustershell results in "Could not chdir to home directory /var/home/admin"

Views:
203
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
core
Last Updated:

Applies to

ONTAP

Issue

The following error message is displayed when logging in to the cluster with the admin account:


# ssh admin@10.xx.x.xx
Password:
Could not chdir to home directory /var/home/admin: No such file or directory


The following message might also be observed when logging into the service console:


login: admin
Password:
No home directory.
Logging in with home = "/".

SSH publickey authentication for the admin user account fails and continues to prompt for a password. The following commands and sample outputs show that SSH publickey authentication is enabled for the admin account and a publickey has been installed:

cluster::> security login show -vserver cluster -username admin -application ssh -authmethod publickey

              Vserver: cluster
            User Name: admin
          Application: ssh
Authentication Method: publickey
            Role Name: admin
       Account Locked: -
         Comment Text: -

 

cluster::> security login publickey show -vserver cluster -username admin

Vserver: cluster
UserName: admin            Index: 0
Public Key:
ssh-dss <redacted>
Fingerprint:
<redacted>
Bubblebabble fingerprint:
<redacted>
Comment:
-

 

Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support