General :: User Requires SSH Access To Connect To FTP ?
Oct 4, 2009
I have a CentOS dedicated server running ProFTP. I have created user accounts which are meant for FTP access only but the users cannot connect to the FTP unless their shell access is /bin/bash
Here is an example line that is outputted when I use this command:
This user can access the FTP fine, but he can also access SSH which I don't want to allow him to do. If I set his shell access to /bin/false then he can't connect to the FTP.
What can I use in instead of /bin/bash to allow FTP but don't allow SSH?
View 3 Replies
ADVERTISEMENT
Mar 8, 2010
I'm developing an application in which one user must run java software that I'm compiling as another user. I wanted to give user A permission to see the bin direcory of my workspace, which is in the home directory of user B. I was wondering how can this be done? I gave the bin direcotry full read/execute premissions, but since it's in my home directory user A can't navigate to it.
I know there are a few ways I could get around the problem but they arn't very elegant. I was wondering if there is a simple method for giving a user access to a specific directory without giving access to all the parent directories. I tried symbolic link but user A still can't access it, and a hard link to a directory isn't allowed in Linux. I don't feel like making a hard link to every single file in the bin directory, and I'm not sure that would work anyways, since every recompile overwrites them.
View 7 Replies
View Related
Jan 19, 2009
I am running Fedora 10 new install. lsdvd gives an error when trying to access the dvd. If I issue chmod 766 /dev/dvd then it works fine. Is there a way to set this a boot so access to the dvd does not require root password?
View 3 Replies
View Related
Aug 22, 2011
When booting from the Ubuntu 11.04 CD, it asks for user name and password to install. I downloaded the iso twice and did a checksum. Do I need a user name and password before installing? What is the user name and password? I read the documentation and cannot find any entry about user name and password needed when booting fron CD.
View 3 Replies
View Related
Sep 7, 2009
I'm trying to set a kickstart DVD for automatically installing Fedora 10 without touching the existing data partitions on our systems. I've got a kickstart file that works great from a kickstart server however I'm having issues with creating an unattended kickstart DVD. I've attached a copy of the kickstart file from the DVD. For some reason even though all the packages we are installing are on the DVD, anaconda always attempts to connected to the internet to get repository information after completing the partitioning. I have changed the install type to 'cdrom' before anyone asks! I have removed my %pre and %post sections as these just copy in some config files and do not touch anything other than local paths.
View 3 Replies
View Related
Oct 17, 2010
I recently installed the new Ubuntu 10.10. My Sony Ericsson M600i produces a window to enter a PIN to connect to the internet. The window reads 'The mobile broadband device Sony ericsson M600i requires a SIM Unlock PIN before connecting to the internet.' I entered my SIM PIN and the network disconnected, I'm not sure what to do now. The phone works with no PIN request on Ubuntu 8.10.
View 4 Replies
View Related
May 12, 2011
When trying to connect to a Samba share, it requires to send the servernetbiosname. Let me try to describe it.At my university anyone has a personal web directory, which is hosted at another university. It's on a SuSE server, shared via Samba. There are several universities on this server, using the same Samba with different NetBIOS names.There is an open Cisco WiFi, anyone can connect. But to use it, you have to use VPN (Anyconnect for example or in my case the module Ubuntu provides).Now my problem is, I can't easily connect to any share on the server (tried several shares from several machine to be sure it's not just me). After trying several variants on bash, I finally figured out, that I have to supply the servernetbiosname to get it to work.Not working:
Code:
root@cmp:~# mount.cifs //svr1.sd.domain.net/htdocs /tmp/mnttst/ -o 'user=uname,domain=DOM' -v
[code]....
View 3 Replies
View Related
Jan 5, 2010
I want to run system tap with user profiling which requires utrace and uprobes support from the kernel. Are there any SUSE kernels which support this either for SLES or open suse?
View 2 Replies
View Related
Sep 5, 2010
I am using Ubuntu Studio 10.04 LTS and I am experiencing the following problem: my computer loses its Internet connection and appears to require several reboots to re-establish an Internet connection.
As suggested on a similar post relating to wireless connection loss, I supply the output of sudo lshw -C network
*-network
description: Ethernet interface
product: NetLink BCM5789 Gigabit Ethernet PCI Express
vendor: Broadcom Corporation
[Code].....
Note that I have REMOVED my wireless card in case there was some kind of hardware conflict or failure. I am using a wired connection through a Linksys WRT54G router that is supplying an Internet connection to another computer and an IP phone without any problem.
When I run the command network-admin (or select System > Administration > Network) I can see only 3 tabs (General, DNS and Hosts) It seems that the Connections tab has disappeared (and I believe this happened when I upgraded from Ubuntu 9/Karmic Koala). If I click Help it shows me that there should be 4 tabs, not 3.
The connection dropping began prior to my decision to upgrade. In fact it took several attempts to complete the upgrade. Should I attempt to re-install the upgrade? I am not sure how to do it without losing my connection. When I visit System > Administration > Update Manager, I am informed that my system is up to date.
View 3 Replies
View Related
Feb 14, 2010
This isn't an Ubuntu question as much as it is a general Linux question, but is there a text based Linux emulator (preferably BASH) similar to DOSBox?See, I need GAS, Gnu Linker, gdb... pretty much everything in binutils, as well as a platform to test my programs at school, which runs Windows. I've tried VirtualBox, VMware and QEmu; QEmu is a b**** to access any files outside of the VM, VMware is hard to get portable, and all 3 require administrator access. I've also tried CoLinux, which requires admin access, and PortableUbuntuRemix, which gives me some unnecessary GUI and slows the computer down
View 2 Replies
View Related
Jun 10, 2010
I'm on a network where I have the rights, but how do I do it? I've been asked to look up another user's aliases for reference.
View 2 Replies
View Related
Feb 18, 2010
Im want to know the command to add a user with no shell access so they cannot log onto the system, but there a user on there so for example they can be part of the email server.
View 2 Replies
View Related
Jul 4, 2010
I am trying to set access to my ftp folder. As of now I have set the group ID bit on my directory:
drwxrwsr-- 32 root ftp-users 4096 2010-07-04 13:53 ftpserver
Which sets ownership to all files created in that folder and I assume the subfolders to my group "ftp-users". However the file permissions when created are:
-rwx------ 1 test ftp-users 0 2010-07-04 13:58 TestFile1.txt
-rwx------ 1 test ftp-users 0 2010-07-04 13:58 TestFile2.txt
I want the ftp-user group to have full access to these files.
View 2 Replies
View Related
Mar 31, 2010
I have a remote virtual server for a few websites, it's running on Fedora Core release 6 (Zod). I want to setup an FTP user so I can have someone do some work for me. He only needs very limited access. I have searched for help and thought I found out what I needed to do, but when I try to test the connection, after the password is sent I get the message "530 Login incorrect", followed by "Critical Error", "Could not connect to server". (I am using FileZilla for my FTP client) Below is what I did to add the user
Code: useradd -d /var/www/vhosts/mywebsite.com/httpdocs/thisisit -s /sbin/nologin myuser
"thisisit" is the name of the directory I want to give access to and "myuser" is the user I am adding. I use passwd myuser to add a password. I've tried -s /dev/null also (to prevent this user having shell access) but it's the same. The worse thing is, I did a similar thing last year for a customer so he could upload images to my site. That login works fine. I have looked at the passwd file and both users seem to be setup the same, yet the new user does not work. What am I overlooking?The two entries in my passwd file are The one that doesn't work
myuser:x:10025:10025::/var/www/vhosts/mywebsite.com/httpdocs/thisisit/:/dev/null And below the use I created lat year that DOES work. mycustomer:x:10008:10008::/home/ftp/mycustomer/:/dev/null
View 1 Replies
View Related
Mar 10, 2011
After installing 11.4, I need to type in the command to update the firmware for a broadcom wifi adapter. Then I needed to reboot, twice, before the system knew to use the adapter (where the adapter wifi light goes from orange to blue).
Then I needed to add my wireless network and type in my key. But the key does not take. If I click on my wireless network icon, it just re-asks for the key and does not connect nor give any other message. Network icon continues to display no connection.
So I need to reboot again.
When the system starts again, the adapter is blue, I click on the icon for my wifi network and it connects without asking for my key and I can then set to start my wifi by default.
Now my wifi works fine.
View 1 Replies
View Related
Mar 28, 2010
I have a local computer (local), and remote computer (remote) behind of remote server (server). Also, I have user access to all of these 3 machines. Now, I want mount some directory, located at remote, to my local mount-point via sshfs. How should I setup my local sshfs and what should be done on server to make this mounting?
I'm stuck with ssh tunneling because the default method for tunneling requires root access while WinSCP somehow could do this with only user access (the tunnel server could be configured there in 'tunnel' panel).
View 5 Replies
View Related
Sep 20, 2010
i want to install a software in my linux machine staying in another user that i have created .It is asking for root access for some command to be execute during installation process.when I am trying to execute "sudo -s" its showing " is not in the sudoers file. This incident will be reported.".what next will i do.I am in my ubuntu machine.
View 3 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
Feb 15, 2011
I'm running CentOS and I get an error when I plug in my usb flash drive.
Error org.freedesktop.DBus.Error.AccessDenied
A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface org.freedesktop.Hal.Device.Volume member Mount error name (unset) destination org.freedesktop.Hal)
How would that work when all of the users are network users(openldap)? So these are not local accounts.
View 1 Replies
View Related
Oct 18, 2010
how you allow a domain user to access a smb share when the linux machine (RHEL) that the share is on is on the same subnet as the domain but not joined to it (it has the name of a DC for the domain configured in /etc/hosts.conf also)
View 4 Replies
View Related
Apr 18, 2010
How give all access (same as root) to other user because i need to run some application s/w from other user login.
View 2 Replies
View Related
Nov 2, 2010
How to add user with root privileges and SSH access.
View 6 Replies
View Related
Aug 11, 2011
I am using Sloaris OS.
Is there any way to check who (which users)can access a particular server?
Weather a user has access to a server or not??
View 1 Replies
View Related
Feb 3, 2011
I need to create a user with least permission on the production server. He should only be able to read or execute the files that to be specific. For example: I just need to give him a set of commands to run.Besides those command execution He should be prevented to run any other command and He should not able to create any files(write permission).
How would i proceed about this.
View 1 Replies
View Related
Jul 13, 2010
I was wondering, i have a webfolder and have permissions set to 770 with group being www-data. I would like to give access to one folder to a friend so he can edit images, css, etc. I made that folder 770 with group being site_name with www-data and him being in the group. So far so good it sounds like. However when i use the full path to the directory linux says it doesnt exist.
Is there a way i can make it so he doesnt have r/w file on files inside the parent directories and still access the directory i want to give him?
View 1 Replies
View Related
Feb 21, 2011
I have a mercurial repository on a secure server, to which I want to grant secure access to an external user.
I added for him a user account and publickey ssh authentication so that now he could push/pull changesets via ssh.
My question is: how can I make this new user account completely disabled from doing anything or accessing any data on the server other than accessing the repository? E.g. he shouldn't even have the possibility to enter an interactive shell session.
View 1 Replies
View Related
Jun 18, 2010
I configured FTP server on Fedora 7.0 . I create different users with different password. I also create seprate directory for each FTP user. All are working . When I use filezilla for connecting that FTP site I can access all the directory on that server.
Now I want to configure that no any FTP user can access other FTP users directory or any other directory in server machine . What I do for this .
View 1 Replies
View Related
Jun 19, 2010
I run the openssh daemon on port 22 and have the proftp running on port 21. I would like to block SSH for a specific user.I use proftpd.I would like to prevent the SSH access for this user and leave the FTP working for this user specific.Into /etc/passwd, I tried to change the /bin/bash to /bin/false, but this blocks both SSH and FTP access for this account.
View 3 Replies
View Related
Jan 21, 2010
I'm trying to access a share across the net. the share is a disk "fat32" which I mounted using "vfat users,rw,exec 0 0." However, after I created the samba user "smbpasswd -a user" I'm still unable to access the share across the net. ports are open, and entry has been made in smb.conf for share. But I'm having problems giving permission to smb user. the share it is mounted on /media/share, and I've tried everything from
chmod -R ug+rwx /media/share
chmod -R ugo+rwx /media/share
chown -R user /media/share
and I always get unable to set permission for user
View 1 Replies
View Related
Aug 5, 2010
I Want to be able to let my girlfriend view my pictures folder while at the same time keeping my sister out. So I created a group "JessAndI" and made myself and her apart of that group. I changed the group of the directory recursively to "JessAndI" and gave the permissions to 770. She still isn't able to access or even view the directory unless i change the permissions to allow others whether it be 774 or 777. Am i doing something wrong? I've checked and double checked to make sure she is part of the group and the group is the group on the directory and all the sub-directories and files.
View 2 Replies
View Related