New IT forum Follow us on Twitter
04 February 2012, 04:18:02 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: DreamPlug tutorial in Linux Format issue 145!
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Creating Users Help  (Read 1311 times)
KeithS
Newbie
*
Posts: 20


« on: 30 January 2010, 01:59:24 pm »

I got my plugs yesterday and less than 24 hours  Smiley

I have installed webmin and used it to create a new user.

The problem I am having is that if I ssh in as the new user using cygwin, I find that it is almost unusable. Very few commands work but that is not the only problem. I have also found that I cant use simple editing like backspace either. If I su from there into root, then all works as it should do.

Is there somthing wrong with the default config that needs hacking or am I missing the blindingly obvious?

If the following helps, the setup did create a new home dir and the group was setup with the same name as the user. Plug is ubuntu 9,04 multiboot.

Thanks in advance of any pointers.
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #1 on: 30 January 2010, 03:28:02 pm »

What commands work?

What commands don't work?

What messages do you see when you attempt a command that does not work?

What is the shell that you are using?

Code:
echo $SHELL

If you need to change shell:

http://nixcraft.com/getting-started-tutorials/822-how-change-login-shell-linux-user.html
Logged
KeithS
Newbie
*
Posts: 20


« Reply #2 on: 30 January 2010, 03:54:41 pm »

Thanks for the quick response Smiley

Not sure whether I was right about commands, but you did help me.

My user was allocated /bin/sh  I changed this to /bin/bash which is what root was using. It would seem that there is a problem with /sh as /bash is fine?

The main problem was that basic shortcuts and editing such as cursor keys, tab key and backspace would not work.

Thanks for the pointer to fix my problem anyway  Smiley
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #3 on: 30 January 2010, 06:37:20 pm »

Different shells are ... different, it doesn't mean that there are problems with them as such. You can choose the shell that you prefer.

http://www.faqs.org/faqs/unix-faq/shell/shell-differences/
Logged
KeithS
Newbie
*
Posts: 20


« Reply #4 on: 30 January 2010, 07:40:22 pm »

Thanks for your help Marcus, it seems that I have made an incorrect assumption that sh and bash were the same. After that interesting read, I am obviously wrong  Embarrassed
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!