Server :: Could Not Create Directory Ssh
Apr 29, 2010
I try to run in php script..
================
shell_exec("ssh admin@192.168.1.13 reboot");
===============
in php....I have put the key on server...
i can ssh server without a password.. i got "Could not create directory ssh... " error message from that php script... if i did "ssh admin@192.168.15 reboot" from shell it works ok....
View 5 Replies
ADVERTISEMENT
Feb 25, 2010
I have a centos 5.4 64-bit machine. I installed the directory server following those steps.
I then added some users using the Centos Management Consolecentos-idm-console -a http://localhost:3890 &
View 3 Replies
View Related
Jan 27, 2010
i'm using ftp server with RHEL-5.1 now i wish to an anonymous user can create and upload some file on my ftp server...for this i configure the entries in /etc/vsftpd/vsftpd.conf
anonymous_enable=YES
# Uncomment this to allow local users to log in.
local_enable=YES
[code]...
View 4 Replies
View Related
Jul 15, 2010
I have just configured a Directory Server and I have been able to login using the credentials as a Directory Manager on the server.
I am working on the server through VMWare.
After logging into the server, when I am trying to add a user, say "user1" I am unable to do so, in the name of the user name field, all I can see is a "u" and not the complete user name, the same thing happens in case I try to setup a password, so i really don't know whether the password that I am setting up is being accepted or not.
Also while trying to add a user, i can see the logs running in the background on the terminal, that a java program is running as I typing or clicking on any button.
Can someone suggest me what to do to proceed ahead, I know its a strange issue, but I have to do it.
View 4 Replies
View Related
Jan 27, 2010
i'm using ftp server with RHEL-5.1 now i wish to an anonymous user can create and upload some file on my ftp server... for this i configure the entries in /etc/vsftpd/vsftpd.conf
anonymous_enable=YES
# Uncomment this to allow local users to log in.
local_enable=YES
[code]....
View 3 Replies
View Related
Jan 2, 2010
here i want to ask u a simple do quations like
1.how to create repository of Server directory which contains rpm files
now i will tell how to create repo and problem is in it
at first i had created one directory in filesystem /data
#mkdir /data
now i mounted the ftp server to /mnt
#mount 192.168.1.254:/var/ftp/pub/ /mnt
and copied directory of Server
#cp -r /mnt/Server /data
# createrepo -v /root/Server
# vim /etc/yum.repos.d/rhel-debuginfo.repo
[Code]....
2.how to install total packages by using repository through yum command what are the steps to update and remove the packages
View 1 Replies
View Related
Jul 30, 2011
I am using NIS and I want to replace this with 389 ds. I have installed 389 ds and configured it. I could create user account from 389-console. But it does not create user home directory. Do I have to create user account and user home directory in linux first?
View 1 Replies
View Related
Oct 14, 2010
I am unable to create a directory as an anonymous user using FTP. Settings are as below mentioned:-
vsftpd.conf
anonymous_enable=YES
write_enable=YES
anon_upload_enable=YES
[Code].....
View 3 Replies
View Related
Feb 6, 2011
I was installing yum from the server folder. first i copied the server folder in a folder which was at root then i change the current directory to server and then create a repo by using following command
Server]# rpm ivh createrepo then tab to get the correct name
then ]# createrepo .
]#cd /etc/yum.repos.d/
]# cp -apr rhel_debug_info.repo yum.repo
]# vi yum.repo
[Code]...
how can i completely install the yum so that i can install my necessary packages
View 1 Replies
View Related
May 12, 2011
I'm trying to build a cups server (with cups-pdf) and it's not printing (creating) the PDF output. from cups-pdf log:
Code:
[ERROR] failed to create directory (/home/testuser/PDF)
[ERROR] failed to create user output directory (/home/testuser/PDF)
the lp command is being ran from SSH as "testuser", who is in the lpadmin group (as well as sysadmin, users, and about 5 other groups while troubleshooting this) I've tried creating the PDF folder as both the user, and as root but still no output file (when the folder is created the first error goes away, but the user output error remains) *note, the /home directory is a symbolic link to a separate partion (/storage) I'm still a bit green on linux, but the server is headless, and for now i'm just trying to get normal users able to print using cups-pdf
here's my cupsd.conf
Code:
#
#
# Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
# complete description of this file.
[code]....
View 15 Replies
View Related
Jan 7, 2010
I have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.
When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it? /var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there
View 5 Replies
View Related
Jun 16, 2010
I am a student studying computer science course.
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.....".
Look at my screenshot at [url].
View 9 Replies
View Related
Jun 21, 2011
I get the following error whenever I launch bash:
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?
View 7 Replies
View Related
May 26, 2011
I need to create a directory named just like his parent.
Example:
I tried this but because there is "Space Characters" in the name of Parent directory, my script fails.
View 8 Replies
View Related
Nov 4, 2009
I bought a web hosting account(cPanel) and I want to create my own name server(ns1 and ns2.mydomain.com). So when I want to host addon domain, I can point them to my name server instead of hosting company name server.
View 10 Replies
View Related
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
Jul 14, 2010
How to change the password of Directory Manager in RED HAT Directory Services through a ldapclient through command line or graphical.
View 1 Replies
View Related
Nov 13, 2010
I was trying to install vim today and could not find .vim directory where I could install them and only the .vimrc file was there So what I did was Try making a .vim directory copy the .vimrc file in it and and removing the old ~/.vimrc file. I exported the ~/.vim/ to $VIMHOME
View 5 Replies
View Related
Jan 28, 2010
iam new to linux. wanted to know-->how to create a shared directory in lunix which should be accessible from windows
View 4 Replies
View Related
May 2, 2010
In Elastix, I get to amportal.conf via the /etc/ director. The file tells you:
[Code]...
It appears that AMPADMINLOGO=logo.png is calling out to something that is not there. I can't even find AMP directory. See below. Do I need to create a directory? This is the result of an ls -F at my /etc/ dir:
[Code]...
View 1 Replies
View Related
Feb 23, 2010
$val = mkdir $directory, 755
print $val;
does't create directory but return as value '0'
[code]....
View 2 Replies
View Related
Apr 4, 2010
I m having a RHEL-5 sever.ABC directory size is 57GB after taking backup in the same disk with name ABC.bkp showing 56GB. i used below command to copy/backup. # cp -r ABC ABC.bkp (different sizes after copying)..I checked both the directory sizes by #du -sh <ABC> and du -ks <ABC.bkp>In both GB and KB there is lots of difference (200mb). why this will happen in copying? what is the solution for above question? what is the correct way of copying 1dir to newdir exactly?
View 4 Replies
View Related
Jul 20, 2011
I'm using OpenSSH 5.5p1 on Fedora 15. I'm trying to get a chrootDirectory to work. Specifically trying to figure out why I can't write files to a sub-directory of the chroot directory. I created a user test_user and created a group called sftp. I added test_user to the sftp group. I edited /etc/ssh/sshd_config as follows:
Code:
Subsystem sftp internal-sftp
Match group sftp
ChrootDirectory /home/sftp_users/%u
X11Forwarding no
[code]....
View 1 Replies
View Related
Apr 17, 2011
I build simple spec file and build rpmI transfer the new rpm to other Linux machine in order to install the new rpmaccording to the spec file the new rpm -> test.sh-6.2-2.i386.rpm should create the /tmp/MY_RPM_TESTS directory , but this rpm not create the MY_RPM_TESTS and sub directoriesplease advice why , what I need to fix in the spec file? RPM installation:
[root@linux1 rpm -Uvh /root/rpmbuild/RPMS/i386/test.sh-6.2-2.i386.rpm
Preparing... ########################################### [100%]
This is preinstall script
[code]....
View 1 Replies
View Related
Jun 18, 2011
I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously.
I would like to create another user account, which would be able to access this server using SSH too, but only to a certain directory, for example /var/www/example.com/
For example, imagine this user has a HUGE error.log file (500 MB) located in /var/www/example.com/logs/error.log
When accessing this file using FTP, this user needs to download 500 MB to view the last lines of the log, but I'd like him to be able to execute something like this:
Therefore I need him to be able to access the server using SSH, but I don't want to grant him access to all server areas.
View 2 Replies
View Related
Sep 14, 2011
There are two directories A and B and a file F which is located in B. The working directory is B.How can you create a symbolic link in A pointing to F in B without changing the directory?
View 2 Replies
View Related
Jun 16, 2010
I have Administrator rights. I want to create new folder into /opt directory. So i clicked(Right click). but new folder menu has disabled. I cannot create new folder. Then Alternatively I used terminal. then I type mkdir /opt/lampp/htdocs/dummy now folder name has created. but I cannot paste anything into my dummy folder. So I checked permission which has you are not owner. How to create new folder & copy contents to new folder.
View 1 Replies
View Related
May 13, 2011
I want to make a image directory in the WWW folder. It works fine, but when I link to the images on the page it stands that I don?t have permission to the picture, 403. How do I set the permission?
View 2 Replies
View Related
May 17, 2011
i wanted to make some ftp users that will be hooked to directory and wont be able to move backward and to see the system files
ex
user : Eyal
Directory : /home/Eyal/Eyal
so he cant get to /home/Eyal
but he can go to /home/Eyal/Eyal/cstrike
View 4 Replies
View Related
Jun 18, 2011
When "installing" a program that basically just unpacks into a directory of your making. Is there a "common" place to create the directory? I usually end up making it my home folder, but that gets crowded.
View 9 Replies
View Related