• 0

Set PATH, aliases in "ash" shell under DSM 6


Go to solution Solved by alirz1,

Question

I moved form DSM 5 to DSM 6.1.x recently. I've looked and looked but i cannot figure out where to set the path, add aliases, and also set the shell prompt to show the current directory path, like it was in DSM 5.

Under dsm 6, im looking to set those values for the root user. i.e once i've Sudo su" to root, thats when i would like my environment variables to kick in. Would anyone know this?

i've tried updating /root.profile, /etc.defaults/profile,  /etc/profile. but none of those seem to have any affect. I even tried chaging the shell for root user to be "bash" instead og ash but even with that i could find out where to put the env variables.

 

Thanks/

 

Edited by alirz1
Link to post
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.