Hey guys I've just created a new user and entered the password when it said enter UNIX password (correct right?).
After that I've established another connection, but access is denied. Why!?
Hey guys I've just created a new user and entered the password when it said enter UNIX password (correct right?).
After that I've established another connection, but access is denied. Why!?
What do you mean by "established another connection"? Logged in (or attempted) as the new user?
You can check /etc/passwd to see if the user got created.
Linux User #415691 Ubuntu User #8629
Iowa Team (LoCo): [Wiki] [Launchpad]
IRC channel: #ubuntu-us-ia on irc.freenode.net
Thanks. Yes I meant that I had opened a new putty screen to login as the new user. I've checked the file and the user is indeed listed!
How'd you make the new user?
Command line or with a gui.
And if a command line, what command?
Splat Double Splat Triple Splat
Earn Your Keep
Don't mind me, I'm only passing through.
Once in a blue moon, I'm actually helpful.
Linux User #415691 Ubuntu User #8629
Iowa Team (LoCo): [Wiki] [Launchpad]
IRC channel: #ubuntu-us-ia on irc.freenode.net
Ah wait... I've installed open SSH and am running everything from command line. I've created the user with 'sudo adduser'
I remember following the advice in a tutorial to put 'AllowUser example' in the SSH config file for security. I've added my regular account (not using root) so probably the new user is denied since I have to add it to the SSH config? How would I do that best? Add another line to sshd_config with AllowUser newaccount or should I simple separate those with a space or comma on the existing line?
edit: I've removed the line for now, which resolves the error. I believe that simply adding extra users separated with a space should be sufficient as well.
Last edited by Youri_van_Dijk; February 13th, 2014 at 11:53 AM.
Bookmarks