You are here
Mike Gifford - Mon, 2012/01/09 - 05:04
Bash works great as root. Just as I'd expect. However, with my created non-root user it acts badly. Can't do basic stuff like tab to complete file names or even delete characters correctly.
Works totally fine as root though. Any ideas?
Forum:
Sounds like the profile files not copying across
The root user has some hidden files in the home directory which set this stuff up. Generally they are copied across automatically when a new user acount is created. But I suspect that they didn't in this case. How did you set up the new user?
I'd used the skel code which
I'd used the skel code which I'd used in the past with different distros.
$ ls -la /etc/skel/
total 24
drwxr-xr-x 3 root root 4096 Jan 9 02:31 .
drwxr-xr-x 111 root root 4096 Jan 7 18:35 ..
-rw-r--r-- 1 root root 220 Apr 19 2010 .bash_logout
-rw-r--r-- 1 root root 2924 Dec 20 2010 .bashrc
drwxr-xr-x 2 root root 4096 Dec 20 2010 .bashrc.d
-rw-r--r-- 1 root root 675 Apr 19 2010 .profile
Replacing these files with the ones from root is making it work better.
AFAIK useradd uses files from /etc/skel by default
So perhaps we want the TKL devs to copy the ones found in root to be added to /etc/skel?
What do you think about that? If you agree that that would be the ideal situation then either register a blueprint, or just post back and I'll register it.
That sounds right
Please register the blueprint & then point me to it. I'm curious to see where that's being done.
Done :)
Blueprints are on LaunchPad. Here is the one I just registered.
Can't reproduce
I tried reproducing the issue but couldn't, everything seems OK (see below). How did you add the new user?
BTW, this should be registered as a bug in launchpad, not a blueprint. IIRC, there was an option to convert a blueprint into a bug on LP, but I can't find it, @Jeremy any ideas?
Sorry Alon I didn't actually test
And I guess I considered it more of a feature request rather than an actual bug...
I had a look and I can't see how to change it either. I did a quick google and could only find a blueprint where it was suggested that launchpad should be able to do that but it says that it has been 'completed' (although to be fair it is suggesting the other way around, not both ways ie bug to blueprint).
Hmm...
Hmmm... maybe it was converting a question to a bug. No worries...
Add new comment