How do I make myself a "super user"

I am experiencing the same problem other user had :

http://discussions.apple.com/message.jspa?messageID=6791292#6791292

"After performing a full restore via Time Machine, the following error message appears constantly in my console:

3/8/08 9:48:00 PM com.apple.launchd[1] (org.postfix.master) Failed to count the number of files in "/var/spool/postfix/maildrop": No such file or directory"

I tried to execute this fix:

"THE FIX:
Open terminal make sure you are at root directory and type:
sudo mkdir /var/spool/postfix enter
<password> enter
postfix stop enter
postfix start enter

The postfix folder is created and the directories are rebuilt."

When I entered the command "postfix stop" and pressed enter, I got the message saying I was not a "supper user"


How do I make sure I'm at the root directory?

Posted on May 18, 2008 5:59 PM

Reply
12 replies

Jul 27, 2008 8:15 AM in response to Rachael Jellicoe

Hi Rachael,

That should have worked. There must have been some slight problem with the OS that resetting your password cleared up.

It also does depend on how many commands you've entered in a row that would normally require authorization. If I remember correctly, you can type in up to 5 commands after the initial sudo request. After that, your account automatically falls back to standard access and would require another sudo command. Even in the same Terminal session.

Jul 27, 2008 12:13 PM in response to Kurt Lang

The sudo command failed on the first try to remove the files so I had to shoot for su. Do you use the sudo command in a line of it's own or do you use in with the command you want to use like "sudo rm /var/log/*.out". If that was the case then I was using it wrong. I looked up the sudo command and most of what I was reading went way way over my head.

Thanks for the help.

Rachael

Jul 27, 2008 12:59 PM in response to Kurt Lang

I see now that I could have caused a bit of trouble. While I was pretty sure the files I wanted to rm would not cause a problem, I was a bit nervous lurking around in terminal. Glad I made it out alive. Anyhow this is how I learn and I have had to reload Leopard so many times now what would once more hurt. I ordered a book from Amazon that should help me figure unix/linex a bit more. But still a little uneasy in terminal.

thanks

Rachael

Jul 27, 2008 1:10 PM in response to Rachael Jellicoe

There are many good tutorials on UNIX this tutorial is one. You do have to be with the University to get the particular folder they suggest you download but you can work around it by creating one of your own.

Here is another

EDIT: If you're going to learn that way then your best investment would be an external hard drive with a bootable clone of your system, if you don't have one. You could even do your learning booted from the clone and then overwrite any errors backing up your internal.


User uploaded file
-mj

Message was edited by: macjack

Jul 27, 2008 8:20 PM in response to macjack

I was afraid enough of messing around in terminal that I had copied my Leopard partition over to another one on another hard drive. I kinda do that anytime I add a program or make any major changes or Leopard updates. When I first used the Leopard boot camp it killed my system so I was able to reload it from the other partition. Never could get leopard boot camp to work so I booted into Tiger to use it's boot camp beta (had to change the date on Tiger). But even so I am so used to reloading windows every 6 months that I still do that with OS X, just to clean things out.

I am looking forward to the unix book. It took me a while to figure out vi but I got lost in ed. Sorta like my windows friends who don't even know dos is there under the os. But I have killed Windows playing around in dos...

Rachael

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I make myself a "super user"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.