Created new user from shell script using following command:
sudo useradd $1 -p $2 --home /var/www/$1
I'm not able to login to FTP or SSH as that user, do i need to add the user to some group for that?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community