Search code examples
pathsolarisrootsparc

How can I change the path for root permanently in solaris sparc?


I have edited /etc/profile but the path only gets changed for normal users whereas the change does not reflect for root, how can I make it such that the path also gets changed for root?


Solution

  • On Solaris, regular users and root default PATH are defined in /etc/default/login and /etc/default/su in the PATH & SUPATH variables.