Author |
Message |
elektro80
Site Admin

Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Thu Jun 11, 2009 3:21 pm Post subject:
Printer setup suddenly asking for user and password Subject description: The solution to the dreaded lpadmin problem in 10.5.7 |
 |
|
Seems like a fair number of you guys have been recently seeing some problems with changing printers or setting up new ones in OS X 10.5.7.
You will get a prompt saying something about "lpadmin permissions" and you enter your admin user and password.. and the problem doesn´t go away.. as this info is discarded.
And yes, I know some of you have been reinstalling the system a trillion times, and even changed disk drives and audio interfaces and RAM and what have you and still not figured out the real problem.
Anyways, what is really needed here is telling the system that it has to update the lpadmin group so it supports the GUID membership scheme. You won´t get access to the printer stuff unless you do so.
You need to start a session in Terminal ( with a user that has admin privs, then you enter this:
dseditgroup -o edit -p -a admin -t group _lpadmin
You will be promted for your admin password, you hit return and the output will look like this:
'_lpadmin' upgraded to new group format in order to support GUID membership
Not experiencing any problems yet? And running a recent version of OS X like 10.5.7?
Do this anyway. You won´t destroy the system if you do so. The output as shown above will show up if the command is needed and the upgrade is actually run. If the command is not needed then you won´t see the output and nothing is actually done.
Scared of typing this in manually? You simply copy/paste the command.
Again:
dseditgroup -o edit -p -a admin -t group _lpadmin
Hurrah!  _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
Back to top
|
|
 |
Oskar

Joined: Jul 29, 2004 Posts: 1751 Location: Norway
|
Posted: Sun Jul 19, 2009 4:47 pm Post subject:
|
 |
|
You crazy boy, you! Ta! _________________ Where there are too many policemen, there is no liberty. Where there are too many soldiers, there is no peace. Where there are too many lawyers, there is no justice.
Lin Yutang (1895-1976) |
|
Back to top
|
|
 |
elektro80
Site Admin

Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Sun Jul 19, 2009 5:04 pm Post subject:
|
 |
|
 _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
Back to top
|
|
 |
seraph
Editor


Joined: Jun 21, 2003 Posts: 12381 Location: Firenze, Italy
Audio files: 33
G2 patch files: 2
|
Posted: Sun Jul 19, 2009 11:22 pm Post subject:
Re: Printer setup suddenly asking for user and password Subject description: The solution to the dreaded lpadmin problem in 10.5.7 |
 |
|
elektro80 wrote: |
Not experiencing any problems yet? And running a recent version of OS X like 10.5.7?
Do this anyway. |
do you know the proverb that says "Don't fix it if it ain't broken"  _________________ homepage - blog - forum - youtube
Quote: | Don't die with your music still in you - Wayne Dyer |
|
|
Back to top
|
|
 |
elektro80
Site Admin

Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Mon Jul 20, 2009 12:49 am Post subject:
|
 |
|
Well, sure.. but most likely it is "broken" and if not then the fix won´t do anything wrong anyways.
Did you try this?  _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
Back to top
|
|
 |
seraph
Editor


Joined: Jun 21, 2003 Posts: 12381 Location: Firenze, Italy
Audio files: 33
G2 patch files: 2
|
Posted: Mon Jul 20, 2009 1:17 am Post subject:
|
 |
|
elektro80 wrote: |
Did you try this?  |
I don't even think about it  _________________ homepage - blog - forum - youtube
Quote: | Don't die with your music still in you - Wayne Dyer |
|
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 24005 Location: The Netherlands, Enschede
Audio files: 274
G2 patch files: 320
|
Posted: Mon Jul 20, 2009 6:11 am Post subject:
|
 |
|
Just like this ?
Code: | Last login: Wed Jul 15 22:47:23 on ttys000
labtobbe4:~ jan$ dseditgroup -o edit -p -a admin -t group _lpadmin
Please enter user password:
'_lpadmin' upgraded to new group format in order to support GUID membership.
labtobbe4:~ jan$
|
or should I have done it as root? _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
elektro80
Site Admin

Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Mon Jul 20, 2009 6:19 am Post subject:
|
 |
|
Blue Hell wrote: | Just like this ?
Code: | Last login: Wed Jul 15 22:47:23 on ttys000
labtobbe4:~ jan$ dseditgroup -o edit -p -a admin -t group _lpadmin
Please enter user password:
'_lpadmin' upgraded to new group format in order to support GUID membership.
labtobbe4:~ jan$
|
or should I have done it as root? |
Right!
And it looks fine to me. You must have logged in with an admin user. _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 24005 Location: The Netherlands, Enschede
Audio files: 274
G2 patch files: 320
|
Posted: Mon Jul 20, 2009 6:31 am Post subject:
|
 |
|
elektro80 wrote: | And it looks fine to me. You must have logged in with an admin user. |
I'm allowed to install stuff and do upgrades, so I guess
Pretty new to to this, and not sure where the user/admin/root boundaries are exactly ... I'm not allowed for instance to make changes to the hosts file, changes there need root privs ... which seems odd coming from windows (even when I can see a point to this). _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
dewdrop_world

Joined: Aug 28, 2006 Posts: 858 Location: Guangzhou, China
Audio files: 4
|
|
Back to top
|
|
 |
seraph
Editor


Joined: Jun 21, 2003 Posts: 12381 Location: Firenze, Italy
Audio files: 33
G2 patch files: 2
|
Posted: Tue Jul 21, 2009 5:54 am Post subject:
|
 |
|
elektro80 wrote: |
Did you try this?  |
I did
nothing exploded
 _________________ homepage - blog - forum - youtube
Quote: | Don't die with your music still in you - Wayne Dyer |
|
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 24005 Location: The Netherlands, Enschede
Audio files: 274
G2 patch files: 320
|
Posted: Wed Jul 29, 2009 5:26 am Post subject:
|
 |
|
dewdrop_world wrote: | Blue Hell wrote: | I'm not allowed for instance to make changes to the hosts file, changes there need root privs ... |
sudo pico /etc/hosts |
Sorry, should have been more clear maybe. I meant that I could not do it with my own account. And indeed pico works great on it once being root. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
elektro80
Site Admin

Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Wed Jul 29, 2009 5:31 am Post subject:
|
 |
|
Doesn´t sudo nano /etc/hosts work? _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
Back to top
|
|
 |
elektro80
Site Admin

Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Wed Jul 29, 2009 5:42 am Post subject:
|
 |
|
Uh.. and you might want to do
lookupd -flushcache
In order to ditch the old stuff and also reload the hosts file. _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
Back to top
|
|
 |
|