Re: [CentOS] root vs. user login

2008-03-12 Thread Fajar Priyanto
On Tuesday 11 March 2008 01:07:48 Hiep Nguyen wrote:
 hi all,

 when i login as root, i got:

 [EMAIL PROTECTED] html]#

 any other user, i got:

 -bash-3.1$

 what do i need to change for user profile or during user creation
 process to make it looks like:

 [EMAIL PROTECTED] html]#

Seems like the user doesn't have a home directory.
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
13:42:53 up 6:14, 2.6.22-14-generic GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] root vs. user login

2008-03-11 Thread Kai Schaetzl
Hiep Nguyen wrote on Mon, 10 Mar 2008 11:07:48 -0700 (PDT):

 #

an additional information.

# prompt is usually only used for the root login
$ prompt is usually used for non-root users

So, whatever you change in the prompt string you may want to keep this 
distinction at least.



Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


[CentOS] root vs. user login

2008-03-10 Thread Hiep Nguyen

hi all,

when i login as root, i got:

[EMAIL PROTECTED] html]#

any other user, i got:

-bash-3.1$

what do i need to change for user profile or during user creation 
process to make it looks like:


[EMAIL PROTECTED] html]#

thanks
t. hiep
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] root vs. user login

2008-03-10 Thread Frank Cox
On Mon, 10 Mar 2008 11:07:48 -0700 (PDT)
Hiep Nguyen [EMAIL PROTECTED] wrote:

 what do i need to change for user profile or during user creation 
 process to make it looks like:

That's normally set through .bashrc as contained in /etc/skel so it's inherited
by all new users when they are created.  For existing users, you can just
copy /etc/skel/.bashrc to their home directory.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] root vs. user login

2008-03-10 Thread Marc-Andre Levesque
The profile file mentioned below is going to set the PS1 environment variable. 
For more information, you might want to look at the bash man page in the 
PROMPTING section.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank Cox
Sent: March 10, 2008 14:17
To: CentOS mailing list
Subject: Re: [CentOS] root vs. user login

On Mon, 10 Mar 2008 11:07:48 -0700 (PDT)
Hiep Nguyen [EMAIL PROTECTED] wrote:

 what do i need to change for user profile or during user creation
 process to make it looks like:

That's normally set through .bashrc as contained in /etc/skel so it's inherited
by all new users when they are created.  For existing users, you can just
copy /etc/skel/.bashrc to their home directory.

--
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos