Microsoft Virtualization Discussions

cifs setup requires changing root password

jon_presti

So, when running cifs setup to enter into a workgroup mode, it requires me to change the root password.  I am certain I am missing something small here but, thought I would ask.

Thanks,

Presti

1 ACCEPTED SOLUTION

timothyn

Hi Presti,

I'm not sure if this is a PowerShell related question, but yes the "cifs setup" command does require a password change if the /etc/passwd file does not exist.  If you use the DataONTAP PowerShell toolkit, you can create this file with the "New-NaCifsPasswordFile" cmdlet without needing to change the root password.  Alternatively you could create the file at the storage prompt using the wrfile command with the text from another controller.

That file is commonly used to map usernames to user IDs, but the passwords are ignored unless you have a service (e.g. cifs, ftp) configured to use passwd authentication.

Regards,

Eric

View solution in original post

2 REPLIES 2

tsentekin

Alternatively on the filer there's a security policy option :

if you switch "options security.passwd.rules.enable" to off, CIFS won't ask for a password during setup, preferably you can later turn this option to on again.

timothyn

Hi Presti,

I'm not sure if this is a PowerShell related question, but yes the "cifs setup" command does require a password change if the /etc/passwd file does not exist.  If you use the DataONTAP PowerShell toolkit, you can create this file with the "New-NaCifsPasswordFile" cmdlet without needing to change the root password.  Alternatively you could create the file at the storage prompt using the wrfile command with the text from another controller.

That file is commonly used to map usernames to user IDs, but the passwords are ignored unless you have a service (e.g. cifs, ftp) configured to use passwd authentication.

Regards,

Eric

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public