PDA

View Full Version : [System.keychain][Solved] No Write Access !


jashsayani
06-29-2008, 11:08 AM
I am the only user on my Mac and I have the admin account. But when I try to write something to System.keychain using terminal, I get an error message saying that: Could not write to file. It might be opened with insufficient access privileges.

What is wrong with it? And how to I write to the file ?

adyh
06-29-2008, 06:50 PM
ok , the problem is that although you are the admin account, you do not have root privilidges.

you can change into the superuser (root) by

sudo bash

then run your command

or if it is just one command [ie ls] type

sudo ls

jashsayani
06-29-2008, 09:41 PM
ok , the problem is that although you are the admin account, you do not have root privilidges.

you can change into the superuser (root) by

sudo bash

then run your command

or if it is just one command [ie ls] type

sudo ls

Thanks! But my problem was solved when I logged on as Super user [sudo su].

adyh
06-30-2008, 10:06 AM
I see, an interesting use of sudo and su !!!!!

You are effectively asking the OS to give you superuser access to run a program that gives you superuser access.