General :: Hosts.allow - Permission Denied
Oct 4, 2010
After I type sshd: 192.168.1.11 : allow and
sshd : ALL : Deny
I can't access hosts.allow or deny any more.
It says "Permission denied"
Before I typed that, I can access hosts.allow and deny.
By the way, I was wondering what command to edit hosts.allow.
For example, I want to put sshd: xxx.xxx.xxx.xxx : allow in that file.
View 14 Replies
ADVERTISEMENT
Mar 23, 2011
The root user of Linux doesn't have permission to read/write a regular file, unless all users have permission to read/write this file, like below:
drwxrwsrwx ....... file_name
However the owner of the file can still read/write this file.
AND:
0) not the problem of execution, just read/write
1) not the problem of device because regular user can read/write it.
2) the result of command id:
uid=0(root) gid=0(root) groups=0(root)
so I don't think it's the problem of group.
View 2 Replies
View Related
May 17, 2011
I'm hoping someone can help me out with this issue I'm having using acl(s). I have a user I want to grant access to logs I have stored on my server. I am doing this by setting up an acl to that directory where the logs are stored. My settings seem to look fine, however I cannot read or even reach the directory with the said user; we'll call him "userP".
Here is my code:
To ensure userP has access to the parent directory (jboss) code...
Not sure what I'm doing wrong here: there are no errors in the logs; just "Permission denied" however I try to get to the directory.
Does anyone know what I'm doing wrong?
View 4 Replies
View Related
Oct 19, 2010
On the current machine:> su - username (it works)> ssh username@localhost (doesn't work)
What could be the problem?
View 6 Replies
View Related
Aug 21, 2010
Since lucid was installed, I can no longer access my floppy drive. I try creating an image on it and this happens:
$ dd if=a.img of=/dev/fd0
$ dd: opening `/dev/fd0': Permission denied
How do I get permission to do this? I'm the only user and am an administrator.
View 2 Replies
View Related
Nov 5, 2010
I am installing Oracle 11g on Oracle Enterprise Linux 5.0 32 bit (virtual machine)i did all the mandatory steps, i am trying to run the installer but i am facing the below:bash: ./runInstaller: /bin/sh: bad interpreter: Permission deniedknowing that the run isntaller is found in an iso file, in which i linked the VMwarre CD/DVD drive to it
View 4 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
Jul 10, 2010
I'm using the find command in a PHP script like this to update permissions on all files but not directories:
<?php
// whole bunch of code
exec("find /var/www/vhosts/mydomain.com/httpdocs/path/to/some/directory -type f -exec chmod -R 440 {} ;");
[code]....
View 1 Replies
View Related
Dec 8, 2010
when i logging with root then i saw message "permission denied" Then i changed root shell directory "usermod -s .usr/ root" but it says "permission denied" again. what is the default shell directory, or what can i do for change permissions.
View 1 Replies
View Related
May 10, 2010
I am not sure if this is posted somewhere else, if it is sorry. Anyways I downloaded files to my desktop from firefox and i need them to be in usr/local file, but if i try to put it in there it tells me permission denied. Is there anyway around this?
View 5 Replies
View Related
Mar 27, 2011
I tried writing zreos to my HD but it denied permission. How do I get around that ?
View 6 Replies
View Related
Sep 10, 2010
If I run this as su I get the same thing. If I log on as root user It is the same as well
View 5 Replies
View Related
Oct 22, 2010
I have created user, group, gave permission chmod and chown with -R option. But when i try to enter into the directory for that created the user and group, I can not enter into.
View 4 Replies
View Related
Sep 16, 2009
When I create a folder in the system, it's created successfully
Code:
[test@localhost localhost ]$ cd test/
-bash: cd: test/: Permission denied
drw-rw-r-- 2 test testinstall 4.0K Sep 16 18:51 test
View 5 Replies
View Related
Aug 24, 2010
[root@mail tmp]# ./PE1650_RAID_FRMW_LX_R168387.BIN-bash: ./PE1650_RAID_FRMW_LX_R168387.BIN: Permission deniedalso get it when trying to run[root@mail tmp]# ./ESM_FRMW_LX_A37_R117418.BIN-bash: ./ESM_FRMW_LX_A37_R117418.BIN: Permission denied
View 2 Replies
View Related
Jan 27, 2010
I write following script.
#!/bin/bash
TEST=$(ifconfig | grep "ppp")
if [ -z "$TEST" ]
[code]....
View 8 Replies
View Related
Oct 5, 2009
I have some files lying around in /root/bla/, all these files are 644 and /root/bla/ is 755. Still, when I try (as a different user) to cp /root/bla/file ., I get a "cp: cannot stat: Permission denied". I also cannot ls /root/bla/, I also get a Permission denied... what gives?
View 3 Replies
View Related
Jan 6, 2011
I am trying to put a file from one linux machine to my other linux machine. There is absolutely no problem in downloading the file i.e. performing the "get" operation but when I try to upload or "put file" from my host1 to host2 it throws error "Error 0 Permission denied". I am able to put files from host2 to host1 without any problem but not from host1 to host. Infact if I try to tftp even localhost on host2 it throws the same error. Here is my
/etc/xinetd.d/tftp file for host2
service tftp {
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -s /tftpboot
#disable = yes
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
And permissions on /tftpboot are 777
[root@LinuxServer /]# ls -ld /tftpboot/
drwxrwxrwx 2 root root 4096 Jan 6 05:21 /tftpboot/
[root@LinuxServer /]# ls -l /tftpboot/
total 16
-rwxrwxrwx 1 root root 11 Jan 6 06:16 new_test
-rwxrwxrwx 1 root root 12 Jan 5 06:02 test2
And the command which I am using is :
[root@LinuxServer /]# tftp localhost -c put new_test
Error code 0: Permission denied
And ya here is /etc/sysconfig/selinux file is as under :
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=permissive
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
View 3 Replies
View Related
Apr 19, 2011
i've query regarding, user creation in Linux( RHEL 5), i.e, i've created a user ([root@localhost ~]#useradd slash ) and switched into that user, but am not able to run commands in it......It's displaying a message saying, PERMISSION DENIED. Do we need to provide any permissions while creating a user
View 7 Replies
View Related
Mar 23, 2010
On an Ubuntu 9.10 (Karmic Koala) machine, I burned a CD from the command prompt using: cdrecord -v speed=16 dev=0,1,0 /FPS.iso.The CD now contains an executable and some files. I tested the CD by loading it onto another machine (Red Hat 5.3) and when I try to run the program I get the following message:bash: ./FPS1_1: Permission denied.I can open other files like text documents (the executable also comes with shared libraries).I realized I had burned the CD as root so I burned another one as another user but I still have the same problem.
View 2 Replies
View Related
May 1, 2011
I am working currently on my server on an issue, I configured the SSH Deamon that only people who have a valid ssh-key can login on to the server, and kicked the password option. Now I've added a user account git. I navigate to his home folder created the folder ".ssh" and created in that folder the file "authorized_keys" I copied my public key in there. Now on my local machine I added that identity (via ssh-add) and I wanted to connect to my server. but when I'm trying to login myself I can't the only message I get is "Permission denied (publickey)."
View 1 Replies
View Related
May 8, 2011
How is it possible that I get perm denied when I'm copying files in console.
View 1 Replies
View Related
Aug 26, 2011
I ran a simple command "mail" on my Suse Linux 11.1 box and it's display "/var/mail/john: Permission denied" I had two users, john and peter When I login as peter and ran "mail" it display the same error when I login as john
"/var/mail/john: Permission denied"
I'm using postfix as my MTA. Here's the output from the command ls -l /var/mail
lrwxrwxrwx 1 root root 10 2011-08-06 11:54 /var/mail -> spool/mail
Here's the out output when I run echo $MAIL
/var/mail/john
I login with different user and run echo $MAIL it output the same line /var/mail/john
View 1 Replies
View Related
Sep 14, 2010
I want to let a regular user (not just root) restart apache on my Ubuntu machine.I was using /etc/init.d/apache2 so I figured this is what I have to set permissions for. I set the owner group for this file a group to which that user also belongs. I set the chmod to 775 but it didn't work. I then even set it to 4775 thinking this would totally make it work but it still didn't.I'm obviously giving permissions to the wrong file.
The error says:
Quote:
httpd not running, trying to start (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs But I didn't find httpd anywhere on my machine.
View 5 Replies
View Related
Jul 26, 2011
We are using ubuntu 10.04 desktop version.ls > /dev/lp0 permission denied in user account we need user can access lp0 /usblp0. Our printing module is lp0 writing technology example dir >prn.
View 3 Replies
View Related
Nov 8, 2010
Hi I am a complete newbie I have installed ubuntu 10.04 I have sorted problem with Mobile broadband, but having problems opening root folder I get a permission denied not the owner I have admin privalage as far as I am aware I was following something I read using terminal but kept getting a message saying something about the root I opened the file manager found root folder but still denied access. how I get access same is also true for lost&found folder but have to admit i dont know what that folder is.
View 7 Replies
View Related
Jan 2, 2011
I am attempting to make a backup copy of a file, but every time I try to copy the file, I get a "permission denied error -- even when running as root. The file is on a volume mounted as /media/Data . No problems reading/writing other files on the volume.
Here is the info on the file:
-rw-------. 1 root MailServer.img
I've tried chown but get the permission denied as well. This is a virtual machine image that runs fine, but even with the VM completely shut down, I get the same error.
View 10 Replies
View Related
Jan 18, 2010
I set security context for a folder as 702 to enable other users to create and delete folder contents.But whenever other users try to create a folder,its says "Permission denied".
View 11 Replies
View Related
Dec 11, 2010
I can't open etc/network/interfaces file comes some permission denied. What can I do?
View 2 Replies
View Related
Sep 8, 2010
I ssh to a remote server using the username "madel" and it gives me a strange error:
Last login: Wed Sep 8 18:17:51 2010 from greece.doe.carleton.ca
Could not chdir to home directory /home/madel: Permission denied
grep: /home/madel/.bashrc: Permission denied
[code]....
View 2 Replies
View Related