On Wed, 10 Apr 2002 22:02:48 -0400
"rob" <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> I'm running RH 7.0, and I'm experiencing a perplexing problem.
>
> What I did was:
>
> 1) I created a new user in linuxconf called 'carolyn'
>
> 2) The main group is 'carolyn'
>
> 3) alternative group is 'mcclear'
>
> 4) home directory is '/var/www/html/www.mollyjohnson.com'
>
> 5) I exited from linuxconf after creating a new password
>
> 6) Ownership of the directories is 'carolyn.mcclear'
>
> 7) permissions on the directories are 755
>
> What happens incorrectly is:
>
> If I try to 'su carolyn', the prompt I get is 'bash-2.04$' instead of
> 'carolyn@athena /root$'
>
> Any ideas?
When you add a newuser with useradd, it uses the /etc/skel to make the default
/home/<newuser> setup.
That means that each new user has a .bashrc and .bash-profile. There the user's name
is exported with:
export USERNAME BASH_ENV SHELL
In linuxconf you just get to select /bin/bash at the shell. Check to see if she has a
.bash_profile and what it reads.
>
> Please excuse my ignorance, but I'm self-taught in Linux. This summer
> I'm going to take the RHCE courses, and when I'm done perhaps I'll be
> able to help with answering dumb questions like this one!
>
Share what you know, learn what you don't. The only trhing "dumb" is not asking :)
> Thanks in advance,
>
> Rob Yale
>
Regards,
Tom
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list