General :: Can't Access /etc/sshd_config To Read Or Edit?
May 9, 2011
What is going on here? I can't access /etc/sshd_config to read or edit it, even as root. (Using debian-live 6.01)
root@debian:/etc# ls -l /etc/ssh*
total 132
-rw-r--r-- 1 root root 125749 2010-02-28 01:37 moduli
-rw-r--r-- 1 root root 1616 2010-02-28 01:37 ssh_config
-rw-r--r-- 1 root root 2453 2010-03-13 17:32 sshd_config
[Code]...
I also checked the permissions for the parent file /etc, and root has rwx. Is this something peculiar to the overlay file system used in debian-live, or just another unix gotcha?
View 7 Replies
ADVERTISEMENT
May 6, 2010
I have apache2 running on my computer. I want to change the permissions for /var/www/ so that I can edit the files without a problem. Right now I can use the gksudo command, but I'd like to be able to have all the files available when using an IDE like eclipse.
I've read in several places that
Code:
chmod 755 /var/www
will do, but if I'm not mistaken that would give read/write access to anyone. I'm not in a production environment, so I'm not too worried about security, but I'd like to give anyone else as less permissions as possible. Would this be possible?
View 2 Replies
View Related
May 24, 2010
I know how to set up sshd_config for shared key only access. Is it possible however, to set up shared key only access for specific users. Example Users ABCD I want them to only be able to login with shared keys Users EFGH I want them to be able to use a shared key, or if that key gets lost, corrupted or whatever, EFGH can still use a password, keyboard-interactive. How would I go about doing that?
View 3 Replies
View Related
Jan 27, 2010
I have a WRTG54S Linksys router and Fedora 11 on my Asus EeePC and I would like to be able to access my Fedora remotely via ssh however I'm not sure which info and were do I need to change it in my router, also I want to be able to change the ssh port access is it from /etc/sshd_config ? My internet connection at home is via cable modem and with a connection that is always on. (no dialer)
View 2 Replies
View Related
Jan 24, 2010
I'm needing to read the Adam's Assembly Tutorials, that are old EDIT *.txt files, I'm on Linux and I need to read this files.What can I do?Is there any GUI editor that can read the files?There is any way to convert them into another file that is more modern1?
View 2 Replies
View Related
Feb 4, 2010
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
View 1 Replies
View Related
Apr 5, 2010
i am trying to make my SSH-server more secure on my unbuntu server. And i want to do a little modifiing to the /etc/ssh/sshd_config folder. When i try to accsess it is says permission denied if i do sudo /etc/ssh/sshd_config it says command not found.
View 3 Replies
View Related
May 5, 2011
I wanted to add a user to have permission to login to our webserver. Foolishly I did not back this file up. The only thing I changed was the last part of the file which was:
# override default of no subsystems
AllowUsers chris acosentino
Subsystem sftp /usr/libexec/openssh/sftp-server
to
# override default of no subsystems
AllowUsers acosentino techmaster
Subsystem sftp /usr/libexec/openssh/sftp-server
Now I'm still connected with that terminal, but any other attempt to get into the webserver from either a new terminal or from winscp results in:ssh_exchange_identification:Connection closed by remote host.If I lose connection to this last terminal I guess I'll be screwed.
View 2 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
Oct 15, 2010
We are aware that unix has three sets of permission such as owner, group and others. I have a requirement to have a read-only access to a folder and sub-folders and the group that currently holds can't be used. Because it has write privileges. I would rather not prefer to use others, because it opens to each user in the system.have read-only access for another group?
View 1 Replies
View Related
May 17, 2010
I'm using Arch right now and i'm having problems syncing my ipod with Amarok (KDE). Everytime I would want to sync a song, it would give me access denied. it is currently mounted at /tmp/ipodbxQtrU and i have tried using chmod with no luck. I was in root when i used "chmod -R user ipodbxQtrU" and it said operation not permitted.
View 1 Replies
View Related
Feb 3, 2011
I need to create a user with least permission on the production server. He should only be able to read or execute the files that to be specific. For example: I just need to give him a set of commands to run.Besides those command execution He should be prevented to run any other command and He should not able to create any files(write permission).
How would i proceed about this.
View 1 Replies
View Related
Jul 5, 2010
i log in and went to the policy folder to erase the file prefernces.fdi and it would not let me delete this file /move it to the trash or even edit it it said something like you are not the owner ,so i could not change the permissions to overwrite this file.what should i do i just want to be able to change this file to true so it will see my internal sc dar reader right now when i put in a sd card it does not show up.i also tried changing this in the terminal there was a post on one blog that showed how ,but i was having trouble edit the xml file in the terminal so for me it would be easier to just overwrite the prefernces.fdi file since im a beginner.
View 3 Replies
View Related
May 2, 2011
I am trying to setup a Rsync backup method.I have multiple files and folders all OWNED by different users.Now I can read the files as root.But I want to make a user for RSYNC that can ONLY read all these files for copying them across.It requires to create a non password login and I dont want to do that with the root user ! I have tried to create a new user and use 'setfacl':setfacl -m u:someuser:r /var/test.But when I su to 'someuser' I cannot copy the files to my homedir. So I think it wont work for rsync also.
View 8 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
Nov 20, 2010
I use Deluge as a bittorrent client to download music.However, if--or rather when--other programs like rhythmbox edit the tags in the file (or change the file in anyway) deluge downloads the file againI thought that making the folder which Deluge downloads to a read-only folder would stop this from happening. But I need a way to allow Deluge to still be able to download to this folder.s there a way to do this
View 1 Replies
View Related
Oct 9, 2009
i want to edit the file menu.lst in /boot/grub i m facing a problem of not to enter in to the graphical interphase, so i m using only the boot terminal whn i try to edit this file it says the file is read only. i tried to change the permission of file with chmod also
but it is also not working i tried the comand gksu gedit /boot/grub/menu.lst but it is not opening the file to edit since the graphical interphase is not there.
View 5 Replies
View Related
Jul 8, 2010
I own a particular file on a Linux system. I would like to give 2 groups (accounting, shipping) read access and only read access, and 3 users(Mike, Raj and Wally) write access and only write access. How can I accomplish this?
View 3 Replies
View Related
Aug 24, 2010
I'm having this problem wherein the ppp program is altering the /etc/resolv.conf file when connecting.This, despite me having set file permissions to read-only. What could be the problem here?
View 9 Replies
View Related
Mar 14, 2010
I've hit a wall here; I'm attempting to find some way by which to view files and cd into directories on a device mounted read-only. So I need the permissions to read, write, execute (and the same with directories), but chmodding is out of the question because I don't want to alter the drive one iota.
I guess what I could do--what I was thinking of initially--was to dupe the whole drive and then mess with permissions. This wouldn't affect the original (actually I'm working on a duplicate of the original, but I'm treating it as if it were the original) but I was hoping for something that would maintain data integrity. This is a forensic application and not altering the data is very important.
View 2 Replies
View Related
Nov 12, 2010
I am trying to edit my grub.conf file. I am logged in as root. It says it is a read only file. I have tried to set permission with chmod 777 and also tried through GUI. Using VI it says it's a read only file. Using nano it will not write either. I have two choices on boot up. I want to automatically go to second automatically. First at the moment is CentOS-4 i386 (2.6.9-55.ELsmp) and second is CentOS-4 i386 (2.6.9-55.EL).
View 9 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
Apr 6, 2010
Install openssh so that I can access my desktop (192.168.1.100) from my laptop (192.168.1.200) using konqueror with "fish".Googled and read that the sshd_config should be updated to enhance security.Tried fiddling with sshd_config on the desktop and hit a brick wall.Before setting ListenAddress 192.168.1.200 in sshd_config, the laptop can access the desktop with problem.However, after setting it, the laptop is not able to access the desktop.
View 4 Replies
View Related
May 4, 2011
I'm using ssh to connect to a Ubuntu machine from a Windows machine. I am only using key-based ssh logins and not using passwords. (I followed this tutorial: [URL] My question is in my sshd_config file, should I set UsePAM to Yes or No? Security-wise, does it make a difference one way or the other, or can I just leave it set to "yes" (the default setting)?
View 1 Replies
View Related
Jan 29, 2011
Using the Mandriva 2010.2 distro.While using RkHunter I have inadvertently deleted the following 2 files from #/etc/ssh/these are the #ssh_config and #sshd_config files.Have tried to re-install RkHunter to see if I can get
those files back, unfortunately to no avail.Could anyone tell me the correct procedure to re-install
View 2 Replies
View Related
Feb 19, 2011
difference between ssh_config and sshd_config file?
View 6 Replies
View Related
Jul 9, 2010
Ubuntu is installed on my external. Can I add/edit/manage files on the internal drive that Windows is on without messing anything up (provided I don't mess with system files)?
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
Nov 11, 2010
How to configure openssh, /etc/sshd_config on a new installation of Fedora Core 14? [since tt does not work right out of the box, I cannot ssh into it]
View 2 Replies
View Related
Jun 13, 2011
I'm after a WebGUI file manager which runs on another port rather than port 80 (already have a Apache installed)
But i want to be able to access and edit files from the web, rather using FTP client etc..
View 6 Replies
View Related