How to Create a Secure Password

Users are hugely important on a Linux system. We’ll look at how to create a new user, and how and when to use super user privileges, to help make sure that our Linux use is safe. Creating a New User The first thing we’re going to do is create a new user account for ourselves. Running Linux as the root user is really dangerous, as any small mistake can potentially be catastrophic for the whole system. For this reason it’s best to create a new user account and use that when using the system, and only use root user privileges when absolutely necessary. First of all, decide what you want your login name to be. Usually, it’s your first name, perhaps with the first initial of your surname. Don’t start with a number, don’t use spaces or control characters, and it’s best to use all lower case letters. Also, keep it down to no more than eight characters in length. So, if you’re Bill Gates, you might want your Linux login to be billg – or just bill. This is fine as a login, but down the line it might be useful if the user could be identified from a better description. Fortunately, Linux allows us to specify the full name with the user account. To add Bill to the computer, we’d do this: $ useradd -c Bill Gates billg You can use this command to go ahead and create your account now, simply substitute your own name for Bill Gates, and your own choice of login name for billg. For Windows users, note the convention of the $...

Pin It on Pinterest