General :: Hide The Presence Of A File By Modifying The Gid/uid?
Jan 8, 2011Whether we could hide the presence of a file by modifying the gid/uid?
View 1 RepliesWhether we could hide the presence of a file by modifying the gid/uid?
View 1 RepliesI want to pick up Python3 from squeeze, meanwhile I would like to stay with lenny with all other packages. Is this possible by just modifying source.list file?
View 2 Replies View RelatedI just installed a program and do not know what is causing this error. When I run it from the applications menu I get the following error "Could not launch 'FirstClass Client' :Failed to execute child process "/opt/firstclass/fcc" (No such file or directory)". I opened up a terminal and looked at the location. The file is there. I do not know much at all in this area but do not understand why this error is occurring.
Terminal output: <will@will-Latitude-E6400:/opt/firstclass$ ls -al
total 15128
drwxr-xr-x 10 root root 4096 2009-11-18 13:22 .
drwxr-xr-x 3 root root 4096 2010-10-18 17:51 ..
drwxr-xr-x 3 root root 4096 2009-08-06 01:15 download
-rw-r--r-- 1 root root 867 2009-11-18 12:29 fcapps
-rwxr-xr-x 1 root root 7521991 2009-11-18 13:22 fcc
[Code]...
I was wondering if it was possible to hide the File Systems from a user. So when then browse through folders or choose to save something the default folder is their "home" folder. I am using SAM Linux distribution and don't want my users to be able to screw anything up! I use thunar as my file manager and was just wondering if it is possible?
View 12 Replies View RelatedHow can I become root outside of the terminal? I want to be able to manipulate the file system (i.e. move files, delete files, rename files) in the file viewer GUI (not sure what it's called; I'd say "Windows Explorer" if I were talking about Windows).
Also, how can I manipulate (move, delete, copy, rename) files inside the terminal?
I do understand how to move around (change the working directory) in the terminal, and how to become root in the terminal, and naturally I understand how to move, copy, blah blah blah. I know the basic basics (just letting you know, I'm not the type of person who knows less about computers than a rock does).
I change the interfaces file to activate the DHCP service for my eth0.
How do I make the service active without booting the system. In other word, how do I run the modified interfaces file?
I'm having difficulty installing a MOD for Lpanzer because I can not modify any files in the file system because I'm not the owner. According to permissions Root is the owner. So how do I either tell Ubuntu I'm the owner? Or do I need a utility program to get things going?
View 3 Replies View RelatedI am trying to convert from using the base centos kernel to centosplus kernel. I have modified the CentoOS-Base.repo file to do this, including ensuring that I have excluded the kernel kernel-devel etc from base and updates. However when I do a yum update there is nothing to update. I have noted that my current kernel is kernel-2.6.18-194.8.1 whereas the current centosplus kernel seems to be 2.6.18-194.3.1. I presume that the problem is that the plus kernel is not as recent as the base kernel. Is this correct? What is the best way of converting to the centosplus kernel in these circumstances?
View 2 Replies View RelatedWe had a problem with the NIC 10Gig Qlogic NICs and had to swap them with Emulex 10Gig NIC cards. The swap has been done. There are several severs (about 100)for which we need to check if the hands-on still left the q logic card in them. So, I wrote a script using dmesg and grepped for "qlogic" or " NC522SFp" and my script checked for all the servers and returned no presence of "qlogic". But few of them have q logic still in them. So, is there any other way through which we can exactly tell whether q logic card is still present or not? I used:
dmesg | grep -i "qlogic" or
dmesg | grep -i " NC522SFp"
and found nothing in the o/p. But when I checked using ifconfig -a, then I see the q logic mac ids for eth4 & eth5, which means the Q logic is still present.But not sure whether ifconfig is the real way to find out the presence of these cards.
Can you please do me favor and let me know how can I check for the presence of inernal (built-in) Bluetooth device on my Linux server ?
View 1 Replies View Relatedin case you have been wondering how some websites hide the exact location of a file on their filesystem, just thought i'd share it with the commnity at large in case someone else is looking for something like this.i take no responsibility for how it is used.
View 4 Replies View RelatedBasically I am trying to add a new driver[megasr] into the ISO image, hence performed the following :
1. Mounted the RHEl5.4 ISO image
2. Copied the initrd.img to a temporary directory, performed changes to add the new driver in the modules.cgs, updated the corresponding files and recreated the modules.cgz file module-info modules.alias modules.cgz modules.dep pci.ids
3. Copied back the newly created initrd.img file into the isolinux folder.
I tried to burn the ISO and install it, but it seems that the new driver does not get loaded. I am unaware of any other changes?
I'm looking for a way to dynamically modify a fied in the SQL file.
Example,
INSERT INTO `TABLE` VALUES(1AADFDF,DFF33D,10023,SOMEDATA, SOMEDATA);
INSERT INTO `TABLE` VALUES(1AADFDF,DFF33D,10098,SOMEDATA, SOMEDATA);
[code]....
The third field in this SQL file is what needs to change to n+1
"10023" needs to change to "1"
"10098" needs to change to "2"
"10123" needs to change to "3"
"10983" needs to change to "4"
etc...
I tried with awk and sed, but since both require the usage of ' (single quote), my variable fails to get updated. I know i can use cut and recreate the sql statememnt, but i believe there should be easier way using sed or awk. Would anyone know of any creative way to get this to work in one-liner? This needs to be a part of the script preferable without making call to external file.
I don't know almost anything about it so I was thinking of asking this question from the experts.I recently downloaded the xPUD 0.9.2.I LOVE that OS!It's simple,fast and smart.I just would like to add some other programs to it somehow.Is that possible for ex. extracting the image,modifying files,then remaking the iso?(Talking in Windows7)I would like to add some programs like Wine and some games also.Please reply as soon as possible because the xpud site is down for bandwidth exceeded.
View 2 Replies View Relatedmodifying an account from bunnyb to bugs using the usermod options -d and -m?
View 1 Replies View RelatedI have a few FTP users on my linux server(running vsftpd). They all have their own directory and can upload and delete files in that folder.Now, I was wondering whether it would be possible to create special permissions/rights for users. For example, I would like to make it so that certain users could not upload .exe files, or I want a certain user to only be able to upload image files (gif, jpg).
View 2 Replies View Relatedi was just wondering if anybody knows of a command that i can run in the terminal to HIDE file extensions.I would apretiate this command and i dont mind if it is for ubuntu or windows.
View 2 Replies View RelatedI wrote a c++ program but for security reasons I need to make sure that no one can read my codes by my ".out" files. I did everything I could. But everyone can see it by "strings Alpha.cpp".I heard that g++ has some options to do so.
View 7 Replies View RelatedJust recently installed the latest Ubuntu on my laptop and working perfectly. I have installed and configured LAMP but unable to figure out how to hide php and html file extensions when visiting a URL. I have enabled mod_rewrite via sudo a2enmod rewrite. Can this be accomplished globally rather than using a htaccess file?
View 6 Replies View RelatedCan i add another kernel 2.4 in grub while kernel 2.6.31 of ubuntu 9.10 exists
View 10 Replies View RelatedI have just had my Ubuntu 10.04.2 Luci installed under my Windows OS. Things seem to be fine until I find out next that my copy of Ubuntu does not detect the presence of the cdROM which installed the software itself on my desktop machine.
I have tried searching high and low for clue in this forum, tried all the recommended tricks to find out at last that there is no cdROM listed under my DISK UTILITY and when I input the following comman,
sudo lshw -class disk -class storage I only happened to see my hard drive and some USD drives being listed.
Also, Brasero Disc Burner does not detect the presence of a cd/ DVD rom devices.
in gcc how to read a blank line ie a string of length 0.
my code: Code:
#include<stdio.h>
#include<string.h>
#include<string>
using namespace std;
[Code]....
Sed seems to react to the presence of "" in its input if the immediately following character makes the pair a recognizable code. In the code following see that the "a" and "" are missing in the output, and that the "c" caused sed to terminate at that point. Is there any way to prevent it reacting like this?
Code:
g y="the shell built-in command. The following character sequences
> have special meaning:
> a Alert (bell).
> Backspace.
>
> c Suppress trailing newline.
> f Form feed.
>
[Code]....
Increasingly over time, i.e., days I experience that the keyboard (and mouse) is not recognized when booting.Now it's every time I boot. However, there is a fix. If I plug out, and immedeatly plug in again the keyboard connector everything is fine, except that keyboard short cuts not always work depending on application. In the mouse case the right mouse button doesn't respond either. Besides these effects the system, openSuSE 11.3, boots fine. It's a hazzle everytime to plug in and out again. I'm opting for another fix. Nothing suspicious in /var/log/messages. I've tried to see if there is a particular led light sequence on "num lock", "Caps lock", "Scroll lock" that I can get som info from, but I haven't been successful.Anyone got a suggestion to what might be the cause of this behavior?
Keyboard is kwd-205
Mouse is Microsoft wheel optical mouse
Base Board Information
[code]....
I've taken the plunge and embarked on my very first install/congifuration of Ubuntu. I've successfully installed 10.04 from the LiveCD onto a brand-new 500 GB hard drive. It boots fine. At least, it did until I reconnected another hard drive that contains a Gentoo system. (I had unplugged the Gentoo drive during the installation so as not risk mucking it up).In the presence of the Gentoo drive, the Ubuntu system starts to boot, but then fails with an a error that it's unable to mount /var.Investigation (df -k) indicates that it's mounted one of the parititions on the Gentoo drive. If I unplug the Gentoo hard drive, the Ubuntu system agains boots properly.
I have no idea why the 10.04 system even sees the other drive, much less mounts one of its partitions.My intent, once migrating to Ubuntu, was to copy needed user files and data from the old Gentoo system, then repartition the drive and use it for additional Ubuntu storage. Seems I can't get there from here.Is there some feature in Ubuntu that causes it to go looking for any other drives accessible on a system and then go about mounting random partitions?
Win-7 Ubuntu Dual Boot, Drive Presence Issue I recently built up a new computer and set it up for dual-boot with Win7 and Ubuntu. Initially I had some issues with the boot management but I discovered that GRUB works well and Paragon's Partition Manager does not. I reloaded Ubuntu using GRUB and got the system working exactly as I would like it to. Several weeks later I volunteered to assist my brother-in-law's family with getting their Unbutu system working properly with a new Brother MFC295CN printer. I brought the printer home so that I could work with it on my system.
I did get the printer to work correctly but in the process I had to reload Ubuntu because I made a few mistakes on my way to success. When I reloaded Ubuntu, I accidentally loaded it onto my system's second drive, drive F. Before, I had Ubuntu in a partition on drive C. Ubuntu works from the F drive and GRUB allows me to boot either Win 7 or Ubuntu, as desired. I will note that the earlier version of Ubuntu on drive C has been removed although the partition is still there. GRUB shows entries for this second copy of Ubuntu along with Win 7 and the entry for the functioning Ubuntu OS.
Here's where I am getting into trouble. Initially, everything looked fine. Win 7 worked, Ubuntu worked. Then, after a reboot to Win7, I noticed that my F drive was missing. I searched all around the system controls, tried loading new hardware, etc, etc, but the drive did not show up anywhere. Rebooting into Ubuntu showed that the drive was in fact still there and all the date in the large data partition was still there. Using Ubuntu's partition manager I discovered that the data partition was not enabled. I enabled the partition and rebooted back into Win7. No go.
The F drive was not present. My next step was to try Paragon's Partition Manager software, which I have a paid-for copy of. It would not see the F drive either. Using the Paragon recovery disk I had made earlier with the Paragon software, I restarted the system. The recovery software saw both drives correctly and the partitions were set up correctly. I ran the boot corrector software but I did not mess around too much as earlier experience had indicated that some of the Paragon features do not work well with Ubuntu. I shut down and rebooted into Win7. Success! The F drive was there.
But later, when I restarted the system the F drive was gone again. I tried a few things then rebooted using the recovery disk again. As before, on the next restart the F drive was present. I didn't take the time to reboot the system twenty times, but it seems apparent that something in the boot records is preventing Win7 from seeing the F drive correctly unless I boot from the Paragon recovery disk and then boot Win7.
No knowing a lot about what goes into a boot record and how either GRUB or boot.ini manage things, I am at a loss as to why I'm seeing this inconsistency with the F drive. A probable solution would be to remove both the second (old Ubuntu) partition on the C drive and the Ubuntu partion on the F drive and reload Unbutu all over. This would put me back to where I was in the beginning. However, this seems a bit inelegant as all the other attributes of the system are working well, is there a better way to address the problem?
I want to check whether a USB is plugged in its slot from a C program. I want to make use of /proc interface for the same. During my reading i found that /proc/bus/usb/devices will tell how many USB devices are currently present.
So whether i can open this file and use stat call to identify whether the size is 0. If size is 0, i can assume no USB present. Else i can assume USB is present.
Whether my understanding correct. If USB inserted, how can i check the folders present in the USB stick.
I just moved my bottom panel to the right side of the screen and set it to auto-hide., The panel hid it'self but will not un-hide when I move the mouse to the edge of the screen... I tried to re-boot, but the panel is still "stuck"Is there an easy way to fix this? Or will I have to manualy delete the panel and make a new one
View 10 Replies View RelatedI really want Python 2.6, which is not part of the standard Hardy packages. I just tried installing the Python 2.6 Linux distro direct from python.org. While I didn't see any error messages during the installation, I'm still defaulting to Python 2.5, and 2.6 installed to a different folder than 2.5.
A secondary wish: I would also like GROMACS 4.0 instead of 3.3. Again, Karmic has it as standard, Hardy doesn't.
I'm running dual hard drives in a software RAID1 configuration. My system is Linux only, so I have no Windoze compatibility issues to worry about.
Still, I've gathered that upgrading in the presence of RAID is different, and more problematic, than a standard upgrade.
I need to write script to look for the presence of memory allocation calls without corresponding calls to free the memory
View 5 Replies View Related