Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Password and printer problems

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
tonyfromardleigh



Joined: Thu Apr 12, 2012 7:42 am
Posts: 3
Location: Colchester

PostPosted: Thu Apr 12, 2012 7:52 am    Post subject: Password and printer problems Reply with quote

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 Sad

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...
Back to top
View user's profile Send private message
wyliecoyoteuk
LXF regular


Joined: Sun Apr 10, 2005 11:41 pm
Posts: 3422
Location: Birmingham, UK

PostPosted: Thu Apr 12, 2012 8:58 am    Post subject: Reply with quote

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!

*************** ************
Back to top
View user's profile Send private message
tonyfromardleigh



Joined: Thu Apr 12, 2012 7:42 am
Posts: 3
Location: Colchester

PostPosted: Thu Apr 12, 2012 4:56 pm    Post subject: Reply with quote

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 Smile

I now have 2 copies of Ubuntu on my hard drive, one of which is very limited. I suppose I ought to delete it...
Back to top
View user's profile Send private message
wyliecoyoteuk
LXF regular


Joined: Sun Apr 10, 2005 11:41 pm
Posts: 3422
Location: Birmingham, UK

PostPosted: Thu Apr 12, 2012 5:16 pm    Post subject: Reply with quote

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!

*************** ************
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8364
Location: Warrington, UK

PostPosted: Thu Apr 12, 2012 5:51 pm    Post subject: Reply with quote

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:
passwd --root /mnt/ubuntu yourusername

_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
tonyfromardleigh



Joined: Thu Apr 12, 2012 7:42 am
Posts: 3
Location: Colchester

PostPosted: Thu Apr 12, 2012 5:56 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
towy71
Moderator


Joined: Wed Apr 06, 2005 3:11 pm
Posts: 4242
Location: wild West Wales

PostPosted: Thu Apr 12, 2012 11:54 pm    Post subject: Reply with quote

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 Rolling Eyes
_________________
still looking for that door into summer
Back to top
View user's profile Send private message
wyliecoyoteuk
LXF regular


Joined: Sun Apr 10, 2005 11:41 pm
Posts: 3422
Location: Birmingham, UK

PostPosted: Fri Apr 13, 2012 4:32 pm    Post subject: Reply with quote

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!

*************** ************
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast