Change or Set User Password in FreeBSD

If you notice, during FreeBSD installation, it doesn’t have a step by step installation guides for creating user’s password for login credential. By default, FreeBSD installation only come with user “root”, and it doesn’t prompts for password setting for default user “root”. After installation, you can login to FreeBSD with user “root”, no password.

So, it’s advise that to set user’s password after installation. You can set or change user’s password in FreeBSD with passwd command.

Try to have your password in alphanumeric combination, meaning alphabets + numbers and at least 6 characters long. You can do some creative password combination like “go2HELL”, “1amN00b1nUn1x”, “BUYm3b33r”, “h3ySumm3rH0t” and etc. Please do remember, the password is case sensitive too.

To Set Password for Default User “root”

To set the password;

  • type: passwd
  • input your password twice

To change your password, use the same command and it will prompt you for current password before putting the new one.

To Set or Change Password for Other Userid

Login as “root” and change user’s password, in example userid foo

  • Type: passwd foo
  • Input your password twice

Related posts:

  1. How to Create User with useradd in FreeBSD You can invoke “adduser” command in FreeBSD in order to...
  2. Create Root Privilege User on MySQL By default, MySQL root privileges user is “root”, I always...
  3. How to Change User’s Shell Environment in FreeBSD In FreeBSD, user’s default shell environment is either sh or...
  4. Reset MySQL Root Password Very often, once we didn’t log on to MySQL database...
  5. Forget / forgot / cannot remember root password On a FreeBSD server 1. reboot server 2. choose to...
  6. How to Change Hostname in Unix FreeBSD We have interesting hostname for our all our servers. Some...
  7. installing postgresql 8.2 on Leopard with macports postgresql! one of my favorite high performance open source db,...
  8. MySQL Quick Installation on FreeBSD Quick installation of MySQL Database on FreeBSD Server. Make sure...
  9. Install MySQL5 Server on Apple Mac Leopard with MacPorts Previously I wrote a post on “installing postgresql 8.2 on...
  10. Install MySQL5 on Mac OSX With Darwin Port Before installing MySQL5, please be sure you have Darwin Port...

Tags: , , ,

Leave a Reply