LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2010, 10:39 AM   #1
thedoctor
Member
 
Registered: Jan 2010
Posts: 47

Rep: Reputation: 15
Reseting Password


In Ubuntu 9.10 is there a way of setting the password to only three characters.

If one goes to system, Preferences, About Me, the password can be reset, but it only lets you set it to eight characters, I would prefer three or less.

Can this be done through terminal.


Thanks
 
Old 02-07-2010, 10:51 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
3-character password? really, REALLY, bad idea!!

To set the password in the terminal:
sudo passwd <username>
 
Old 02-07-2010, 12:42 PM   #3
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,038

Rep: Reputation: 97
Quote:
Originally Posted by thedoctor View Post
I would prefer three or less.
Why would you want to compromise your systems security like that?

Passwords are supposed to be hard to guess!
 
0 members found this post helpful.
Old 02-07-2010, 07:28 PM   #4
hardly
LQ Newbie
 
Registered: Jan 2009
Location: Tulsa, OK
Distribution: Fedora, Ubuntu
Posts: 18

Rep: Reputation: 0
pixellany, I would not have mentioned sudo in this situation.

A user can change their password by issuing the passwd command all by it's self.

OP, Linux is not for people with 3 letter passwords.
You had the option of logging in automatically when you installed. I imagine this is what you are trying to speed up, the login process?

Bottom line, pick a strong password that you will not forget.
 
0 members found this post helpful.
Old 02-07-2010, 08:50 PM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
You really cannot remember an 8 char password?
well just in case, just type passwd and enter your new password.
 
Old 02-08-2010, 10:59 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by hardly View Post
pixellany, I would not have mentioned sudo in this situation.
A user can change their password by issuing the passwd command all by it's self.
Of course!! However, the general solution for changing any user's password is to first "su" to root**. It is also better practice to always specify the username---what if you want to change your password, but you forget that you are logged in as another user?

sudo may not be necessary in this case, but it certainly does no harm

**Or--in the absurd Ubuntu Universe--use sudo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in reseting password for linux mint johnsmith2020 Linux - Newbie 1 01-15-2010 05:45 PM
reseting passwd of another OS binary_dreamer Ubuntu 3 10-24-2008 11:57 AM
Reseting Root Password SBN Linux - Security 3 09-16-2007 09:56 PM
ssh reseting mwagz Debian 3 04-01-2007 11:14 AM
Reseting All Permissions Josh100 Linux - Newbie 2 03-29-2006 09:34 AM


All times are GMT -5. The time now is 09:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration