Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I also tried it in "/etc/profile" (I forgot to mention that) and it didn't work there either.
I first tried to comment out the default Slackware PS1 line, and add mine in the same location, which didn't work, so then I added my PS1 line to the very bottom of the file (so nothing else in the file could overwrite the changes to the prompt) and that also did nothing. I am doing a full reboot after every change, by the way.
The only place it would work was under "/etc/profile.d/" with it's own .sh script. That got the text after the login changed, so then I used escape codes in "/etc/issue" to get the login prompt to match.