Fedora Servers :: Dreaded Vsftp "500: Cannot Change Directory" Error Not SELinux Related?

Sep 12, 2009

When I try to login as a user, I get the dreaded "500 OOPS: cannot change directory:". Almost every posting I can find related to this problem was due to SELinux being enabled. My SELinux is operating in permissive mode. So why can't it open the home directory when I log in as the tarheelnk user?

Code:
[root@server1 home]# ls /home/ -l
total 36
-rw------- 1 root apache 7168 2009-09-11 16:24 aquota.group
-rw------- 1 root apache 7168 2009-09-11 16:30 aquota.user
drwx------ 2 root root 16384 2009-09-11 10:07 lost+found
drwsrws--- 4 tarheelnk apache 4096 2009-09-11 14:58 tarheelnk
code....

View 1 Replies


ADVERTISEMENT

Fedora Servers :: SELinux - Find A List Of All The Booleans For SELinux (10) Using Getsebool -a

Feb 23, 2009

You can find a list of all the booleans for SELinux (Fedora 10) using getsebool -a My question is, is there a reference online that describes each one. Most of obvious but it's one of those "I have to know because it's there situation).

View 5 Replies View Related

Ubuntu Servers :: Error: 550 Failed To Change Directory

Feb 26, 2010

I have created a folder in my /var/www/ as /var/www/borneo and when I try to install a smf forum I get this error: 550 Failed to change directory. I have installed vsftpd for the ftp.

View 5 Replies View Related

Software :: Dk-milter Compile Error (DSO Link Change Related)?

Nov 29, 2010

I just tried to compile dk-milter (DomainKeys Milter) on a Fedora 13 x64 system and got this error:

Code:
make[2]: Leaving directory `/home/popicait/dk-milter-1.0.2/obj.Linux.2.6.34.7-61.fc13.x86_64.x86_64/libsm'
cc -O2 -I. -I../../include -D_REENTRANT -DXP_MT -c -o dk.o dk.c
cc -O2 -I. -I../../include -D_REENTRANT -DXP_MT -c -o rfc2822.o rfc2822.c
cc -O2 -I. -I../../include -D_REENTRANT -DXP_MT -c -o util.o util.c
ar crv libdk.a dk.o rfc2822.o util.o

[Code]...

View 1 Replies View Related

Fedora :: Vsftp Installation - Login As Root And Have Access To '/' As Home Directory

Feb 1, 2011

1. yum install vsftpd
2. service vsftpd start [ok]
3. nmap from outside verifies tcp 21 is open for business
4. ftp myipaddress.com results in login failed for user root.

I want to login as root and have access to '/' as my home directory. What do I have to do to get this to work?

View 2 Replies View Related

Fedora :: 12 SELinux Context Not Updated When Changing User's Home Directory

Feb 15, 2010

I was setting up a Samba server and I ran into some problems with SELinux related to the context of the home directories. I made a user account, say "UserAccount", with a default home directory "home/UserAccount". Afterwards I realized that I needed to move the home directory of this particular user to another location, say "/home2/UserAccount". So I created the new directory, changed the permissions, and used Gnome's system-config-user to change the user's home directory.

I then set-up the Samba server, activated samba_run_unconfined and samba_enable_home_dirs in SELinux, and made an account for UserAccount. When testing the Samba account for UserAccount SELinux denied read access. I checked the context and the new home directory did not appeared to have been updated. I had to manually run:

restorecon -R -v /home2/UserAccount

to set the context on the new home directory. I'm not very familiar with SELinux, so my question is this: is this normal security policy or is a bug in the system-config-user tool? If it's normal policy can someone explain why? I'm always ready to learn Distro: Fedora 12 (kernel: 2.6.31.5-127.fc12.i686) System: Dual Intel Xeon @ 3.2 GHz, 1 GB RAM

View 4 Replies View Related

Red Hat / Fedora :: Selinux Security Alerts - Change File Context?

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

General :: Vsftp Doesn't Do Initial Directory Listing?

Aug 4, 2010

I have a user who just got a new laptop and when he connects to the FTP server, it verifies his username and password like it should, but when it goes to do the directory listing, it just kinda sits there. if i refresh the view, the folders show up. wonder if there's something in a log somewhere for vsftp i should be looking at. it could just be his ftp client or air card too, but i want to be thorough on the server too becuase it will help me learn.

View 2 Replies View Related

Fedora Servers :: SELinux Troubleshooter Reports Nothing

Sep 19, 2010

I recently had three problems with SELinux: httpd_unify - SELinux prevented my web server from having write access. ftp_home_dir - SELinux prevented my virtual users from connecting to their home directory. textrel_shlib_t - SELinux prevented two separate Unreal Tournament 2.5 mods from running. The troubleshooter did not notify me of any of these problems. I finally figured out how to fix them on my own and did. CentOS had a very concise, albeit excessive SELinux troubleshooter that involved notifying you of every single problem on your server multiple times. Still, I would rather be spammed with notifications than receive none at all.

If I had not switched from a CentOS box, I would not know the chcon command to set textrel_shlib_t to my mods, as I cannot do it in the SELinux Administration without making it global. How do I fix the troubleshooter to report?

View 4 Replies View Related

Fedora Servers :: Rsync And SELinux: Software Not Working?

Feb 19, 2009

I am using FC 10. I did an rsync to get a software Matlab from the local lan. But Matlab does not work. The error is:

Quote:

License checkout failed.
License Manager Error -96
MATLAB is unable to connect to the license server.

[code]....

I have set SELinux as Permissive for the current enforcing mode, while the default enforcing mode is Enforced. I did rsync in this way:

Code:

rsync mecsmrao@10.16.4.32:/home/pkg/lic/matlab-7.6/ /usr/local/pkgs/matlab_7.6_r2008a/ -avtpog -e ssh

What am i supposed to do?

View 3 Replies View Related

Fedora Servers :: Open The SELinux Management Applet?

Mar 21, 2009

I am in a class called Linux System Administration and we are setting up Fedora 8 as a server. Per the class instructions, I have changed the default runlevel to 3 so the system always boots to a command line. The instructions say log in with your regular user account [I KNOW HOW TO DO THIS] and use the startx command to load GNOME. [I HAVE NO IDEA HOW TO DO THIS]

I searched the Internet and the text book, but found nothing I could understand.

View 6 Replies View Related

Fedora :: Get SELinux And Wine Error

Jan 2, 2011

I get the SELinux and wine error. How can this be fixed?

View 1 Replies View Related

Red Hat / Fedora :: SElinux Error And Lock Out

Sep 24, 2010

I have accidentally locked myself out in the following manner. I have Fedora 13 with SElinux. The whole hard drive was encrypted at install with Fedora's standard method. Upon logging into a non-root account called "hoss", I set the policy (in gnome) System menu -> Administration -> SElinux administration -> User Mapping -> added the logged on user as a SElinux user with only user_u privileges. After reboot, I successfully log in as hoss, but now I get an error when trying to open the SElinux administration, any open office program, or any task requiring elevation with root password (the prompt never comes up). What is worse is I did not set the ability to login the console as root. This user now does not have write privileges to any of root's documents. I cannot access the hard drive from a remote source because it is encrypted. Is there any way whatsoever to now elevate myself to root to reconfigure SElinux? When I open the SElinux administration Should there not be a prompt that gives me a root password to be able to correct SElinux by removing "hoss" from the list? As of right now this account seems to be totally unable to be elevated to higher privileges. I cannot even use the Add/Remove software feature to apply patches to SElinux without a root password. Elevating to su in bash is also blocked.

View 3 Replies View Related

Fedora Servers :: Samba Share When Selinux Is In Permissive Mode?

May 13, 2009

I don't think it has anything to do with the config file. More to do with SElinux. I need to know how to configure SElinux so I can see my samba share when SELinux is on. When I setenforce 0 I can seen all the files and folders set it to setenforce 1 cannot see anything.

Here is the output when I ran [root@fileserver /]# getsebool -a | grep smb
allow_smbd_anon_write --> on
smbd_disable_trans --> on

These two options were off I tried turning them on.

This is another one of the commands I tried running. I did change a few options but I am not sure which I do need to change. I am running a stand alone server so I don't need the DC option.

[root@fileserver /]# getsebool -a | grep samba
samba_domain_controller --> off
samba_enable_home_dirs --> off
samba_export_all_ro --> on
samba_export_all_rw --> off
samba_share_nfs --> off
use_samba_home_dirs --> on

I can also post a copy of my smb.conf file too.

View 1 Replies View Related

Fedora Servers :: Way To Continue To Use SELinux / Forward Root's E-mail To Outside Account?

Dec 23, 2009

I have installed Fedora Core 11 with SELinux enforcing.It appears (via log files) that if I use a .forward file in the home directory for root that SELinux prevents the use of this mechanism for forwarding e-mail.Is there a way to continue to use SELinux and be able to forward root's e-mail to an outside account?

View 3 Replies View Related

Ubuntu Servers :: Using Vsftp And Apache2 For Website?

Jun 19, 2010

I recently put a new install of Ubuntu 10.04 Server on an old dell I had sitting around the house with the intention of using it as an all purpose server machine (website, teamspeak, ftp, storage, etc.). I am running apache2 for the web server and want to use vsftpd to edit the website contents through FTP. The issue I am running into is that vsftp doesn't have permissions to write /var/www/ which is the default website directory. The flip-side issue is that apache2 doesn't have permission to access the /home/user/ directory which vsftp has permissions to write.

Because I am only interested in running a single website (no virtual machines/no extra IPs) fixing either apache2 permission or vsftpd permissions would fix the problem.Changing DocumentRoot to /home/user/ will make apache2 point to the new directory but I get a 403 error. I have no idea how to change application permissions.I need to use to give permissions for vsftp to write /var/www/ (vsftpd.conf is configured to allow write in home directory) OR the command I need to give permissions for apache2 to access /home/user/? I assume it is a chmod command but I have never used this and don't know what the permission codes (777, etc.) do in terms of giving me the necessary andsufficient app permissions. I don't want to give the app. too much access and risk creating some security flaw.Here are my vsftpd.conf, default (website config file) and apache2.conf.apache2.conf

Code:
#
# Based upon the NCSA server configuration files originally by Rob McCool.

[code]...

View 3 Replies View Related

Ubuntu Servers :: KVM - How To Change Storage Directory

Jan 24, 2010

I'm running Ubuntu 9.10 with Kvm. I've used a howto to configure my network. Seems to work fine, I've installed the Virtual Machine manager, when I go to create my Virtual Machine, I see the the image is automatically created in /var/lib/libvirt/images. I have a totally separate path for my images. How to I configure a different image directory

View 1 Replies View Related

Ubuntu Servers :: Cannot Rm Directory? Or Change Permissions?

May 27, 2010

i'm having issues with a folder which I cannot write to or seem to do anything else with? i figured i'd delete it and start again but i can't even do that!!

Code:
server@server:~$ sudo chown server /media/server/swap/downloads/incomplete/
chown: changing ownership of `/media/server/swap/downloads/incomplete/': Operation not permitted

