Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
I am new to Unix. I installed Solaris8 on my computer. I want to setup my computer to connect to the network. when i try to edit /etc/hosts, /etc/hostname.elxl0 file using Vi editor it looks like read only. I try to change permission. But it is not allowing me to do so. What could be the problem.
Thats right, the hosts file is read only, however that can be overwritten by using the following sequence to save the read only file esc :wq!
If you try the old Shift-ZZ trick, it will tell you that it is read only. You do have to be root though to write over a protected file with the :wq! sequence
Summary: If you want to limit a user's environment, you may want to set up a restricted shell. Take a look at the man page on rsh (/usr/lib/rsh). The implication is that you could create a .profile that would ...
Summary: If you want to change permissions before exiting vi, try; :!chmod u+w % (Gives user write permssions to current file) Then try: :w! That forces the write (as vi thinks the file is still read-only). Or...
Summary: Could anyone tell me why on a solaris 8 server, when the autofs service is enabled I cannot see anything in the home directory nor make any sort of modifications/additons to that directory (including ...