• February 24, 2025, 06:20:48 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Logging in to SSH as "admin" (or other non-root user)  (Read 5643 times)

palswim

  • Level 1 Member
  • *
  • Posts: 20
    • Palswim.net
Logging in to SSH as "admin" (or other non-root user)
« on: February 13, 2010, 11:11:56 PM »

I have set up my unit with SSH and can log in as root with no problems.  When I log in as root, I generally see:
Code: [Select]
login as: root
root@[ADDRESS]'s password:
root@[HOSTNAME]:~# _
Note the position of the cursor (underscore character).

Trying to move away from always using the root user, I decided to try to login to SSH as admin.  But, I encounter the following attempting to log in via SSH (again, note the cursor/underscore):
Code: [Select]
login as: admin
admin@[ADDRESS]'s password:
Could not chdir to home directory /home/admin: No such file or directory


BusyBox v1.00-pre1 (2009.02.11-09:07+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

_
It looks like it successfully logs me in, but it never gives me a normal prompt after that.  Does anyone know why it does this?
Logged