Holy Crap I Fixed Something with Terminal!

Posted:
in macOS edited January 2014
OK, so I am kind of proud of myself here. I have had ZERO experience in the command line environment until today. But I encountered a problem with adding a printer on my new MBP today....



Issue: When trying to add a printer through Bonjour, I got a message saying I needed to type the name and password of a user in the "lpadmin" group. I had access to every other part of the system. When prompted for my password in other areas, I was asked for mine as the system admin. But not in this area. It said that the addprint app needed this permission. My name and pass were rejected.



I had no idea what lpadmin meant, but I figured it was a permissions issue of some kind. I tried repairing permissions, restarting, even resetting the print system. No dice. So, after some research, I found this doc at Apple. I copied and pasted the code, putting my full username for "admin" and my short name for "student." I was prompted for my admin password, and then pressed enter.



Bingo! Issue fixed. Quite impressed with myself, actually. And, the experience got me interested in the terminal. Think I'll see what other mods I can make...carefully.



Anyone else had this issue?

Comments

  • Reply 1 of 4
    mr. hmr. h Posts: 4,870member
    Well done!



    Quote:
    Originally Posted by SDW2001 View Post


    I have had ZERO experience in the command line environment until today.



    start here: http://www.osxfaq.com/Tutorials/LearningCenter/ it's old, but everything in the intro section is still relevant. If anything talks about the netinfo database, ignore it as 10.5 did away with that and replaced it with something else.



    after that http://www.macosxhints.com often has hints based on doing stuff in terminal. Their forums can be quite useful too.



    Enjoy!
  • Reply 2 of 4
    aizmovaizmov Posts: 989member
    Whoa! This was your first time using the Terminal!! How long have you been using OS X?





    Terminal was the first app I popped up in OS X, can't help it, since I have had experience with UNIX and look-a-likes before OS X, and doing things in Terminal was easier for me than finding my way around OS X.



    OS X is UNIX, most of what's here should work:

    http://elqui.dcsc.utfsm.cl/util/unix...Utilities.html
  • Reply 3 of 4
    s.metcalfs.metcalf Posts: 972member
    Congratulations! It sure is satisfying when you can do something in the terminal you can't in the Finder. You'll want to use the man command to read up about commands in the Terminal. To use it simply type "man" followed by the command you're interested in such as ls (list)...eg "man ls" and it will tell you about all the options you can use with that command.



    Quote:
    Originally Posted by Aizmov View Post


    Whoa! This was your first time using the Terminal!! How long have you been using OS X?





    Terminal was the first app I popped up in OS X, can't help it, since I have had experience with UNIX and look-a-likes before OS X, and doing things in Terminal was easier for me than finding my way around OS X.



    OS X is UNIX, most of what's here should work:

    http://elqui.dcsc.utfsm.cl/util/unix...Utilities.html



  • Reply 4 of 4
    sdw2001sdw2001 Posts: 18,016member
    Quote:
    Originally Posted by Aizmov View Post


    Whoa! This was your first time using the Terminal!! How long have you been using OS X?





    Terminal was the first app I popped up in OS X, can't help it, since I have had experience with UNIX and look-a-likes before OS X, and doing things in Terminal was easier for me than finding my way around OS X.



    OS X is UNIX, most of what's here should work:

    http://elqui.dcsc.utfsm.cl/util/unix...Utilities.html



    Uh...since 10.1, actually. But I don't have UNIX experience and I've had little to no reason to try.
Sign In or Register to comment.