Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all,
I have set up a linux machine
#uname -a
Linux 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux
But users cant telnet to it.
This is the error message they get at their remote prompt
login: mytestuser
Password:
login: no shell: No such file or directory.
So i'm just wondering what is happening here because the account mytestuser exists ie /home/mytestuser and they are using default bash shell.
And when i issued this command su mytestuser as root i get
/root# su mytestuser
su: /bin/bsh: No such file or directory
What distro are you using? Telnet is usually disabled by default because it's not terribly secure. It's generally recommended to use ssh instead.
The other thing is to look in /etc/passwd and see if the shell is set (find the row with the user name mytestuser and then look at the end, it should say something like /bin/bash).
pljvaldez,
Thanks for the reply,i'm using SUSE LINUX Enterprise Server 9 (x86_64).
To the suprise there is no entry in /etc/passwd under the username mytestuser,but most users do have /bin/bash in their /etc/passwd entries .Could that be the reason it fail to login? If not how can i change a particular user login shell without changing the login shell for other?
Jay73
the /bin/bsh is not a typo..it is bourne shell i think.And there is this /bin/bash for bourne again shell.
the /bin/bsh is not a typo..it is bourne shell i think.And there is this /bin/bash for bourne again shell.
Hmmm... on my system this is the description of /bin/bsh
Quote:
BeanShell is a small, free, embeddable, Java source interpreter with
object scripting language features, written in Java. BeanShell executes
standard Java statements and expressions, in addition to obvious
scripting commands and syntax. BeanShell supports scripted objects as
simple method closures like those in Perl and JavaScript(tm).
You can use BeanShell interactively for Java experimentation and
debugging or as a simple scripting engine for your applications. In
short: BeanShell is a dynamically interpreted Java, plus some useful
stuff.
jay73 is right: there should be a typo somewhere on your system!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.