WebFaction
Community site: login faq

Hi,

I'm puzzled by the procedure of creating an additional user that I want to have ftp access only to some specific directory.

When I create a 'no shell (sftp only)' user in the control panel, I seem to be unable to ftp into my myusername.webfactional.com using the new username and its password. I also cannot ssh with that combo (as is to be expected).

When I create a user with the /bin/bash shell type I am able to use both ftp and ssh. Now, following the instructions described in enabling ftp-access for additional users I ssh into the new user's account <mynewuser> and execute

chsh -s /sbin/nologin <mynewuser>

and I get what I expect.

Except that the control panel is still showing this <mynewuser> to have the /bin/bash shell type, instead of the expected 'No Shell (sftp only)' type. So how would I restore shell access for this user again?

asked 27 Nov '10, 10:13

rogererens
1123
accept rate: 0%


When I create a 'no shell (sftp only)' user in the control panel, I seem to be unable to ftp into my myusername.webfactional.com using the new username and its password. I also cannot ssh with that combo (as is to be expected).

I've tested this on the same server your account is on and I have the same problem. When creating an account without shell access, it only grants access via SFTP. I am able to connect via SFTP after creating another user on your account.

So how would I restore shell access for this user again?

Edit the user in the control panel. Make sure /bin/bash is selected and click Update. That should re-enable shell access.

permanent link

answered 27 Nov '10, 10:40

aaronh ♦♦
1.3k3
accept rate: 34%

edited 27 Nov '10, 10:44

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×62
×31
×23
×14
×3

question asked: 27 Nov '10, 10:13

question was seen: 2,507 times

last updated: 27 Nov '10, 10:44

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM