--
Mike Burger
http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
> On Wed, Oct 10, 2012 at 03:48:23PM -0400, James B. Byrne wrote:
>> To clarify the situation. The ONLY difference i
On Wednesday 10 October 2012 19:42:32 James B. Byrne wrote:
> CentOS-6
>
> When I login as root I see this prompt:
>
>
> [root@vhost04 ~]#
>
> When I login as a non-priviledged user I see this instead:
>
> sh-4.1$
>
> .bashrc and .bash_profile have identical contents in /root and
> /home/user
On 10/10/2012 04:43 PM, Nux! wrote:
On 10.10.2012 19:52, m.r...@5-cent.us wrote:
I have loked in/etc/profile.d and /etc/bashrc and I cannot see what
condition is triggering the different behaviour.
I'd guess whether there's a ~/.bashrc. I've got mine set the way I
want
it; I don't remember a
On 10.10.2012 19:52, m.r...@5-cent.us wrote:
>>
>> I have loked in/etc/profile.d and /etc/bashrc and I cannot see what
>> condition is triggering the different behaviour.
>
> I'd guess whether there's a ~/.bashrc. I've got mine set the way I
> want
> it; I don't remember a ~/.bashrc being automagi
On 11/10/12 05:42, James B. Byrne wrote:
> CentOS-6
>
> When I login as root I see this prompt:
>
>
> [root@vhost04 ~]#
>
> When I login as a non-priviledged user I see this instead:
>
> sh-4.1$
>
> .bashrc and .bash_profile have identical contents in /root and
> /home/user. What causes the differ
On Wed, Oct 10, 2012 at 03:48:23PM -0400, James B. Byrne wrote:
> To clarify the situation. The ONLY difference in the shell setup for
> both root and an ordinary user is the name. As shown below they bith
> use the same shell, they both have exactly the same contents in
> .bashrc and .bash_profi
On 10/10/2012 4:12 PM, James B. Byrne wrote:
> On: Wed Oct 10 15:58:43 EDT 2012 Bowie Bailey Bowie_Bailey at BUC.com
> wrote:
>> It doesn't matter where sh is pointing. What matters is the
>> shell configuration.
>>
>> I'm using bash here:
>> $ which sh
>> /bin/sh
>> $ echo $SHELL
>> /bin/bash
>>
James B. Byrne wrote:
> On: Wed Oct 10 15:58:43 EDT 2012 Bowie Bailey Bowie_Bailey at BUC.com
> wrote:
>> It doesn't matter where sh is pointing. What matters is the
>> shell configuration.
>>
>> I'm using bash here:
>> So try 'echo $SHELL' instead of 'which sh' to see which shell
>> you are usin
On Wed, Oct 10, 2012 at 04:12:24PM -0400, James B. Byrne wrote:
> As far as I can see the two invocations call the same program. And
> yet, replacing /bin/sh with /bin/bash in the ordinary user's passwd
> entry does indeed change the prompt to one identical to that used by
> root. Does anyone her
On: Wed Oct 10 15:58:43 EDT 2012 Bowie Bailey Bowie_Bailey at BUC.com
wrote:
> It doesn't matter where sh is pointing. What matters is the
> shell configuration.
>
> I'm using bash here:
> $ which sh
> /bin/sh
> $ echo $SHELL
> /bin/bash
>
> So try 'echo $SHELL' instead of 'which sh' to see which
On 10/10/2012 3:48 PM, James B. Byrne wrote:
> To clarify the situation. The ONLY difference in the shell setup for
> both root and an ordinary user is the name. As shown below they bith
> use the same shell, they both have exactly the same contents in
> .bashrc and .bash_profile. The file .prof
To clarify the situation. The ONLY difference in the shell setup for
both root and an ordinary user is the name. As shown below they bith
use the same shell, they both have exactly the same contents in
.bashrc and .bash_profile. The file .profile exists for neither. And
yet somehow they end up
On 10/10/12 11:42 AM, James B. Byrne wrote:
> When I login as root I see this prompt:
>
>
> [root@vhost04 ~]#
>
> When I login as a non-priviledged user I see this instead:
>
> sh-4.1$
>
> .bashrc and .bash_profile have identical contents in /root and
> /home/user. What causes the difference? Why
James B. Byrne wrote:
> CentOS-6
>
> When I login as root I see this prompt:
>
> [root@vhost04 ~]#
>
> When I login as a non-priviledged user I see this instead:
>
> sh-4.1$
>
> .bashrc and .bash_profile have identical contents in /root and
> /home/user. What causes the difference? Why? How does
CentOS-6
When I login as root I see this prompt:
[root@vhost04 ~]#
When I login as a non-priviledged user I see this instead:
sh-4.1$
.bashrc and .bash_profile have identical contents in /root and
/home/user. What causes the difference? Why? How does one change
the default so that all norm
15 matches
Mail list logo