Re: Prompt for chrooted users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Jul 6, 2015, at 2:49 PM, James B. Byrne <byrnejb@xxxxxxxxxxxxx> wrote:
> However, instead of getting the prompt defined in their
> .bash_profiles we see this:
> 
> -bash-4.1$
> 
> when we are expecting this:
> 
> [username@hostname dir]$
> 
> So, before I go messing around moving files I would some information
> from you as tio what I have overlooked.  Do I need to move something
> like etc/passwd and /etc/group into the chroot/etc?

This just means that your users don’t have a ~/.bashrc that can sources /etc/bashrc (either/both are missing), where the traditional $PS1 is set.

--
Jonathan Billings <billings@xxxxxxxxxx>


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux