Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: cactus on January 27, 2007, 10:38:15 PM

Title: Configure bash prompt for non-root user?
Post by: cactus on January 27, 2007, 10:38:15 PM
I have installed the remoteuseraccess panel and have created a user for remote login. After login  the prompt looks like this:
Code: [Select]
-bash-3.00$ but I would prefer the one like the root user:
Code: [Select]
[user@server currentdirectory]#
Can some one tell me what templates I need to modify for this to be effective?
Title: Configure bash prompt for non-root user?
Post by: stephen noble on January 28, 2007, 12:45:17 AM
please raise a bug, and we can fix it for everyone
Title: Bash Prompt
Post by: nmtrier on January 28, 2007, 10:34:24 AM
See
http://www.linux.org/docs/ldp/howto/Bash-Prompt-HOWTO/x157.html
on how to customise the bash prompt.  This can easily be done on a per user basis in ~/.bashrc which would not affect the templates.
Title: Configure bash prompt for non-root user?
Post by: cactus on January 28, 2007, 11:09:20 AM
Quote from: "snoble"
please raise a bug, and we can fix it for everyone

http://bugs.contribs.org/show_bug.cgi?id=2389
Title: Re: Bash Prompt
Post by: cactus on January 28, 2007, 11:11:39 AM
Quote from: "nmtrier"
See
http://www.linux.org/docs/ldp/howto/Bash-Prompt-HOWTO/x157.html
on how to customise the bash prompt.  This can easily be done on a per user basis in ~/.bashrc which would not affect the templates.
Thanks for the link, but I know how to customize a bash prompt. I really like it to be templated so not to customize every user and I thought it perhaps already was.