Ubuntu :: Make Desktop Read Only - Can't Make Changes
May 25, 2010
he clicks on everything on his GNOME desktop, and manages to delete everything, including menus, icons, etc. The people he lives with aren't skilled enough to fix it, and I live a good eight hours away. I have remote capabilities with NX, but that requires them to initiate a connection to my workstation here, which is more painful than I thought it would be. I need a way of locking down the desktop, so it's read-only, so he can't make the changes he seems to keep making. I figure I could make the .gnome directory read-only, but I don't know if that would affect the normal operation.
I'm interested in installing RHEL server on a solid state drive. I would like to make this OS read-only as to prolong the longevity of the drive (these SSDs have a limited number of write-cycles before they start to fail).
I have a simple WD external USB hard drive, but when I plug it into my computer nothing happens. Not only is there nothing popping up, but I cannot access it through the file browser. The light on the hard drive turns on as usual.
I am running a ubuntu server for home use and am currently hosting a website for testing urposes I am worried because I have to leave my port 80 open for this to work. an Idea I have is to make it that port 80 is read only.
I want to make a live-USB containing among others both Ubuntu desktop i386 and Ubuntu desktop AMD64. How do I go about this? I tried using unetbootin, first adding i386 and then amd64, but that failed. My computer with an athlon II did manage to boot, and showed it had booted into the 64-bit version (ram shown was 3.9 GB, i386 goes to about 2.7 I think), my wife's computer with a pentium 4 did not manage to boot, got to a black screen. I think this is because casper has issues, being overwritten (I'd seen something to that effect somewhere), and thus only the latest version added being booted (in this case amd 64).
I'm under the impression that the startup disc creator included won't help, nor won't the multicd.sh script, so how do I circumvent the issues?
Can you make a symlink read only? I have about 100 users who all have a .login. They like to modify their .login, which is fine in most cases, but sometimes they do it wrong & it screws up a LOT of the things they are supposed to be doing. Because of this, I'm going to lock down all .logins & I thought, "wouldn't it be nice if we could modify one file & all users would get the modification?" So I'm currently testing having everyone's .login point to a central .login via symlink. It works fine, but it appears that the users can [re]move the link & replace it with a file, thus defeating the purpose. Can I lock down the symlink so the user cannot move or remove the link? FWIW, it must be a symbolic link (as opposed to a hard link) as the file it points to is on an NFS share (not the same file system).
Remember back in the days of MS-DOS, a file could have 4 different attributes: archive, read-only, hidden, system. As you know, MS-DOS didn't have any user rights or privileges. Files had no owner. If you were at the command line, you could do whatever you wanted, you could change or delete any files you wanted to... so long as they weren't read-only. Under MS-DOS, if you had a read-only file and tried to delete it, you would get an error saying "Cannot delete read-only file". There was a simple remedy to this, just turn off the read-onlyness:
Code:
attrib -r hello.txt
The point I'm trying to make here is that even though you had full permissions over the file, you still had to turn off its read-onlyness before you could make a change. Well I'm trying to do something similar in Linux. Under Linux, the root user has full permissions over every file. But I need to make a particular file read-only so that not even the root user can alter it. I have a few programs on my computer that need to be run as root because they do some low-level networking (raw sockets and the like), and these programs alter my "/etc/resolv.conf" file. Well I need to find a way of making my "/etc/resolv.conf" file READ-ONLY, even for the root user. It doesn't seem as though the Linux filesystem provides a means of doing this, reason being that the root user will always be able to alter any file it wants to. I was thinking though... there's some way I could turn my "/etc/resolv.conf" file into a virtual file of some sort, like maybe I could use some sort of mount program to mount the file as read-only... ?
I need to change a filename but when I boot up I get the message root device is read-only. Is there a way of changing this so that I can change the filename. I have a Mac Pro running Leopard OSX. The graphics card an NVIDIA 7500GT or driver has failed. It was suggested elsewhere that I change the relevant kext files to filename.kext.old, which I did, now when I try to boot start in OSX I get a message in various languages telling me to restart. I have tried booting in safe mode and from original Installation CD. In Safe Mode I get the same multi language splash screen, from CD I still have the graphic card problem, screen freezes and artifacts appear. So I boot up straight into CLI by holding down CMD-S hoping to be able to change filenames back but it says device read-only.
I use Ubuntu 10.04. make my desktop as like as the attached desktop-look? provide me the info about which theme / icon / window border to use to make my desktop exactly as that attached look. I'll be very much delighted if I can make this desktop.
I am interested in making the root file system is read-only. I've moved /var and /tmp file systems to another partitions. There are two files in the /etc directory that need to be writable.
These are:
I've moved this files to /var and linked it. I've added command to the /etc/rc.d/rc.local file:
That's it. Are there other solutions to make the root file system is read-only?
Not sure if anyone uses floppy drives anymore much. I know that most machines don't come with them anymore unless you ask for one.One of my machines [Machine # 2] has a floppy and I have never had the occaision to use it under linux [opensuse 11.2 currently]. Until now that is! I have about 30 floppies that I need to transfer the data from. I am able to mount the floppy drive and take data off the currently inserted floppy, but if I want to insert another floppy and remove the data from it, I must unmount and remount the floppy everytime. There is an entry in fstab:
/dev/fd0 /media/floppy auto noauto,user 0 0
and a mount point in media [/media/floppy] Is there something else I need to have in the fstab line for the floppy so that it will read automatically everytime I insert a disk?
I went out to buy myself an nVidia G210 yesterday in order to play Quake Wars. I installed the 260.19 (latest from RPMFusion) nVidia drivers and 3D effects worked along with the game. What didn't work is the sound. I am using an HDMI cable to connect my monitor to the computer. It seems as though ALSA is not letting the digital stream through because when I play an audio file in Rhythmbox, PulseAudio Volume Control shows that the speakers are blasting music. This is strange, since nothing is coming out.
aplay -l: Quote: [alex@alex01 ~]$ aplay -l **** List of PLAYBACK Hardware Devices **** card 1: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog] Subdevices: 1/1
[Code]...
I am currently employing card 2, device 3 in my PulseAudio configuration (/etc/pulse/default.pa). How can I make ALSA read the digital stream from my HDMI cable?
I have not been able to write bash to use a PID file to ensure no other instance of the same script is running! All three methods I can think of to see if the PID in the PID file is another instance of the script make the script exit with a return code of 1 but the same commands run at the command prompt work as expected.
The first attempt was:
Code:
The first attempted workaround was:
Code:
The second attempted workaround (with debug to make the following command prompt copy and paste meaningful) was:
Code:
Here's the command prompt session, testing with a stale PID file and then manually running the problem command and it behaving as expected:
Code:
This on Slackware64 13.1 which has bash 4.1.7.
In desperation I tried rebooting but the behaviour was the same.
I notice that when you try to Make link to any file or folder form context menu, It just copy the same file size? even when i tried to copy the link to external storage disk..
Actually i have to make one share folder on linux in such way that user should only read the documents from shared folder and they should not take prints of that folder.could any one telme what server i should use.?samba or nfs?how can i stop client users to stop taking prints from that shared folder.
i have ubuntu 9.10 with the gnome desktop, I use some of the special effects in the "appearance" menu...but is there a way to make the desktop have a 3d look? I saw an older HOW TO, but was wondering if it was still in use...
What's the best looking gnome desktop? (I used to have kubuntu, but I prefer dolphin, gedit and a lot of the other gnome applications)
I am following the instructions on Section 8.1.* Device Driver ConceptsHere I was able to proceed till section 8.1.4.After making the hello.c file,the make file and patching the Kconfig as mentioned,I tried to run the $ make ARCH=ARM CROSS_COMPILE=xscale_be- gconfig This gave error as:make: *** No rule to make target `gconfig'. Stop.I am not sure if my kernel is correctly compliled,but I was able to complie and build the kernel for arm before by cloning the kernel and building from the following link without any error. https://omapzoom.org/gf/project/omap...ux+OMAP+Kernel
I just installed Gnome Shell in Ubuntu 11.04 through UGR Linux and everything works fine! The only problem is that I cannot run make and make install. I get the following errors:
Code: alexandros@Autobot:~/gnome-shell/source/gnome-shell-extensions$ make && make install Making all in extensions make[1]: Entering directory `/home/alexandros/gnome-shell/source/gnome-shell-extensions/extensions'[code]........
I would like to know how to make an Animated Desktop . I have seen 2 videos on you tube..but were not clear on how it is exactly done. I would like to know the correct way.
I need to modify fs/open.c and fs/read_write.c to make my modifications. I cannot find any options in 'make menuconfig' to make these files modules rather than compiled elements. I'm thinking these cannot be modules because the file system won't work without open.c and read_write.c. Is this correct - I cannot compile fs/open.c and fs/read_write.c as modules, only as compiled elements? Or, is there some way for a module to overwrite these routines when the module is installed and re-enable the routines when the module is removed?
I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)
My current Makefile
Quote:
#What needs to be built to make all files and dependencies
clean:
# End of Makefile
I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.
I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop
These kernel sources are usually the sources from debian, with a couple of more patches that I add. It appears that for nvidia-driver package versions higher than 352.79-1, the kernel headers/sources need to be prepared with 'make prepare' and 'make prepare scripts'. It's that simple. I concluded this after the nvidia dkms build failed on my custom kernel, but then succeeded after I pointed it to the full sources, but only after running 'make prepare' and 'make prepare scripts' on them. The problem is that this make-kpkg scheme doesn't appear to do this, or if it does, it doesn't properly include in the headers everything that it should.
I have been trying to make a shortcut to my downloads folder on my desktop but I only seem to be able to create "link to downloads" folder. I thought this was just the same thing as a shortcut but when I run some programs from the folder they do not work correctly. They only work from the real 'downloads' folder and not the 'link to' folder