CentOS 5 :: VSFTPD & CHCON - Returns The Error: /usr/bin/chcon : Couldn't Compute Security Context From Unlabeled?
Apr 8, 2011
The script "vsftpd_virtualuser_add.sh" from the guide here:
http://wiki.centos.org/HowTos/Chroot_Vsftpd_with_non-system_users
executes the following line: /usr/bin/chcon -t public_content_rw_t $HOMEDIR/$USERNAME
which returns the error: /usr/bin/chcon: couldn't compute security context from unlabeled
Login attempts are unsuccessful on the given username.I followed the instructions on that page verbatim.I can't find anything useful on that error anywhere - even outside of vsftpd context.This is a new CentOS 5.5 server - updated everything with yum.VSFTP worked fine on the last server, which was a CentOS 5.x.
View 12 Replies
ADVERTISEMENT
Apr 26, 2010
when i type this command chcon -t samba_share_t /common
error came chcon: can't applypartial context to unlabeled file /common what type of problem is this?
View 1 Replies
View Related
Sep 13, 2010
What are the SElinux security context type & booleans in FTP/vsftpd
View 3 Replies
View Related
Apr 19, 2010
I try to install IPsec-Tools on Slackware 13, but I get an configure error: configure: error: Security Context requested, bu no selinux support! Aborting. I'm linux newbie and I'm following a slackware-basics tutorial, I did as in the tutorial, but the configure stops and aborts:
Code:
# CFLAGS="-O2 -march=i486 -mcpu=i686"
./configure --prefix=/usr
--sysconfdir=/etc
--localstatedir=/var
[Code]...
What can I do? How can I enable/install selinux support? I guess it's related with AH and ESP protocols, which in my kernel are defined as modules (m). If so, how can I enable them?
View 5 Replies
View Related
Mar 6, 2010
I am a Windows 7 user. I have two machines a laptop & a new bench top. Both machines run & boot Windows 7 very well. I use a very good program to clone my Hard Drive to an external USB drive. called Macrium Reflect. It is free and is a dream to use & very fast. This program creates a Linux based boot disk, which will allow you to find a backup clone file on an external drive to restore your hard drive. It works a treat on my laptop & has saved my bacon many times when I have messed things up fiddling with the registry etc.
The problem I am having is that my new desktop will not boot from the start up CD & returns the error kernel panic,not syncing cpu context corrupt. & then just tries to reboot again. I don't know what this problem relates to whether it is the computer hardware or the Linux CD or both. My laptop with the same OS does not have a problem, It is an Acer Aspire 5920G with 1.6ghz Intel dual core processor & 2gig Ram. The bench top has an Intel Dual core 3.3ghz processor, Zotac mother board & 4gig of Ram. both machines are running 32 bit OS.
I have browsed through the posts on this forum with people having the same error at boot, but as I am not using Linux & only using a boot CD I didn't think it appropriate to but into their threads. So I am hoping if some one can tell me is this a hardware issue or a Linux/New dual core CPU/ or Bios/Mother board issue. If it is a Linux issue then my Laptop surely would not boot would it? My bench top is only a week old and guaranteed, should I be sending it from Adelaide back to Sydney(purchased online from MWave) for fault inspection? or just take to a local Technician for a diagnosis. I am not having any hardware problem running Windows 7.
View 4 Replies
View Related
Jun 13, 2009
I am trying to wade through the semanage jungle to get permissions for a tftp client. I followed the HowTos [URL] but I get the following at the client:
tftp> status
Connected to 192.168.1.101.
Mode: netascii Verbose: off Tracing: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> get hello.o4
tftp: hello.o4: Permission denied
I finally figured out that the firewall directives shown at the end of the HowTo refer to semanage although the options are stated incorrectly according to the man page for semanage. I did insure that the file hello.o4 in /tftpboot has read permission for everybody.
View 1 Replies
View Related
Sep 16, 2010
Debian linux:
I've tried apt-get install with the following packages:
And others and always get 'Couldn't find package'.
I tried doing an apt-get update and that worked without problem.
View 11 Replies
View Related
Feb 3, 2010
checking whether time.h and sys/time.h may both be included... yes
checking for long double... yes
checking for hrtime_t... no
checking size of int... 0
checking size of unsigned int... 0
[code]....
View 5 Replies
View Related
Feb 3, 2011
I installed VSFTPD but when logging ( at command line or browser ) at any user always :
[root@srv vsftpd]# ftp 172.16.0.3
Connected to 172.16.0.3.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (172.16.0.3:root): system
[Code]...
View 4 Replies
View Related
Jun 1, 2010
I'm following the directions on the following page but I'm getting a 530 login error:[URL]My vsftpd.conf file looks like this:
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
[code]....
View 3 Replies
View Related
Apr 30, 2009
Hi I am running a fedora 10 desktop. when i send an email using evolution the message was not sent but returns a error message:"Error while performing operation.DATA command failedError: 550 Viagra SPAM - Hi in Subject" and the message did not have an attachment just plain words. what might have gone wrong for i have been using this for sometime without a problem. or what security measures should be in place to remove this viagra spamAm I infected by virus on this fedora, all my updates are up to date.
View 1 Replies
View Related
Feb 18, 2010
I downloaded truecrypt Linux version, giving me a file named truecrypt-6.3a-ubuntu-x86.tar.gz. I assume that's the archive. Double clicking on that produced file truecrypt-6.3a-setup-ubuntu-x86. I assume that's the executable. When I try to run that, I get a "could not display ... unknown filetype" error. Could someone tell me what I'm doing wrong? I plan to run truecrypt under the easycrypt GUI.
View 9 Replies
View Related
Oct 20, 2010
I'm attempting to get MapServer running on my Fedora 13 computer. I was able to install with the package manager, and the executable (mapserv) was originally placed in /usr/sbin. But I need it in /var/www/cgi-bin to work on the webserver. So I copied the file to the right location. Unfortunately, it doesn't have the correct SELinux context. Here's the message from the troubleshooter:
SELinux denied access requested by /var/www/cgi-bin/mapserv. /var/www/cgi-bin/mapserv is mislabeled. /var/www/cgi-bin/mapserv default type is httpd_sys_script_exec_t, but its current type is httpd_sys_script_exec_t. Changing this file back to the default type, may fix your problem.
How's that for circular logic? Does anyone have an idea what the correct SELinux context for a cgi-bin executable might be?
View 3 Replies
View Related
May 3, 2011
After entering the gdm I'm being asked "Would you like to enter a Security Context [N]?" during login. I've had a look around online but can find nothing final about this.
View 1 Replies
View Related
Jul 4, 2011
Is there a way I can change the security context of only the directories, & only files, recursively, in bash?
View 11 Replies
View Related
Feb 9, 2011
I reset the security context for my cgi-bin to httpd_sys_content_t.How do I set it back to the proper context?
View 1 Replies
View Related
Sep 24, 2011
every time I try to connect to the ftp server I setup i am recieving this error Response:*** buffer overflow detected ***: /usr/sbin/vsftpd terminated Error:Could not connect to server
View 1 Replies
View Related
Nov 21, 2010
I'm suspicious that the context of /etc/sudoers is wrong. During the last upgrade to Fedora 14, RPM dropped /etc/sudoers.rpmnew, which had a different context than the real sudoers file. But, when I try to get SELinux to relabel the file (using restorecon or fixfiles), it refuses to make a change.
> ls -lZ /etc/sudoers
-r--r-----. root root unconfined_u:object_r:etc_t:s0 /etc/sudoers
> matchpathcon /etc/sudoers
[code]....
View 5 Replies
View Related
Apr 26, 2010
I receive messages such as the below:
SELinux is preventing /usr/sbin/httpd from using potentially mislabeled filesjk-runtime-status. SELinux has denied the httpd access to potentially mislabeled filesjk-runtime-status. This means that SELinux will not allow httpd to use these files. If httpd should be allowed this access to these files you should change the file context to one of the following types, httpd_tmp_t,
I know how to change the owner of a file and the permissions but what does it mean to change the file context?
View 3 Replies
View Related
Mar 21, 2011
I'm working with OpenSusse 11.2. I installed and activated the NFS server via yast2. I exported the relevant directory via yast2 (NFS server configurastion)
I'm trying to setup my Linux target to boot via NFS. The kernel boots up but fails to mount the file system. When looking on a capture from ethereal it can be found that the NFS server return error when client try to mount the /nfstest directory from this server. The returned error is 13
serverip: 192.168.56.130
targetip: 192.168.20.180
gateway: 192.168.20.101
[Code].....
View 1 Replies
View Related
May 26, 2010
I'm getting these entries in my auth.log file. What is it and why it is returning passwords?
Code:
May 26 12:57:50 infecticide dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=david rhost=88.148.51.170
[code]....
View 1 Replies
View Related
Dec 18, 2009
I have a user complaining about performance:-
Quote: At times on our server, during more-or-less idle moments, context switching is around the 2000-3000 mark.When we run the app, we can get this up to the 500,000 CSs per second. Not only this, but at the same time, the CPUs go to >60% system (the kernel is having to do all that context switching after all), leaving only around 30% for user space. We think it is a possibility that the massive context switching is contributing significantly to our performance issues.
The server is a HP DL580 G5 with 4 x Intel Xeon E7340 @ 2.4Ghz.My issue is that I don't know if the contect switching is a problem or not.From what i've read those values are not necesserilly cause for concern.
View 1 Replies
View Related
Nov 12, 2010
I'm trying to mount a Windows Server share from Centos 5.5 (kernel 2.6.18-194.26.1.el5). I've tried two approaches neither of which work.
1). Using Places->Connect To Server. This approach works fine on Ubuntu but not at all for Centos. Using the 'Windows Share' Service type, it allows me to see the remote directory - I can see all of the directories on the server. But as soon as I click one, I get an error 'Couldn't find "smb://blah/blah". Please check the spelling and try again. As I say, this worked fine on ubuntu. Tried loads of options but with no luck. I saw something on the web about leading slashes being a problem.
2). Using Mount . Tried to use mount to mount as a cifs filesystem, as documented on a number of web pages:
mount -t cifs //server/dir -o username=username,password=password /mnt/tmp
This completely hangs the machine.I means completely, no mouse, no nothing. I've seen some references to unstable cifs on the web but I believe that this kernel has the fix for this.
View 5 Replies
View Related
Mar 24, 2011
obviously it's at least difficult but I'm interested in knowing if it's theoretically possible to allow anonymous users of vsftpd to upload to the same directory that anon_root is set to. If it's not then it's no big deal, I'm just trying to get a sense of the range of possibilities.
View 1 Replies
View Related
Sep 9, 2010
i tried to install gcc-4.5.0 on opensuse 11.2 I gave ./configure but it gave the error couldn't find the c compiler.. the message was
[Code]....
View 2 Replies
View Related
Nov 23, 2010
When I try to do
[code]...
I've tried the method described here: [URL]... However, I'm still getting the same error.
View 2 Replies
View Related
Jul 18, 2010
I just installed say with
Code:
sudo apt-get install epos
and everything went fine, until I tried to use it.
When i do
Code:
say hello
it gives me
Quote:
he~lo######~T
Could not open localsound device, error 2 Client side error: Could not set up a stream
View 6 Replies
View Related
Feb 2, 2010
Hope you can help me out. I'm trying to setup a "drop-box" on ubuntu 9.10 server with vsftpd. I'm able to login and land in the /home/user directory, however I cannot write anything.
View 5 Replies
View Related
Mar 11, 2011
I am unable to run firefox on my Hp mini 110 running FC14. This happened, I think, after an update that I have done.
When ever I run firefox I get the following messages.
Code:
View 5 Replies
View Related
May 9, 2011
I am using Fedora 14 (64 bit version): Can't Start XAWTV. Returns the error.
$ xawtv
This is xawtv-3.99.rc6, running on Linux/x86_64 (2.6.35.12-90.fc14.x86_64)
xinerama 0: 1920x1080+0+0
WARNING: No DGA direct video mode for this display.
WARNING: keeping fbuf pitch at: 7680, as no base addr was detected
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
v4l2: WARNING: framebuffer base address mismatch
v4l2: me=(nil) v4l=(nil)
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Oops: can't load any font
View 1 Replies
View Related