[20] Results

Linux : How to set root password in Linux Mint

linux-mint sudo root-password

Alright, just a minor note for my own future reference. Just received my Dual Band USB Adapter today and encounter….... read more

Fix ERROR 1045 (28000): Access denied for user 'root'@'ip-address' (using password: YES)

mysql mariadb access-denied root

Problem :

It is a standard procedure for database administrator to ssh into database server and work on localhost level.….... read more

Golang : Securing password with salt

golang password salt sha1

Every now and then we will hear some companies or banks database got compromised and the hackers will publish the….... read more

Nginx : Password protect a directory/folder

password nginx htpasswd

Problem :

You want to protect a directory that only certain individuals with the right password can access via a….... read more

Golang : Get password from console input without echo or masked

golang password masking

Found this package https://github.com/howeyc/gopass that allows Golang developers to build text based application that takes in password without….... read more

Golang : Force your program to run with root permissions

golang sudo root permissions exec id


Because of security requirements, you need to create programs that can only be executed with the proper root permissions.….... read more

Golang : Quadratic example

golang quadratic math-square-root parsefloat

Here is a simple tutorial on how to perform quadratic calculation with Golang. This program accepts two floating point values….... read more

Golang : Bcrypting password

golang password salt bcrypt

From my past tutorial on salting password, a reader pointed out that there is a better way to….... read more