Can Not Save "paste.ini" file

Asked by Riley Walz

Hi,
I just installed SchoolTool via Terminal to Ubuntu, and I'd like it so I can access it from different computers on the network. I saw the tutorial, and I edited the "paste.ini" file, so the host is now "0.0.0.0". But since the file is a read-only file, I thought I could just save as and replace the old paste.ini. But it says I don't have permission to change the file, but I'm the admin. Can anybody help to see how I can get myself to be able to edit it? I even tried going to the file properties to change permission but it still said I couldn't. I running Ubuntu on VirtualBox on Windows 7 if that helps.

Thanks,
Riley

Question information

Language:
English Edit question
Status:
Solved
For:
SchoolTool Edit question
Assignee:
No assignee Edit question
Solved by:
Tom Hoffman
Solved:
Last query:
Last reply:
Revision history for this message
Best Tom Hoffman (tom-hoffman) said :
#1

Probably you need to use "sudo " before the command in the terminal to indicate you are acting as the "superuser."

As in "sudo gedit paste.ini"

Or just do "sudo -s" to start a session where everything will be done as superuser.

Revision history for this message
Riley Walz (rileywalz) said :
#2

Thanks Tom Hoffman, that solved my question.

Revision history for this message
Kehinde Ojo (kehyno) said :
#3

I tried this and got this error: [error writing /etc/schooltool/schooltool-2008/paste.ini]