New IT forum
10 August 2022, 11:16:18 pm *
Welcome, %1$s. Please login or register.

: PiHub now in stock.
 
Pages: [1]

Author Topic: Creating Users Help  (Read 7157 times)

KeithS

  • Newbie
  • *
  • Posts: 20
Creating Users Help
« on: 30 January 2010, 01:59:24 pm »

I got my plugs yesterday and less than 24 hours  :)

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

  • Hero Member
  • *****
  • Posts: 960
Re: Creating Users Help
« 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: [Select]
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
Re: Creating Users Help
« Reply #2 on: 30 January 2010, 03:54:41 pm »

Thanks for the quick response :)

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  :)
Logged

NewIT_Marcus

  • Hero Member
  • *****
  • Posts: 960
Re: Creating Users Help
« 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
Re: Creating Users Help
« 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  :-[
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!