How can I get a normal shell account, free of lshell interference?

Events happening in the community are now at Drupal community events on www.drupal.org.
adrinux's picture

I'm taking another shot at BOA. Having successfully installed I'm starting to get to grips with the o1.ftp shell account, but meanwhile I wanted to add an account for myself that would work just like all the other ubuntu servers I have - specifically I want to have my dotfiles and prezto (zsh function library, alias library, custom prompt etc) setup and working.

But having added an account 'adrian' it seems something in BOA is preventing my zsh custom prompt working, shell syntax highlighting is broken etc.

This user isn't part of the ltd-shell group but still seems to have a restricted set of shell commands.

So what's the correct way to exempt my user account from lshell shennanigans? Is it even possible?

Comments

Just set correct shell you

memtkmcc's picture

Just set correct shell you prefer for the outside-of-boa user.

BOA does not touch or restrict your ability to use standard system tools for users management.

Correct shell is set

adrinux's picture

The correct shell is set, here's the entry in /etc/passwd

adrian:x:1000:1000::/home/adrian:/bin/zsh

And it does use zsh, but not all my zsh customisations – I was having issues switching back to bash, which I'd assumed was because of bash being restricted by lshell, but that doesn't seem to be the case this morning, so maybe the problem lies elsewhere.

Rebuilt the box, BOA definitely causing issues

adrinux's picture

I did a rebuild. This time I set up my user account first, zsh auto-completion and custom prompt working nicely.

Then installed BOA.

zsh prompt now down to a minimal one and autocompletion broken, Again. My zsh aliases are working ok, though, so it's not like my zsh library isn't being sourced. BOA is overriding the prompt and autocompletion.

Where should I be looking for a shell custom prompt/autocompletion needle in the haystack of config BOA does? :)

I would suggest to open an

memtkmcc's picture

I would suggest to open an issue in the barracuda queue then. Lshell is totally separate shell and we never experienced any issues with bash, but to help in further debugging we need more details posted in the issue queue per guidelines.

BOA

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: