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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-07-2010, 09:39 AM
|
#1
|
Member
Registered: Jan 2010
Posts: 47
Rep:
|
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
|
|
|
02-07-2010, 09:51 AM
|
#2
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
3-character password? really, REALLY, bad idea!!
To set the password in the terminal:
sudo passwd <username>
|
|
|
02-07-2010, 11:42 AM
|
#3
|
Senior Member
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039
Rep:
|
Quote:
Originally Posted by thedoctor
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.
|
02-07-2010, 06:28 PM
|
#4
|
LQ Newbie
Registered: Jan 2009
Location: Tulsa, OK
Distribution: Fedora, Ubuntu
Posts: 18
Rep:
|
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.
|
02-07-2010, 07:50 PM
|
#5
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
|
You really cannot remember an 8 char password?
well just in case, just type passwd and enter your new password.
|
|
|
02-08-2010, 09:59 AM
|
#6
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by hardly
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
|
|
|
All times are GMT -5. The time now is 01:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|