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
I am attempting to configure vsftpd to allow anonymous users to PUT files into a shared incoming directory. This would be like a dropbox for my customers. Ideally, the incoming directory's contents would not be viewable by the users.
I believe that refused connection is due to the PAM configuration for vsftpd.
May 4 08:03:16 WSVM-S1-1 sshd[1512]: Invalid user anonymous from xxx.xxx.xxx.xxx May 4 08:03:16 WSVM-S1-1 sshd[1513]: input_userauth_request: invalid user anonymous May 4 08:03:16 WSVM-S1-1 sshd[1512]: pam_unix(sshd:auth): check pass; user unknown
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
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?
I configured a server with vsftpd, and what I want to do is force local users to use SSL (which I have done), and allow anonymous users on the "ftp" username to access the server with only a password and no SSL. Here is my configuration file:
Code: # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all compiled in defaults.
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.
I'm trying to use Nautilus's connect to server to connect to an ftp server, but I'm having a problem. The username on the ftp server is "anonymous", but it requires a password. When Nautilus sees "anonymous" as the username it assumes it's dealing with a public ftp server and doesn't prompt for a password, and then, of course, I fail to connect.
I've tried modifying the .gtk-bookmarks file to account for this, but this leads to another problem. The password opens with a / and for whatever reason, this leads to Nautilus popping up an error: "Could not connect to ftp://anonymous:0/[rest of password]@[server]". It's adding a "0" to the beginning of my password for some reason. Is there any way to fix this without changing the password?
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 have rhel 5.2 and i want to create user using useradd command without creating user home directory and not throwing any warning/error about not creating any home directory.i have tried useradd -u "$NEW_UID" -g <gid> -d "/home/$1" -M "$1"where $1 is user name and $NEW_UID is i am calculating.it throws error as useradd: cannot create directory /home/$1which i dont want to come , how to prevent this?
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 a network set up that has been working for around a year with no problems but has now developed a login problem. The system was set up with a main server with all users on it and another PC located elsewhere that people could log onto using there personal login and password that then gained access to the account on the main server. This remote PC has now got the problem. When you try to log onto an account it comes up with the message "your session has lasted less than 10 seconds. If you have not logged out yourself this could mean there is a installation problem or that you are out of disk space."
Error message says that no profile for the user can be found and it couldnt create per-user gnome configuration directory. I can log on as root onto the remote PC as it is obviously a local account but all the account on the main server are not accessible. From the root account I can see that the connection to the server is OK and I can actually log into the accounts on the server using the failsafe session so the physical network is OK.
I never built or designed this set up and to be honest I normally work with windows so its all a bit strange to me. Both PC's run Centos 5. I have checked the messages log and there doesnt seem to be any indication of a problem. Just that it stopped connecting from the remote PC. The accounts are all active on the main server itself and have no problems being accessed.
I set up an FTP server with two separate directories. One of them is mine, and the other one is shared (for anonymous ftp). The layout is like this.
/home/hallvor <---- this is my ftp directory where I keep my private files. I am the only user. /home/ftp <---- this is the shared ftp directory with anonymous login.
Whenever I transfer files from my ftp directory to the public /home/ftp, I would like to: prevent anonymous users from deleting files in /home/ftp or uploading their own files to that directory (read only) What permissions must I set? I think this is all a bit confusing. I tried to chmod /home/ftp to 644 and change ownership to root, but that made it impossible to even log on anonymously.
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.
I need to create an SSH user that can only access the directory I would specify for them. For example, I've been able to execute the following: useradd -d /home/me/directory_for_this_user someuser
So when someuser logs in they get into this directory. Problem is that once they log in they can simply execute: cd / and navigate through all other directories which is a security risk.
How I could limit someuser's access to only /home/me/directory_for_this_user and its subdirectories and nowhere else in the system?
I am using ubuntu on my netbook... My user ID is the only user and also the administrator of the machine... Still unable to create another user. It says "You are not allowed to modify system configuration"
I've managed to set up a ftp server with gadmin-proftpd, i need to access the "Downloads" folder from the "Home Folder" but it won't allow me, I've set up the login fine, I just can't get it to show the directory.
Status: Connecting to Status: Connection established, waiting for welcome message... Response: 220 My FTP Server Command: USER rLLZORS
i m not able to create new user account to my new install of 11.2 don't know whether it occured due to update problem or some installation failure. when creation a new profile through yast it gives a warning sub-domain not started and quits however a new user get added through cli but with no profile of its own. that user cant log into gui enviroment and when he/she logs through cli it automatically tranfers it profile to "/"(i.e root) i m using kde4.3
lately i notice that when i add a new user withthe useradd and passwd command, and then try to login using this new account, am being prompted with a message,saying ' you cannot access /home/newuser. that the account doesnot have permission on his home directory. i have even tried go give the user(john) ownership over his home directory with the #chown -R john:john /home/john
I'm trying to get vsftpd running with both anonymous and local user access to the same folder. The directory I'm using is /tftp with the following permissions:
I'm not able to create Samba Account. it is showing the error message as below
Failed to initialise SAM_ACCOUNT for user <username>. Does this user exist in the UNIX password database ? Failed to modify password entry for user <username>
Unix accounts are created in Corporate Office, which is in US. We had a dedicated link from our office to US office. Now this link has been disconnected & now we have a VPN connection through internet to US Office. there is a firewall on both the sides. While creating samba account i tried to give netstat command & i saw it is trying to make a connection to the Unix Server at US, but the connection is not getting established it is showing SYN_SENT.
The port from the Home directory server trying to connect to the Unix server is connecting using Dynamic port but the Unix server port it is showing as PORTMAP. Network guys are not opening all the ports in the firewall. Kindly let me know the DESTINATION PORT that the home directory server is trying to connect to Unix Server, so that i can ask my network guys to open that perticular port. So that i can create Samba account to the users.
I am running SLES10 SP2 under z/vm in z9 mainframe box. But I believe this is a linux problem instead of hardware architecture or visualization (Because previously it worked).
I was trying to create a new user account for ftp purpose. However I encountered the following error from YAST code...
I have installed on a remote server phpmyadmin 3.3.1 and mysql 5.1.46 on a centos 5.4 OS.
Any newly created user with phamyadmin is unable to login both from mysql command line (from localhost) and phpmyadmin (localhost and remotely).
No prob when the user is created with mysql command line (from localhost). All of the users created with phpmyadmin, are not "visible" recognized from the show user command via the mysql command line. The setting I used when I create any user was the same as the ones with the mysql command line creation.
The error message I get when accessing from mysql command line (from localhost) is the following: "Access denied for user ... @localhost (using password: yes)"
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....
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 &
I have added a new user by following command : root# useradd -u 100 -g 120 -d /product -s /bin/bash sandesh I am not able to access it in /export/home directory..?
I am new to Linux and need to add user access to a particular directory on a Linux server (SUSE 9.1).I am able to access the directory via telnet however I do not know the commands to add the user. userBFA needs readwrite access to the SMF directory. Please let me know if any additional information is needed.
Running Debian 5. I have a small server that needs to provide anonymous ftp service (download only) to the folks in my dept (we have a firewall that will keep outsiders out, so I'm not worried about outside folks getting to the files). The question is: which anonymous ftp server should I install? Something that can be installed via "apt-get install xyzzy", where I can edit the /etc/xyzzy.conf file to point to the /home/ftp directory, and start/stop it with /etc/init.d/xyzzy start|stop|restart command.
vsftpd is working fine in my network with anonymous user but i need to access that from out-side all the setting is done on the router. I am getting page to access ftp form out-side but only for ftp users not anonymous user how i will give permeation to access ftp to anonymous user ?