Fedora :: How To Remotely Edit Root Files
Dec 31, 2009
I have rented a remote dedicated fedora 7 system. The service provider provisioned the system and does not allow direct "root" access to the system.
I currently use putty to login into "user1", switch to "root" using su -, and then edit the file.
I would like to edit the "root" file directly from my home XP system which has a SFTP connection to the remote fedora 7 system (using Aptana RadRails).
I am not sure how to do that. I had 2 ideas but I am just guessing and afraid to proceed with so little knowledge.
I considered editing /etc/group and changing the line
from
root:x:0:root
to
[Code]...
View 5 Replies
ADVERTISEMENT
Sep 14, 2010
Always had this problem on F13... if I run kword from console as root I get.kwordkword(14580): Session bus not found
KCrash: Application 'kword' crashing...
sock_file=/root/.kde/socket-icebox/kdeinit4__0
Warning: connect() failed: : No such file or directory
[code]...
View 4 Replies
View Related
Jun 12, 2011
why i m unable to edit the files under root directory of apache ?and how to fix that plz tell me ?
View 3 Replies
View Related
Oct 9, 2010
I can ssh to the server but it wont allow me edit files, even though I have basic text editors like gedit and notepad installed on my windows computer. Anyone have an idea what the problem is? (I get an error message like this-(gedit:23978): Gtk-WARNING **: cannot open display
View 3 Replies
View Related
Nov 24, 2010
I am sure this is merely a permissions issue, but unfortunately trying everything I can think of as well as google-ing has not provided me with a solution. Just for reference, my desktop and server are both running Ubuntu 10.04, with their respective Desktop and Server distributions.
I can remotely connect with SSH to my server, but I can't edit files (or at least the files I am trying to edit) remotely. I can connect remotely and edit them with VIM, but I would like to be able to use SciTE to modify the files. I am specifically trying to edit files under the /var/www directory, as well as the /etc/apache2/apache2.conf file.
View 4 Replies
View Related
Feb 12, 2011
Trying 6.0 xfce on an old computer and need to know how to login as root to edit files?
View 2 Replies
View Related
Feb 12, 2011
I'm a new Ubuntu user and a Python programmer, it's the first time that I use Python in Ubuntu so it's a bit confusing me. If I want to save a Module or something in a specified map, I get 'Errno 13', it says that I don't have permission to edit, do thing in that map. And this is also for importing files with Python. I logged in from Terminal with 'sudo -i' and closed Terminal, but the problem keeps repeating. How do I login as Admin or Root and stay as Admin or Root? I need right to edit/read files as well as root and normal user.
An example:
Python file:
test.py ->
test = open('/a.txt', 'w')
test.write('Test - Test - Test')
test.close
When I execute this, I get in the Python IDLE the 'Errno 13' problem and below the 'Errno 13' it says that I don't have permission. Who know how to stay logged in as root, even if the user has not logged in or isn't this possible, if it isn't then I just want to get files moving, editing/erasing etc.
View 9 Replies
View Related
Mar 15, 2010
I would like to be able to access my data file that reside on my Linux machine at home from the Internet but I don't want to open any "doors" for lack of a better word that will compromise the security of my files. I am running F11 and I am using cable broadband and a Linksys router.I have been able to get ssh working with OpenSSH while I am at home but I don't really need or want to ssh remotely, I would rather setup what I think is called an ftp. I just want to be able to up and download files to my Linux machine.
View 6 Replies
View Related
Jun 11, 2010
I was trying to edit some files in /usr . so I did "chown -R username /usr" as root . after editing, I did "chown -R root /usr" !!!!! it made me unable to open Yast and VirtualBox and many other features and applications . is there anyway to fix this ? I think some files in /usr was not owned by root,
View 4 Replies
View Related
Nov 27, 2010
So I need to become the root user in order to edit a grub file in a seperate partition, so I can get back into this partition. How can I become and stay as root user in the desktop environment? (I know you shouldn't do this, but I need it.)
View 10 Replies
View Related
Feb 25, 2011
I installed apache, php in my fedora 14.
phpinfo() works fine. But the following file 'a.php':
PHP Code:
<?php
if ( !file_put_contents( '/var/www/html/a.txt', 'aaa' ) ) {
echo 'Failed!';
# phpinfo();
} else {
echo 'Succeeded.';
[Code]....
View 1 Replies
View Related
Aug 16, 2009
I need to change a game's screen resolution in a couple of .con files, but when I double click on them all I get is success in a little pop up window. Can I move them to my computer, edit them with a text editor, and reinsert them with read only privileges?
View 2 Replies
View Related
Jul 19, 2011
So is there anything out there that will edit the HD 3gp files from my cell phone? Or the HD files from my Nikon camera?
View 5 Replies
View Related
Feb 9, 2011
Is there an aplication/software that I can use to edit the Microsoft publisher (.pub) format files on fedora14.
View 1 Replies
View Related
May 31, 2011
When I try and run gedit command through terminal to edit files it won't open them
Quote: (gedit:4113): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
View 6 Replies
View Related
Feb 28, 2010
I am trying to install Fedora 10 on an old P3 Inspiron 5000. When I boot from the Live cd the screen is split into three sections and is hard to navigate. I am able to edit the /etc/X11/xorg.conf file and log out and log back in to proceed with the installation. The problem is when I finish the installation and reboot to the new OS it boots to the triple section mode again because my xorg.conf is not edited. To do any commands in Fedora I need to get through a brief user setup in which I cannot navigate through until I can see the screen better. Is there a way to boot to a graphical type safe mode so I can see the whole screen to finish the installation?
How can I access folders from the live cd to edit the installed files? This way I can edit the xorg.conf file before booting and all would be legible.
View 6 Replies
View Related
Apr 17, 2010
I have installed Fedora 12 x86_64 and vsftpd. I would like to set up an user for FTP so that he/she could only view/edit files in one certain folder (the one that I set up). How would I go about doing that?
View 2 Replies
View Related
Jan 31, 2011
I'm trying to set up some shares on this pc and every time I try to edit the /etc/exports file I get this error. I get the same error when I try to edit /boot/grub.conf file or any other files. Does not matter what editor I use. I'm running f14.
View 3 Replies
View Related
Jun 2, 2011
That in essence is my question. It is much easier to open a music folder in nautilus when you need to edit tags of music files.
I tried working with the nautilus-action configuration tool but to no avail. Can someone point me in the right direction?
View 7 Replies
View Related
Jun 11, 2011
Has any one got this to run on Fedora 14. I have it running just fine on Ubuntu 10.04 but it will not boot up under Fedora. It seems to install just fine.Best program I have found to make or edit epub files. Sigil
View 1 Replies
View Related
Aug 1, 2011
First: When I try to edit my brightness it doesn't work at all. I can turn the LED on/off but when I do up down it brings up the status bar and nothing changes. Asus K60IJ T4400 is my laptop.
The other 'problem' is the MP3 codec? How do I install this? I'm trying to use my Mp3 files in Rhythm box but can't find out how. =[Why does it have to be different ;(
View 11 Replies
View Related
Jul 28, 2010
I have a second hard drive with fedora 10 installed on it. My primary drive and os is fedora 12. How do I edit the fstab file in order to mount the second hard drive and get files off of it
View 8 Replies
View Related
Mar 27, 2011
How to set up a script to log on to a server through SSH, copy file from the server to the local machine, and then run a script on the downloaded file. More specifically, I've got a minecraft sever that is run on ubuntu.
I know that I can do
# ssh username@ipaddress
to log on to the server through the terminal.
After this it asks me for a password. Once I type in the password I have access to the directories on the server. How can I set up a script to log on to the server and enter password? Once I do this, how do I automate it to copy a file from that server to ~/Desktop? If I can do this, I have a script that will run from there.
I've learned that I can do
scp -r remoteuser@remotebox:/remote/directory /local/directory to copy files from a server to my local machine, but it still asks me for the server password. how do I make it so that the password is automatically entered?
View 2 Replies
View Related
Mar 27, 2010
When I run "sudo systemsettings", it opens my own configuration rather than root's and "kdesu systemsettings" says command not found.I want to change the appearance of applications I run with kdesu.
View 4 Replies
View Related
Sep 22, 2010
I have an SSH server set up on CentOS 5.5 which I can succesfully use to access my file system remotely.
On this machine, I also have a partition with XP installed on it. Is there a way I can set up the SSH server so that I can remotely access the files on the XP partition?
View 7 Replies
View Related
Apr 19, 2010
I was unable to boot into Ubuntu 9.1 today because the file system is now read only. When I check fstab, it shows "ro" but I can't change it because it's on a read only file system. I tried umounting the root then remounting with read/write access, but I was unable to umount the root. I also tried booting with a live CD, but all I can find is the root.disk file, I can't see any of the file structure. That's probably just how it is supposed to be, but I'm new to Linux so I found it strange. method to either change the disk to read/write besides this?sudo umount /mount -o remount,rw /The other option would be to somehow mount the disk image while using a live CD so that I can get to the fstab file and edit it.
View 9 Replies
View Related
May 31, 2010
I am trying to edit limits.conf, changed file permissions:
sudo chmod limits.conf -rwxrwxrwx
But got this message:
"Could not save the file /etc/security/limits.conf. You are trying to save the file on a read-only disk. Please check that you typed the location correctly and try again."
I followed these instructions:
"copy - paste this code into terminal
gedit $HOME/.gnome2/nautilus-scripts/Open as root
copy-paste this text into that file and push 'save'
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gnome-sudo "gnome-open $uri" &
done
now copy-paste this code into terminal
chmod +x $HOME/.gnome2/nautilus-scripts/Open as root
Now you can right click on the file you want to edit, select 'scripts' and say 'open as root' to let you modify it". [URL] the right click worked but the file didn't open.
View 9 Replies
View Related
Mar 27, 2010
I have a Linux server and a static IP address. I want to access data on my server remotely using this IP address. How do I do it?
View 3 Replies
View Related
Dec 13, 2010
I have a question about using ubuntu to download files from an HTTP server remotely and didn't know where to put it, so hopefully it falls under general support. Anyway, I am about to move into a place with an incredibly slow internet connection and a tiny data allowance and my brother has said that, if possible, I can use his internet connection to download any large files to a box I can just leave at his place, then I can simply come over to his place every few weeks and copy said files to a hard drive and all will be well. The problem is that I am not sure how to do this.
Today I went out and bought a few parts and built a cheap computer with a HDD big enough to hold whatever I need, however when I got home I realised I had no idea how I was going to handle the software aspect of this. Is there any way that I can access that computer remotely over the internet and schedule fairly large downloads from an http server? Also after talking to a friend I was told that I need to install the server version of ubuntu if this is to work, is this correct? Also, if its relevant the specs of the computer I have for this is using an "Intel Desktop Board D510M0 + Intel Atom Processor D510" which uses 64 bit architecture.
View 5 Replies
View Related
Feb 12, 2011
I am trying to edit my /etc/resolv.conf file while under root. After saving the changes and reboot my computer, file has not changed. I read a thread on chattr and lsattr on this fourm.(see link below) I ran in terminal lsattr /etc/resolv.conf and got the following results:-----------------e- /etc/resolv.confWhat does the dashes and e mean? I thought I would get ----ia------------ /etc/resolv.conf instead, as shown in the link. What am I doing wrong?
View 4 Replies
View Related