New users have no shell

3 posts / 0 new
Last post
#1 Fri, 11/25/2005 - 05:16
ChrisBlackwell

New users have no shell

Not sure what i've got wrong here, but it seems when i create a new virtual server the unix user has no shell and can't login through ftp. I have to manually set the shell

the relevant settings in module config are

Shell for mailbox users: /dev/null Shell for FTP users: /bin/false Shell for jailed FTP users: None
Shell for server Unix users: /usr/bin/scponly

have i missed something here ?

Fri, 11/25/2005 - 07:30
FaisalMehmood

Hi Chris.

Thats because you set the Unix User shell to scponly. All the others seem fine, just change your unix user shell in the module config for virtualmin.

I have mine set to
/bin/bash

scponly does not let you execute commands in the shell, so i guess thats the reason you cant logon. Scponly webpage is:

http://www.sublimation.org/scponly/

Faisal.

Fri, 11/25/2005 - 08:37
ChrisBlackwell

Hi,

I don't believe its anything to do with scponly, i included that for completeness. When i say the user has "no shell" i mean that no shell is set at all, it's totally blank.

In "Webmin] System] Users & Groups" a new domain owner appears like this
[pre]

<b>Username | User ID | Group | Real name | Home directory | Shell </b>

testing | 550 | testing | test server | /home/testing |

[/pre]

The user is not getting any shell (not even scponly)

Topic locked