[Code]....

View 5 Replies View Related

Hardware :: Dreaded "Out Of Range" Error On Viewsonic VG171b W/ATI RADEON 9100?

Nov 3, 2010

Trying to use my Viewsonic VG171b LCD connected w/DVI on a used system I just bought (2.6.32-25-generic, Ubuntu) and am just getting the dreaded "Out of Range" error on the monitor no matter what I try. Have read up on this extensively and tried many things, but have yet to get the monitor to work with Xorg in any video mode at all!Frustrated beyond belief. Have been working on this for two days and never once have I gotten anything but Out of Range. Monitor worked fine on my older SuSE system.Xorg.log reports the video card as "ATI Technologies Inc Radeon 9100 IGP rev 0".Driver is reported as:

(II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 6.13.0

[code]...

View 5 Replies View Related

Ubuntu Servers :: Change Tomcat6 Root Directory In 9.10?

Jan 6, 2010

I have newly installed Ubuntu server 9.10 in my server machine.And it has tomcat6 in itself.My friend have built a Java software in Fedora ,and he wants to move it to the new server.But problem is the directory structure is different between two systems.He has to either change his directory setting in his software or change the default tomcat6 ROOT directory. But I have not find any configuration file can do this job(change the tomcat default ROOT directory ).

View 3 Replies View Related

Ubuntu Servers :: Change Some Directory Permissions - Can't Determine Exactly

Mar 13, 2010

when I try to access [URL]... I get an exception:

[code]...

I believe I need to change some directory permissions, but I can't determine exactly what.

View 1 Replies View Related

Ubuntu Servers :: LAMP Installed > Need To Change Website Directory?

Jun 13, 2010

I just installed LAMP on ubuntu 10.04using this method:ow i want to change the directory where my websites are; default is "/var/www" right. I have a partition using NTSF file system where i have a folder with all my websites. Can i configure LAMP to use this folder?

View 9 Replies View Related

Ubuntu Servers :: Apache - Change The Permissions For A Directory And All Files Inside

Dec 12, 2010

I would like to change the permissions for a directory and all files inside the directory how do I do this? The website is located only on my local network so I am not worried about security. Also what would be the optimal permissions for running wordpress.

View 1 Replies View Related

Ubuntu Servers :: How To Change Mysql Data Directory Location In Lampp

Aug 23, 2011

I use dual boot with windos 7. i use xampp in win7. want to use lampp for ubuntu 10.04. i want to use one local server directoy for both . i successfuly changed htdocs location in lampp. but could not change mysql data directory location.

View 4 Replies View Related

Server :: Make VSFTP So One User "bird" Logs Into To A Specific Directory Like /foo

Jan 19, 2011

Im trying to make it so one user "bird" logs into to a specific directory like /foo

View 6 Replies View Related

Fedora Networking :: When Try To Mount The Share To A Different Directory On The Server, Receive A 'no Such Directory' Error?

Dec 18, 2010

I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.

I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:

aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010

[code]....

View 7 Replies View Related

General :: Selinux - Ftpd And Httpd Need To Access The Same Directory?

Jun 17, 2011

What if two programs say ftpd and httpd need to acces the same directory? Any way to set context type of that directory to httpd_t and ftpd_t? What do you do in a case like this?

View 2 Replies View Related

Installation :: Change The Boot Partition - Error: Bad File Or Directory Type?

Jan 31, 2010

I have presently a (working) boot dedicated partition, where grub stuff resides, but I want to change it to a common "/boot" folder in the root partition (in a different hdd). For some reason I can't do it. The first thing I did was to copy all the things that are in the boot partition to a boot folder on the root partition. After that, I tried: grub-install /dev/hdc1 (which is odd but it's where the root partition actually is)

