Web Hosting Talk







View Full Version : Creating RH7.2 users


vSector
08-13-2002, 02:20 AM
Hello everyone,

I am a bit stuck with setting up my new rackshack RH7.2 plain linux box.

I am tring to create a user that has ftp access and no telnet access.

I create the user with visual:x:501:502::/home/sites/www.xxx.com/:/bin/badsh which will not let me login via telnet or ftp and if i change the bash, it will let me into both visual:x:501:502::/home/sites/www.visualcoders.net/:/bin/badsh

This user is going to have a pop email account to iwth the same username.

Any ideas of how to do this?

GlideTech
08-13-2002, 02:45 AM
Setting their shell to /whatever should disable shell access but allow ftp access.

JTY
08-13-2002, 02:50 AM
I always use /bin/false but for FTP to work, it must be added to /etc/shells

vSector
08-13-2002, 04:24 AM
I have now added /bin/false to /etc/shells and works fine..

Thanks!!!