Fedora :: Allow CGI Execution From Home Directory On 15
Aug 27, 2011
I have been trying to get my development box up and running and I decided to do some CGI work in Perl and I am getting a 500 error on Apache 2. I have checked all the perl settings and the script runs fine on the CLI. I am simply passing a textfield from a HTML form to Perl. I was using the standard CGI.pm calls but I modified the script just to use print statements to make the output page. The script has one textfield in it, as it was just supposed to test the CGI.
I have the UserDir directive active for my user and I did some modifications to allow CGI execution from my home directory /public_html/cgi-bin/. the script will not run from the main /var/www/cgi-bin directory either,that also returns a 500 error. the permissions are 755 on both copies of the script in the cgi-bin directories.
View 3 Replies
ADVERTISEMENT
Jul 21, 2009
I have a strange problem when I do SSH to a FEDORA9 based Linux Server.
[Code]....
When I login using "adah" username in TELNET I am automatically directed to my home directory at location "/media/disk-1/home/adah". But when I use SSH to login using the same username I get the following message Code: Could not chdir to home directory /home/adahaj: Permission denied
View 7 Replies
View Related
Apr 20, 2010
I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.
The easiest way to do this would seem to be to just change & export $HOME, eg
cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions
However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?
View 1 Replies
View Related
Jul 24, 2009
When i try and log in with my user it is giving me an error I have removed gnome from the computer and put kde as my desktop I can login with root can't enter home directory using / is the error
View 14 Replies
View Related
Jul 29, 2009
I use ext4 for the lvm2 home partition on Fedora 11. Yesterday, I must shrink my home partition and the operation crashed. Then a new ext4 partition becomes a backup "cp -R /mnt/backup/* /home" + chown + chgrp and boot Fedora again.
The login failed and the message of Fedora is "Cannot enter home directory. Using /."
What is the problem?
View 12 Replies
View Related
Nov 29, 2009
Every time I start a terminal it defaults to my Documents directory and I would prefer it default to my /home/thisuser directory instead. Anyone know how to set that? I tried looking in .bash_profile and didn't see anything. Nor did the man page have anything that seemed like what I was trying to do...
View 14 Replies
View Related
Nov 24, 2010
I've installed F14 to replace another distribution on my PC. I chose to use KDE. I used to have a separate partition for my user home to be mounted as /home. During the installation I instructed the installer to do so (without formatting of course). At the first boot I created a use with the very same name as I used to have. I got the warning about the home being already there and I said "yes, convert that ownership and selinux stuff so I can use that very directory as my home". At the graphical login I get a dialog saying I cannot enter my home and that it will use / instead. Of course the login process fails. If I switch to the character console (CTRL-ALT-F2) and do a login I actually get the very same error. But, if I hit "cd" (change directory to $HOME), then I get in the proper directory.
Update 1. I guessed it was a SELinux problem. And I manually disabled it into /etc/selinux/config. Now I'd like to fix this issue, because I'd like to have SELinux working.
View 8 Replies
View Related
Mar 16, 2010
Supposedly, the person who used to manage the server set up an admin account before they left, but when I try to log in to it I get the error:Your home directory is listed as:'/home/username'but it does not appear to exist. Do you want to log in with the / (root) directory as your home directory?It is unlikely anything will work unless you use a failsafe session. I've browsed a couple other topics with similar problems and tried some of what was suggested, but I haven't gotten anywhere.
View 9 Replies
View Related
Oct 26, 2009
I've made a LAMP install and used it as a test server connected to my Mac. Good. I managed to get Dreamweaver to work with the server and had access to the home folder from my Mac. The bad part is when I was setting up the permissions for my Mac to connect, I gave it too many rights and set /etc/exports with "no_root_squash" option. This allowed me to change permissions in my home folder from the Mac! That was really cool. The trouble started when I tried to get too clever about managing my F11 test server.
The permission change on the F11 box from the Mac created a new user 501. All the home files had this new user, 501, and a new group 501. I manually edited the /etc/passwd file giving this new PID a meaningful name, rXtian, and set its group to Xtian from the original user. Just to make myself feel really clever, I read in my "F11 Bible" that a "portable desktop" would make it easier to manage log in from different machines. I created a new home directory and CP'n the content from:
/home/Xtian
to
/home/xtiansimonsibm/Xtian (with -rw-r--r-- rXtian Xtian)
What I mean to say is I deleted the old /home/Xtian directory for reasons I do not know. Thats when all the trouble started. I can't login to either user, rXtian or Xtian. I can only get on as root. I tried to start over by creating a third user with ADDUSER including the base set of user files. I renamed home/xtiansimonsibm/rXtian. I can't log in to either. I used PASSWD command changing Xtian and rXtian's loginpass, but neither password has taken. I still have the test server working, but I can't login to the home folder anymore. What can I do? Any tutorial or checklist for repairinig the user permissions, passwords?
View 2 Replies
View Related
Nov 17, 2009
I used to use Unison to synchronize files between various Unix/Linux computers. I've an USB stick onto which i put files I've to keep with me (when I work outside home). When I get back home I'll like to synchronize with my laptop running Fedora 11. If the file is on the usb stick no problem, it gets copied onto my home directory and everything is fine.
But if the file has to go onto the stick, Unison complains it can't set the file's permission (of course, on a Vfat file system) and refuse to copy it. Question : Do you know a way to avoid setting irrelevant permissions on a file with Unison or an other utility of this kind ?
View 1 Replies
View Related
Dec 21, 2009
When I login to GNOME I see all the files in my home directory on the desktop. Is there a way to turn that off ?
View 4 Replies
View Related
Jan 17, 2010
but something a lot of folks may not be aware of -- you don't have to go messing around over in /usr/share/fonts anymore if you've got a single-user type machine and just want some fonts for your personal desktop.Since I wipe most partitions when I upgrade (/home is on a separate one) this makes the fonts stay with my login. This is GNOME specific, I do believe KDE has a control panel to install fonts.
Obtain the TTF font(s) youd like to use; Ill use the custom Monaco Linux font as an example.
[Code]...
View 5 Replies
View Related
Mar 18, 2010
I'm having trouble since I installed the newest kernel update. I only have one desktop. I unistalled compiz. Then I get the message 'you don't appear to have a window manager installed' I reinstalled compiz, but it gives me a misty screen, with the cube desktop. How do I set compiz to a default setting? Plain and simple? Where is the config file? This may have started when I clicked a box 'enable indirect rendering' just to see what happened. I have an nvidia 9200 card on an Asus laptop.Failing that, how do I reinstall Fed 12 without wiping out my home directory?
View 14 Replies
View Related
Sep 22, 2010
I have a dual-boot macbook with an OS X partition and an ubuntu partition. When I first installed ubuntu, I changed my home folder to my OS X home directory to synchronize all my files from both. My home directory is now /media/sda2/Users/username/. In a regular home folder, the icons for Documents, Music, Pictures, Movies, etc. are different (not just with emblems, but actually different icons). But when I changed my home folder, these subfolders' icons stayed the same as regular folder icons and I can't figure out a way to change that default setting. I know how to change the icons for each folder manually, but these changes don't appear everywhere (i.e. nautilus, places, etc). Furthermore, every time I change my icon theme, I would have to manually reassign icons for these folders. Is there a way to globally change the folder icons for these folders?
View 2 Replies
View Related
Jan 6, 2010
I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -
Code:
login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$
Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.
View 14 Replies
View Related
Jun 19, 2010
Is there anything special about a home directory before users' home directories are stored there, or is just as typical as any other "empty" folder?Let me just cut to the chase, but please no ear ringing about the folly of messing around as root, particularly with directories at root level. I know it's considered stupidity, but I deleted my home directory.
Is there an easy way to restore a working home directory? I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. Are these files suppose to be in "/home" or "/home/~" or both?
View 10 Replies
View Related
Jul 24, 2009
Not sure what the problem is, but my home directory or /home partition is acting up so that I cannot see the hidden directories in my home directory.
If I type "ls" I get the display of all my files and directories.
If I type "ls -l" I get the display of files and directories.
If I type "ls -a" or "ls -la", the terminal hangs.
Any thoughts? I have tried creating myself a new account and moved all my files over, then changed the ownerships to the new account. However, now the new account is acting the same way.
View 14 Replies
View Related
Aug 1, 2009
So I messed up a little and didn't leave enough room on my disk. I want to shrink my home directory and move it to the end of the drive. Is this possible? It's ext4 but no an LVM partition though.
View 1 Replies
View Related
Aug 23, 2010
Im logged in as root in Fedora, What is the home directory pathname?
View 2 Replies
View Related
Dec 15, 2010
I'm trying to restrict a particular ssh user to his home directory, I'm just giving him access so that he can ssh to another server that is only accessible from the former but restrict his movement so that he can't poke around the former.I already made some changes to sshd_config file and added the following line at the end:
Did some test, user joe can ssh to the server but unable to do anything aside from logging in, even a simple ls command will immediately close the putty session. I know I'm still missing something but don't really know what it is.I also tried this how to that uses rssh --> http://www.adamhawkins.net/2009/05/r...ured/#more-431 however when I login the session immediately closes.
View 5 Replies
View Related
Apr 5, 2011
CentOS 5.5
I am trying to add new users, when I use the command: # useradd newuser
I get: useradd: cannot create directory /home/users/newuser
I went to my /etc/skel and when I use the command ls it displays:
home
and when I go into /etc/skel/home I have the two directories that I created.
I am logged in as root, and when I ls cd / it shows /home, when I cd into /home everything looks normal.
How do I get this error to stop so I can add new users?
View 7 Replies
View Related
May 24, 2011
I need to specify a different path to home directories on a particular server than what LDAP contains for the users, besides using a symlink. E.g. "/Users/jdoe" vs "/home/jdoe" I don't want to change the actual LDAP attributes, just want a particular server to point them in the right direction (Ubuntu 10.04).
I'm assuming it's something I could probably set in pam configurations?
View 1 Replies
View Related
Feb 1, 2009
I just installed FC10 and then used yumex to install the vsftpd FTP daemon package. I'm using the vsftpd.conf file that came with the distribution, and its almost identical to one I copied from my FC2 machine's working set-up. When I try to FTP in as a known system user I'm presented with my home directory /home/myusername/. The directory appears empty to the FTP program, but isn't in reality. I can't upload a file to the empty home directory. I can move up the directory hierarchy to /home/, but again that appears as an empty directory.
I don't think it's a vsftpd.conf file issue. I've tried everything I can there. Could it have something to do with permissions? I fiddled with those, but couldn't make an FTP directory listing work.
[code]....
View 5 Replies
View Related
May 6, 2009
I am looking into encrypting some data on a Fedora samba server. I'm not entirely sure the best way to do this. The server is currently running Fedora 5 but it can be updated if necessary.
I would prefer if the server could be booted up and that no interaction at the server itself have to be done so that users can access their shares.
Is there a way for the data to be encrypted on the server but when the user access the share over samba that it can be accessed?
The research i have done so far seems to point towards methods more intended for a desktop setup. Such as entering passwords at bootup or when opening folders.
View 1 Replies
View Related
May 21, 2010
I have an SFTP server using OpenSSH on a server running Fedora 12. I want to chroot my sftponly users into their home directory but I want to let them have write access to their upload/ folder. Right now users can log in and view & download items, but for some reason I can't get write access to work. Here's some info:
username: testuser
group: sftponly
from /etc/passwd:
testuser:x:501:501::/home/testuser/:/bin/false
[code]...
View 1 Replies
View Related
May 28, 2010
I am using back in time to back up files from home and from another mounted directory on my system (ntfs). The back-ups are occurring automatically and appear to be complete; but, I cannot delete old back-up snapshots in the backintime GUI Also with sudo nautilus or as root in terminal with (rmdir) I cannot delete the snapshots. My drive is filling up and rather than uninstalling back in time, I would like to simply delete the unneeded snapshots. How can I delete these files? Is there an rsync file that I should configure to delete these? My expectation of backintime was that it would back-up at the requested frequency and not create complete duplicate copies of the files, but, use symbolic links to unchanged files. How can I verify if this is the case? Does the cron file control this>
View 1 Replies
View Related
Jun 4, 2010
i am getting weird results after mounting the /home directory from the server. seems like the client sees the ldapuser and it's directory from the server side.. /home/ldapuser. but it's pulling the "blank" user as it's permission. blank is the actual user on the client side. any ideas why?
server side:
[root@localhost ~]# showmount -e
Export list for localhost.localdomain:
[code]...
View 2 Replies
View Related
Apr 12, 2011
I see this questioned asked a lot and figured this tutorialThis tutorial explains how to create an SFTP server which confines (or chroot) users to their own home directory and deny them shell access.
View 1 Replies
View Related
Nov 2, 2009
When I booted up this morning the contents of my Home directory are all showing up on my desktop, and there is no single Home folder. How did this change, and how can I change it back so that the Home folder is on my Desktop with the contents inside of *it*?
View 5 Replies
View Related
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