hi all, when i login as root, i got: [root at dev 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: [test at dev html]# thanks t. hiep
On Mon, 10 Mar 2008 11:07:48 -0700 (PDT) Hiep Nguyen <hiep at ee.ucr.edu> 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
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
On Tuesday 11 March 2008 01:07:48 Hiep Nguyen wrote:> hi all, > > when i login as root, i got: > > [root at dev 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: > > [test at dev 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: <http://lists.centos.org/pipermail/centos/attachments/20080312/b64add5d/attachment-0002.sig>