When I did it from the linux I have installed on my hdd, it actually did something, I don't remember all the output (except that there was something about it not being able to access hda, which is oddly the dvdrom), but it didn't work. From a live CD, the same command (grub-install /dev/hdc1) is answered with: Could not find device for /boot: Not found or not a block device. From grub's own prompt, the things are more or less the same. First of all, it does not find stage1, even though I did copy the content from the boot partition to a boot folder in the root partition.

I tried to proceed, anyway, with root (hd1,0) and setup (hd1,0) (which is /dev/hdc1, according with the "geometry" info given by grub). "Root" is accepted, but "setup" is answered with: Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 2: Bad file or directory type But the files are there. I can't "cat" the menu.lst from grub though, unlike with the actual working boot partition. The same error message. From the terminal, however, it's all there. I tried with /dev/hdc1 both mounted and unmounted, the same message. So, basically I have two questions, I guess:

1 - can I really do this sort of thing running a linux installed on a hdd, rather than a live cd, or is the live cd preferable for some reason?

2 - what am I missing?

(A note that may worth making is that I'm using the soon-to-be deprecated grub version, 0.9 or something, not grub2. I think it shouldn't be a problem since I've installed the system with the old version to begin with, but that may be irrelevant, I don't really know)

View 6 Replies View Related

Fedora Servers :: SELinux Is Preventing /usr/sbin/vsftpd "net_raw" Access

Dec 31, 2009

I receive the message "SELinux is preventing /usr/sbin/vsftpd "net_raw" access" many times. Found this bug at redhat but really do not understand what i should do about it ((( Kindly let me know how to change this to normal. Shut down Selinux is not the way out.

View 14 Replies View Related

Ubuntu Servers :: No Such File Or Directory Error?

May 11, 2011

rcon@li121-251:~/b3$ ./b3_run.py
: No such file or directory
rcon@li121-251:~/b3$ l;

[Code].....

as you can see up top it gives me an error when i try to run the file. it is a Ubuntu error and i don't what the heck is causing it. had it before but don't remember how i resolved it.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved