s0x IT Services Cloud How to set a password policy for Nextcloud users

How to set a password policy for Nextcloud users

How to set a password policy for Nextcloud users post thumbnail image

Setting a strict password policy on Nextcloud could prevent your user’s accounts from getting hacked. Find out how.

Nextcloud is one of the most flexible, user-friendly, and cost-effective on-premises cloud server solutions you’ll find. Once it’s up and running, you’ll discover there’s not much this platform can’t do. However, there are a few things you should take care of as soon as you have Nextcloud running.

One such task you should immediately handle is the setting of password policies. Fortunately, Nextcloud has this feature built right in, so there’s no need to add a third-party application or even bother with a manual configuration.

SEE: Serverless computing: A guide for IT leaders (TechRepublic Premium)

Why do this?

This question shouldn’t have to be asked. But on the off-chance you are either unsure or you have to convince someone, it’s simple: If left to their own devices, users will opt to go with passwords like password, password123, 12345, etc. That is far from secure and should never be allowed. That’s why you want to enable password policies any chance you can.

With that said, I’m going to walk you through the process of enabling and configuring a password policy for Nextcloud. 

What you’ll need

The only things you’ll need for this process are:

How to enable the Password Policy

Log into your Nextcloud instance as an admin user. Click on your profile image in the upper right corner and then click Settings (Figure A).

Figure A

<a href="http://s0x.org/wp-content/uploads/2019/12/how-to-set-a-password-policy-for-nextcloud-users.jpg" target="_blank" data-component="modalEnlargeImage" data-headline="

The Settings entry in the Nextcloud menu.

” data-credit rel=”noopener noreferrer nofollow”>nppa.jpg

The Settings entry in the Nextcloud menu.

In the resulting window, click Security in the left navigation (Figure B).

Figure B

<a href="http://s0x.org/wp-content/uploads/2019/12/how-to-set-a-password-policy-for-nextcloud-users-1.jpg" target="_blank" data-component="modalEnlargeImage" data-headline="

The Security entry in the Nextcloud sidebar.

” data-credit rel=”noopener noreferrer nofollow”>nppb.jpgnppb.jpg

The Security entry in the Nextcloud sidebar.

Scroll down to the Password Policy entry (Figure C).

Figure C

<a href="http://s0x.org/wp-content/uploads/2019/12/how-to-set-a-password-policy-for-nextcloud-users-2.jpg" target="_blank" data-component="modalEnlargeImage" data-headline="

The Password Policy configuration section.

” data-credit rel=”noopener noreferrer nofollow”>nppd.jpgnppd.jpg

The Password Policy configuration section.

Make sure that Forbid Common Passwords is enabled–that should be considered an absolute must. I would also suggest enabling the following (at a minimum):

If you’re serious about the security of your Nextcloud cloud server, I would suggest enabling each option in the Password Policy section. Yes, it might cause a bit of frustration with your users, but it will certainly add a much-needed boost to the security of your Nextcloud instance. 

The caveat

This is a big one, so pay attention. If you already have users on your Nextcloud instance, and you change the password policy configuration, those old user passwords will still work. In other words, the new password policy will only apply to new users. Because of this, you have two choices:

  1. Make sure to set the password policy as soon as you deploy Nextcloud.
  2. After setting the password policy, make sure you send word out to current users to manually update their passwords according to the policy. 

Here are the steps for users to change their passwords:

  1. Click the profile image in the upper right corner.
  2. Click Settings.
  3. Click Security in the sidebar.
  4. Under Password (Figure D), type and verify the new password (that conforms to the new policy).
  5. Click Change Password.

Figure D

<a href="http://s0x.org/wp-content/uploads/2019/12/how-to-set-a-password-policy-for-nextcloud-users-3.jpg" target="_blank" data-component="modalEnlargeImage" data-headline="

The user password change feature.

” data-credit rel=”noopener noreferrer nofollow”>nppf.jpgnppf.jpg

The user password change feature.

Hopefully, once all of your legacy users have changed their passwords, to conform with the new rules, everyone on the system will enjoy a much more protected account on your Nextcloud server.

Also see


Image: Jack Wallen

Related Post

Slack stock downgraded as lockdown growth stallsSlack stock downgraded as lockdown growth stalls

<div class="teaser-image"> <a href="/collaboration/productivity/8799/slack-stock-downgraded-as-lockdown-growth-stalls"><img src="http://s0x.org/wp-content/uploads/2020/10/slack-stock-downgraded-as-lockdown-growth-stalls-1.jpg" /></a> </div> <span class="field field-name-field-article-type field-type-taxonomy-term-reference field-label-hidden"> <span class="field-item even"><a href="/news">News</a></span> </span><div class="field field-name-field-published-date field-type-datetime field-label-hidden"> <div class="field-items"> <div class="field-item even"><span class="date-display-single">22 Oct, 2020</span></div> </div></div><span