LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-14-2010, 01:19 AM   #1
Aruna
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Post Setting password for a user


When I start my ubuntu linux system it automatically logs into a user (not root) in graphical mode and it does not asking for any password. when I try to go to the command prompt the password is required. How do I give password for my user. The provider installed the system and not me..

Last edited by Aruna; 12-14-2010 at 01:33 AM. Reason: more help
 
Old 12-14-2010, 01:24 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,552

Rep: Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899
You should enter the password you gave when setting up the system. This would be the same one you give each time you sudo something or update your system.
 
Old 12-14-2010, 01:24 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Are you using live mode or is it installed? If you installed Ubuntu, then you provided the password and the user name at installation. You need to use the same for logging to command prompt.
The password is already set. But while installing you also set it to log in automatically and not ask for password. You should change the behaviour in the gdm configuration.
If your Ubuntu is 10.10, you can change the behaviour from, System > Administration > Login screen.
 
Old 12-14-2010, 01:35 AM   #4
Aruna
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Original Poster
Rep: Reputation: 0
The provider installed the system and set the password.
 
Old 12-14-2010, 01:40 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
First: Not a good idea to edit your original post once you have got answers. Replying makes more sense.

And who is the provider? What do you mean by that? You can select the single user mode from the grub menu to boot. This will take you to the root shell directly without password. Here you can set password for the users using passwd command.
 
Old 12-14-2010, 02:01 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
You don't need to su to root to change your own (user) password. Since the system is configured to automatically log you in, you can open a terminal and use the `passwd' command to change your own password.

Simply
passwd your_new_password

This may be a good idea. Since you didn't create your own password, someone else may know it.
 
  


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
[SOLVED] Installed newest Ubuntu setting a weak password. Changed password now buggered? lugoteehalt Ubuntu 1 05-29-2010 10:51 PM
simpler GUI password for Administrative tasks while retaining complex user password? workforfood Ubuntu 1 08-29-2009 07:48 AM
Add a user with no password/or user pick password. knockout_artist Linux - Newbie 2 11-26-2007 10:08 AM
I'm having trouble setting up a new user, especially the password donJulio Slackware 8 08-09-2006 03:59 AM
setting user password to mysql!! baby_linu Programming 3 03-09-2004 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:46 AM.

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