Originally posted by unwrittenlaw
How do i Create a file called 'java.sh' as 'root' in '/etc/profile.d'
1. Log out.
2. Log back in as username "root". If you did not install this operating system on the computer that you are working on, then you will not know what the password is for username "root". If that is the case, then get they guy who knows what the password is for username "root"
3. Open your favorite text editor (kwrite, gedit, ..)
4. write whatever you need to write.
5. Save the file inside "/etc/profile.d" and call it "java.sh"