Password and printer problems

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Password and printer problems

Postby tonyfromardleigh » Thu Apr 12, 2012 6:52 am

I am new to linux having just installed Ubuntu 11.10 on my PC which also has Vista as a dual boot. I have 2 overlapping problems. When I installed Ubuntu I provided a password for my user - the only user for this OS. I decided I didn't need a password and removed it. Now when asked to authenticate actions I can't. It won't work whether I put my password in or just press enter. Means I can't change anything :(

I have a fairly standard Canon printer (Pixma ip4200). Ubuntu has detected my printer and correctly identified it but won't print anything. The printer dialog box shows the printer as "paused". I can't unlock the dialog box because of the password problem above.

I suspect I will need to go into root or the command line to fix this neither of which I have done. Don't know what the root password is...
tonyfromardleigh
 
Posts: 3
Joined: Thu Apr 12, 2012 6:42 am
Location: Colchester

Postby wyliecoyoteuk » Thu Apr 12, 2012 7:58 am

This may help:
http://www.psychocats.net/ubuntu/resetpassword

If you are a dual booter, this tool may come in handy in the future

http://www.supergrubdisk.org/rescatux/
The sig between the asterisks is so cool that only REALLY COOL people can even see it!

*************** ************
User avatar
wyliecoyoteuk
LXF regular
 
Posts: 3454
Joined: Sun Apr 10, 2005 10:41 pm
Location: Birmingham, UK

Postby tonyfromardleigh » Thu Apr 12, 2012 3:56 pm

The password work round didn't work! Having looked around the internet it seems that Ubuntu locks the root. When I tried to login as root I was prompted for a password... I wouldn't let me use sudo at the command prompt either.

I have reinstalled Ubuntu and it now works fine. Although I haven't done anything different the printer now works :)

I now have 2 copies of Ubuntu on my hard drive, one of which is very limited. I suppose I ought to delete it...
tonyfromardleigh
 
Posts: 3
Joined: Thu Apr 12, 2012 6:42 am
Location: Colchester

Postby wyliecoyoteuk » Thu Apr 12, 2012 4:16 pm

the printer probably failed because the Linux printing system expects an authenticated user (empty password is a nono)
The sig between the asterisks is so cool that only REALLY COOL people can even see it!

*************** ************
User avatar
wyliecoyoteuk
LXF regular
 
Posts: 3454
Joined: Sun Apr 10, 2005 10:41 pm
Location: Birmingham, UK

Postby nelz » Thu Apr 12, 2012 4:51 pm

Setting up a user with no password is a bad idea, and sudo won't allow such a user to perform administrative tasks. If you don't want to type in a password when you login, set up auto-login for the desktop. Then you'll only need your password for adminstrative tasks.

It's a bit late now, but you didn't need to reinstall to fix this, you can rest the password from a live CD. Mount your Ubuntu partition, say at /mnt/ubuntu, and run

Code: Select all
passwd --root /mnt/ubuntu yourusername
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8496
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby tonyfromardleigh » Thu Apr 12, 2012 4:56 pm

Thanks guys. A case of all that ends well...
I didn't realise that no password would cause such problems and Ubuntu willingly offered the option with no warning of the dire consequences.
tonyfromardleigh
 
Posts: 3
Joined: Thu Apr 12, 2012 6:42 am
Location: Colchester

Postby towy71 » Thu Apr 12, 2012 10:54 pm

tonyfromardleigh wrote:willingly offered the option with no warning of the dire consequences.
I don't think Ubuntu offered the option; you were the one that removed the password weren't you?

As the old saying goes: the guy representing himself in court has a fool for a client :roll:
still looking for that door into summer
User avatar
towy71
Moderator
 
Posts: 4263
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

Postby wyliecoyoteuk » Fri Apr 13, 2012 3:32 pm

Think of it as an example of the basic differences between Linux and Windows.
Windows will let anyone mess with your stuff, Linux expects you to act responsibly.
A password is the minimum you should protect your PC with:)

That basic protection is part of the reason why it can actually be quite difficult to catch a virus on Linux.
The sig between the asterisks is so cool that only REALLY COOL people can even see it!

*************** ************
User avatar
wyliecoyoteuk
LXF regular
 
Posts: 3454
Joined: Sun Apr 10, 2005 10:41 pm
Location: Birmingham, UK


Return to Help!

Who is online

Users browsing this forum: No registered users and 7 guests