Securely Installing and Using FTP on Linux

First, install VSFTP (Very Secure File Transfer Protocol) using the following command: Now edit the vsftpd.conf file to perfect the setup of VSFTP open the file using You should be shown something similar to below: Make the following changes to the configuration file… anonymous_enable=NO local_enable=YES write_enable=YES chroot_local_users=YES now add the following lines to the bottom … More Securely Installing and Using FTP on Linux

Create, Store & Use Encrypted Passwords With PowerShell

This is just a neat little “tactic” I use when I need to connect to the same machine over and over again but don’t want to drive myself insane with having to constantly enter the same username and password. For example, when testing a script. First you need to enter your password, in plain text, … More Create, Store & Use Encrypted Passwords With PowerShell

PowerShell WinForm to get SharePoint User Group Membership

This is a script I created so that I could get the groups that a SharePoint user was a member of. This made it much easier when cleansing the system of people that had left the company. For some reason SharePoint doesn’t do this, even when it can’t find the user in Active Directory… Don’t … More PowerShell WinForm to get SharePoint User Group Membership

Resetting pwdLastReset Attribute in Active Directory

This sort of thing is useful if you have a bunch of users that have passwords which are set to not expired, but then you decide that they do need to expire. But if you simply untick the “Password doesn’t expired” attribute then it will instantly make them change their password because the “pwdLastSet” date … More Resetting pwdLastReset Attribute in Active Directory

Windows Favourites Folder Spelt “Favorites”

Something a little off topic today. Windows naming is weird… that’s it. I found this when trying to run a RoboCopy script to back-up my favourites “Internet Explorer” (Award winning, grama nominated, amazing browser). This is what my script for RoboCopy used to look like. I was getting Error 2, path not found. Little did … More Windows Favourites Folder Spelt “Favorites”