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..Linux Guru
I am using ubuntu 9.04. I created new users, & users logged in with their name & password. Everything is working fine. But when they open gui terminal or when they login using CLI(using ctrl+alt+f1), they will get only "$" symbol, instead of full path like pwd, hostname, etc. And if I do ls, it is listing the content, but command completion is not happening, i.e $cd Des(pressing tab).
These all things can be fixed only after pressing "bash". So I don't always want to press "bash". So is there any way that I can fix this issue.
I will be waiting for your kind reply guruji.
Yes there 3 files for new users those are .bashrc, .bash_history, .bash_logout. although the fullpath, when we open shell & command completions are happening only after typing bash.
Quote:
Originally Posted by catkin
.bash_history is a typo for .bash_profile? .bash_login, .profile and $BASH_ENV might also be relevant if they exist (no worries if they don't).
Thank you guruji
As your guidense I checked login shell for new users, & found /bin/sh, I changed from /bin/sh to /bin/bash
for all new users & tried login with different new users. Now when we open terminal they are getting full path & command completions also are happening
once again thanks for your quick response.
Regards
Ananth
Quote:
Originally Posted by catkin
Which shell do the new users get when they log on? What is their shell in /etc/passwd?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.