Security :: Create A Remote .ssh Directory In An Alternate Location?
Feb 21, 2011
I've set up ssh passwordless logins using keygen etc.before so I know the routine.
The problem I'm currently having is setting passwordless logins when I don't have write permission to my "root" of the remote machine. More specifically the slice provided by a commercial web hosting provider. I can ssh and sftp just fine keying in the password manually but since I'm unable to create a .ssh directory in my "root" I'm unsuccessful in scripting logins. What I'm wondering is if the .ssh directory and associated security files can be placed in an alternate location such as the httpdocs directory and pass that location to ssh in a command line parameter.
While I trying to install Linux cable driver following error occurred. "checking for linux kernel source... not found configure: error: please install the kernel source or specify alternate location"
I tried by "yum install kernel-devel" and headers but still problem continues. How to set the path or where it installed in default. CentOs 5.5 uname -r :2.6.18-194.el5
I'm working with a program that uses Open Motif to create all of the widgets, including the Open File dialog box (obviously). However, Open Motif being kinda old-timey, 80's vintage, and for the most part now an abandoned project, it is quite clunky. So, actually what I need to do is to open some files located on my work server. I have already successfully connected to the relevant server directories with Samba, and with programs built with GTK+ (such as GIMP) I can open files across the network because I have created a bookmark in Nautilus, and those bookmarks appear in the Open File dialog box created by GTK+. Now, Open Motif is different: it doesn't see network locations, orNautilus shortcuts. When I type "smb://serveripyadayada" in the search folder, it really doesn't like it and complains. So, what do I do? Can I get somehow Open Motif to open a network location? Or can I do a run-around and place a shortcut in the file system that points to the network location?
I use ubuntu 10.04 as my OS. Im in the look for a good and simple application in order to password protect a folder or two on my portable hard drive. I really dont need high levels of encryptions but I wouldnt mind if the usage is not so complicated.
I have 1 HP Workstation xw4400 and 16 HP HSTNC-002L-TC. and I want to create LTSP for ubuntu(10.10 or 10.04.1 alternate). for important, I am begginer and I am not know ubuntu well.
I have an NFS mount on the NIS client that I want to use as the home directory for all NIS users logging in, but I also want to retain the original /home directory for system users and root on the same client.The NFS mount is /nishome, and when I defined the NIS user on the the NIS server, I identified this mountpoint as the NIS users' home directory. This same NFS mount is mounted on the NIS server as well.
i found samba as domain join service and print sharing, i am looking more then thisi have been looking any commercial or open source solution available as alternate of active directory. as we are all aware that AD infrastructure is highly complicated.the main issue we need to resolve is
- password policy for all users 90 days expiry - use complex 9 chars policy - assign permission/groups file/folder sharing
i am trying to use /etc/sysconfig/dhcpd to specify alternate config directory. My file looks like: # Command line options here DHCPDARGS=-cf /etc/dhcpd/dhcpd.conf
I've been looking for this feature for months and couldn't find a solution for this. Does anyone know how to create users and limit the user to a specified directory?
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?
I have a openvpn server configured and users are using from remote location. I got some errors in the /var/log/messages file as:PHP Code:
Dec 18 16:09:37system openvpn[7221]: x.x.x.x:58983 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Dec 18 16:09:37 system openvpn[7221]: x.x.x.x:58983 TLS Error: TLS handshake fai
I have an apache server setup where I have different rules using <location>. Essentially, I have a test environment "/test/" and I would like to capture the logs for activity in this location and direct it into a separate log. I know that perhaps I should have set up virtual hosts, but I wasn't aware of them at the time and the change over can not be accommodated at the moment (the change control wouldn't be agreed). I was wondering if it could be done using environment variables.
At the moment I use: Code: tail -f /var/log/httpd/error_log | grep "/test/" but this does miss out some messages, particularly multiple line SOAP messages.
Well, I am facing problem when doing lab questions.
I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).
I am required to use the /usr/local directory.
In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".
I have to zip de home directory to a location but i can't seem to get it done.
I have succeeded to zip a folder within the home folder (Music folder) but when i try to zip the entire home folder i get an error. I have tried different ways but no success so far.
This is what i tried so far:
1) tar cf backup_homedir.tgz ../
2) tar cf backup_homedir.tgz /home/indur
Error message: ( i hope i translate it well because my language isn't english, so the message isn't as well) tar: backup_homedir.tgz: Function open () failed: access denied tar: unrecoverable error -- tar is closing
Code: mkdir: cannot create directory `/dev/cgroup/cpu/user/5900': No such file or directory bash: /dev/cgroup/cpu/user/5900/tasks: No such file or directory bash: /dev/cgroup/cpu/user/5900/notify_on_release: No such file or directory It seems like it's probably from this part of .bashrc:
[Code]...
What does this code do, why, and what's causing it to go wrong?
I would like to move the /home directory to a different location, there only seem to be guides on how to move it to it's own partition.
I have a drive (/dev/sda5) mounted as /media/data
I would like to move /home to /media/data/home?
I have tried usermod but get the following error:
Code: test@TestServer:/media/data$ sudo mkdir /media/data/home test@TestServer:/media/data$ ls home lost+found test@TestServer:/media/data$ sudo usermod -dm /media/data/home usermod: user '/media/data/home' does not exist
I have a dual-boot win7 and Ubuntu 10.10 and I want Ubuntu to use my windows user folder as home. I edited fstab to give me ownership and mount it to /mnt/Windows at startup but whenever I change the location of home in the Users and Groups it acts like it is changing it but it never does. I close the settings and when I re-open it, it is set back to /home/me.
I have noticed that on a Mac which is Unix based too there is a different home directory which is NOT /home/user/ but /Users/user. How can I change my home directory in linux to something else? Even as an experiment? Is it possible? and how?
I have used a couple of slackbuild binary packages (i.e. without doing the actually build) and have worked fine. Thanks to those who have spent the time and effort to create them.
When installing the package I wanted to know what binary files were being put on my machine and at which directory location. This was more out of curiosity.
However, now I plan to get the boost slackbuild package. It's more relevant to know where it's being installed. Is there a way to know that? Also, can I specify a different directory?
While setup of vmware on CentOS5.4 i am facing the below error.What is the location of the directory of C header files that match your runningkernel? [/usr/src/linux/include]
I have read that it is best to have a volume LVM set up to contain the BackupPC data that it generates when backing a machine(s) up. By default BackupPC stores the back up data in /var/lib/BackupPC and there is information on how to create a link to the new location and what to mount on the new dedicated LVM What I do not know is how to create a new LVM for the BackupPC files/data on the machine I have. Currently I have a machine running fedora 15 64 bit. It has BackupPC installed via yum but I have not run it as yet. I believe that I have the necessary dependencies installed The machine has two hard drives, one a 80 GB and the other a 500 GB. Currently Gparted is showing;
/dev/sdb1 ext4 /Boot 500MiB /dev/sdb2 Lvm2 74.04 GiB (in properties it says it is not mounted) /dev/sdb1 Lvm2 465.76 GiB (in properties it says it is not mounted)
When the machine was loaded with Fedora it was set up as 1 partition and was just a standard out of the box Fedora install accepting the defaults. how do i go about setting up a LVM that I can expand later if necessary to hold the BackupPC data? I saw in one post some where that person call the group Main. how to" or provide a set by set guide as to how to achieve this. Or provide advise o the best way to set the machine up. I do not intend to run anything else on the machine. It is there to back up a server (Fedora 14), A general use machine machine (Fedora 15) and a windows machine (XP).
I have a large collection of files on a computer (tallgrass) and tallgrass is running an ftp server, which I have the username and password to. There is about 600 GB of files on tallgrass that I need access to, but I don't have a big enough hard drive. I need these data files to run a cpu-intensive calculation, and my CPU is significantly better than tallgrass' cpu, which is why I want to do it on my computer. (Tallgrass also doesn't have enough RAM.) What I would like to do is create a "symbolic link" on my hard drive that will point to the directory containing the data on tallgrass. Read-only is perfectly OK. This way I could read from mylink/data0001.dat and it would read from the file data0001.dat over ftp from tallgrass. I shouldn't have any speed issues because tallgrass is on my 1 Gbps LAN. Is there a way I can do this?
I always use VNC to check my server for updates, and this morning I started the xvnc4viewer to vnc into my server and it keep asking for a password. I never setup a password because I do this local from my laptop, and I am the only one who uses my laptop. I had to go to my server and check the setting in System > Preferences > Remote Desktop and found them all changed. There was a password setup and there was a check mark in the you must confirm each access to this machine there some security update that changed all these setting? Sometimes when I do updates I don't know what is being changed on my server
I am running VMware inside windows 7 64bit.I have installed ubuntu 2.8 ultimate edition on a 20gb partition and used 1gb of ram....everything is updated etc and running good. I checked in the VMware tools bar the entity tab,and says tools is not installed.
So when i run the install everything goes well untill it reaches the point where it says "What is the location of the directory of C header files that match your running kernel?
I have tried everything,different tutorials,installed a build package etc and it still asks for the directory. here is the uname r output : uname r : 2.6.35-24-generic
I am planning to install Ubuntu or kubuntu netbook remix on my netbook. WUBI has a problem downloading the .iso file. So do you know where the wubi directory in windows is, i have the .iso file.