# How to set PS1 in env

**URL:** <https://community.unix.com/t/how-to-set-ps1-in-env/248752>\
**Category:** Solaris\
**Created:** [September 7, 2009, 6:37am UTC](https://community.unix.com/t/how-to-set-ps1-in-env/248752 "2009-09-07T06:37:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tsaravanan](https://community.unix.com/user_avatar/community.unix.com/tsaravanan/32/4428_2.png) [@tsaravanan](https://community.unix.com/u/tsaravanan)\
**Post date:** [September 7, 2009, 6:37am UTC](https://community.unix.com/t/how-to-set-ps1-in-env/248752/1 "2009-09-07T06:37:49Z")

</div>

Hello

whenenver i login to solaris server the prompt is displaying as #. i want to customize the promt with server name for all users.

how to customize the PS1 variable for all the users?.

Thanks for your help in advance.

regards,  
Saravana

---

<div class="post-metadata">

**Author:** ![DukeNuke2](https://community.unix.com/user_avatar/community.unix.com/dukenuke2/32/407_2.png) [@DukeNuke2](https://community.unix.com/u/DukeNuke2)\
**Post date:** [September 7, 2009, 7:20am UTC](https://community.unix.com/t/how-to-set-ps1-in-env/248752/2 "2009-09-07T07:20:16Z")

</div>

have a look at the file:

```nohighlight
/etc/profile

```

---

<div class="post-metadata">

**Author:** ![thanhdat](https://community.unix.com/user_avatar/community.unix.com/thanhdat/32/1056_2.png) [@thanhdat](https://community.unix.com/u/thanhdat)\
**Post date:** [September 7, 2009, 8:24am UTC](https://community.unix.com/t/how-to-set-ps1-in-env/248752/3 "2009-09-07T08:24:19Z")

</div>

And maybe u would find this interesting :
