electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
Live streaming at radio.electro-music.com

  host / artist show at your time
  Jez Adventures in Sound
Please visit the chat
 Forum index » Instruments and Equipment » OSX as a music workstation
Printer setup suddenly asking for user and password
Post new topic   Reply to topic Moderators: elektro80
Page 1 of 1 [14 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21977
Location: Norway
Audio files: 14

PostPosted: 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
Reply with quote  Mark this post and the followings unread

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.. Shocked 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! Laughing

_________________
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
View user's profile Send private message Visit poster's website
Oskar



Joined: Jul 29, 2004
Posts: 1737
Location: Norway

PostPosted: Sun Jul 19, 2009 4:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21977
Location: Norway
Audio files: 14

PostPosted: Sun Jul 19, 2009 5:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

Shocked
_________________
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
View user's profile Send private message Visit poster's website
seraph
Editor
Editor


Joined: Jun 21, 2003
Posts: 12092
Location: Firenze, Italy
Audio files: 33
G2 patch files: 2

PostPosted: 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
Reply with quote  Mark this post and the followings unread

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" Question

_________________
homepage - blog - forum - youtube

Quote:
Politics is the entertainment division of the military industrial complex - Frank Zappa
Back to top
View user's profile Send private message Visit poster's website
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21977
Location: Norway
Audio files: 14

PostPosted: Mon Jul 20, 2009 12:49 am    Post subject: Reply with quote  Mark this post and the followings unread

Well, sure.. but most likely it is "broken" and if not then the fix won´t do anything wrong anyways.

Idea Did you try this? Very Happy

_________________
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
View user's profile Send private message Visit poster's website
seraph
Editor
Editor


Joined: Jun 21, 2003
Posts: 12092
Location: Firenze, Italy
Audio files: 33
G2 patch files: 2

PostPosted: Mon Jul 20, 2009 1:17 am    Post subject: Reply with quote  Mark this post and the followings unread

elektro80 wrote:

Idea Did you try this? Very Happy

I don't even think about it Wink

_________________
homepage - blog - forum - youtube

Quote:
Politics is the entertainment division of the military industrial complex - Frank Zappa
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20587
Location: The Netherlands, Enschede
Audio files: 148
G2 patch files: 318

PostPosted: Mon Jul 20, 2009 6:11 am    Post subject: Reply with quote  Mark this post and the followings unread

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
Back to top
View user's profile Send private message Visit poster's website
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21977
Location: Norway
Audio files: 14

PostPosted: Mon Jul 20, 2009 6:19 am    Post subject: Reply with quote  Mark this post and the followings unread

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! Very Happy

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
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20587
Location: The Netherlands, Enschede
Audio files: 148
G2 patch files: 318

PostPosted: Mon Jul 20, 2009 6:31 am    Post subject: Reply with quote  Mark this post and the followings unread

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 Rolling Eyes

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
Back to top
View user's profile Send private message Visit poster's website
dewdrop_world



Joined: Aug 28, 2006
Posts: 858
Location: Guangzhou, China
Audio files: 4

PostPosted: Tue Jul 21, 2009 5:35 am    Post subject: Reply with quote  Mark this post and the followings unread

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

_________________
ddw online: http://www.dewdrop-world.net
sc3 online: http://supercollider.sourceforge.net
Back to top
View user's profile Send private message Visit poster's website AIM Address
seraph
Editor
Editor


Joined: Jun 21, 2003
Posts: 12092
Location: Firenze, Italy
Audio files: 33
G2 patch files: 2

PostPosted: Tue Jul 21, 2009 5:54 am    Post subject: Reply with quote  Mark this post and the followings unread

elektro80 wrote:

Idea Did you try this? Very Happy


Shocked

I did Exclamation

Wink

nothing exploded Exclamation

Cool

_________________
homepage - blog - forum - youtube

Quote:
Politics is the entertainment division of the military industrial complex - Frank Zappa
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20587
Location: The Netherlands, Enschede
Audio files: 148
G2 patch files: 318

PostPosted: Wed Jul 29, 2009 5:26 am    Post subject: Reply with quote  Mark this post and the followings unread

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
Back to top
View user's profile Send private message Visit poster's website
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21977
Location: Norway
Audio files: 14

PostPosted: Wed Jul 29, 2009 5:31 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
elektro80
Site Admin


Joined: Mar 25, 2003
Posts: 21977
Location: Norway
Audio files: 14

PostPosted: Wed Jul 29, 2009 5:42 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: elektro80
Page 1 of 1 [14 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Instruments and Equipment » OSX as a music workstation
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
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use