Security :: Tips To Run Unkown-source-binary?
Feb 27, 2010
I got some binaries from internet (amule), but am afraid of using them, exposing my system. Since some run long simulations, it is not desirable to run in slow VM.
What do you gurus say if I run it as a new user? So the binaries would just be able to read and execute my binutils... Is that harmfull?
View 7 Replies
ADVERTISEMENT
Jun 7, 2011
Right now to install software from source I do a ./configure && make && make install which doesn't allow for easy uninstallation (some don't come with an 'uninstall' goal, and if they do you have to keep the source around). I'd like to learn how to create binary RPMs from source tar.gz files (one reason being that it makes for easier uninstallation). I tried the following but it complains with the following errors:
Code:
$ rpmbuild -ta mysource.tar.gz
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
Apparently that's what happens when there is no SPEC file in the tarball. But all the tars I've tried give this same error. Is there a simple way to create binary RPMs from source files - as an example, this source tar [URL].
View 4 Replies
View Related
Apr 15, 2010
I have this source.tar.gz, I unpack it and cd into it, then I
Code:
$mkdir build
$./configure --lots-of-options --prefix=$PWD/build
$make
$make install
So I have inside my build folder, 4 folders, usr, lib, man, share. How do I convert this into a binary rpm package...?
View 4 Replies
View Related
Feb 4, 2011
Very often we get to hear Binary / Source when we talk about installing packages...From what I understand "Binary" refers to a natively packaged installation by a Distro wheras installation from Source would entail fetching the files, Compiling and then building the package. When we say "source" where do these codes reside? Is it diffferent for different distros or one common source like "sourceforge.net" or similar?! I know it sounds silly but what is the origin of the source codes??
One general remedy if a package is not found is to install from source... So , source would refer to a "tar.gz" or "bz2" archive present at some location like "[URL]". In some cases , id it possible that some packageas are not available in "Source". When I tried to build a package for a particular distro , I was told that some dependencies are not un the source ...What is the meaning of this? So do all distros maintain the codes in their official repositories?
View 1 Replies
View Related
May 30, 2010
I know there's a which command, that echoes the full name of a binary (e.g. which sh). However, I'm fairly sure there's a command that echoes the package that provides a particular binary. Is there such a command? If so, what is it? I'd like to be able to run this:
commandName ls and get coreutils for example.
View 1 Replies
View Related
Aug 3, 2009
When I do a yum or an initial load of vsftpd, I get binary that works. I got the source file "vsftpd-2.0.5-12.el5_3.1.src.rpm" from [URL] to make a change to add chown_upload_mode to version 2.0.5
With no changes to the source, the program works but does not respond to the service command properly. See [URL]
How do I get the source of vsftpd that matches the binary distribution?
View 3 Replies
View Related
Feb 11, 2010
Before installing Fedora on my laptop I backed up my files onto a USB key. I wiped the hard disk and installed Fedora 12. I copied my files back to my home directory - but all the text files are now binary! Any ideas why this would be or how to fix it??---------- Post added at 10:54 AM CST ---------- Previous post was at 10:35 AM CST ----------Hmm it seems that only some files are binary. Looks like some .tgz files are corrupted too.---------- Post added at 11:02 AM CST ---------- Previous post was at 10:54 AM CST ----------Damn - I wonder if the files weren't completely written to the usb key before I removed it. I don't remember their being a safe mount option in Fedora 10 - but I definitely unmounted it before removing it from the laptop.
View 1 Replies
View Related
May 5, 2011
Is there any Linux utility to combine two or more binary files into a single binary file ?
View 7 Replies
View Related
Nov 30, 2010
How to coded version info and other information likes author and company name into the ELF binary?
I prefer the put the version info during build step.
View 5 Replies
View Related
Oct 5, 2010
I have recently updated my ubuntu 9.10 install to 10.04. And with that I've tried to install snow leopard on my computer so i can dual boot between them.the install was successful, but grub2 (that worked fine) wouldn't see the OS X install on its own partition. so i tried reinstalling it, like you do after you install windows and it would remove grub as the bootloader.That didn't work and i got a lot of messages that it wouldnt work because my partitioning (or something like that) is GPT. by the end of it i didn't have grub installed at all!so i started playing around with GParted, and while doing that i also put a bios_grub flag on my main ubuntu install partition, thinking that it would force grub to load from that partition. But that just gave me the GRUB Rescue prompt when trying to boot.
So i unchecked the bios_grub flag. and now it doesn't boot to anywhere and when inserting the ubuntu live cd i cant even see the ubuntu ext4 partition and mount it.Gparted says that its a partition that its File System is undetectable and unknown.Is there any solution that will allow me just to mount that partition and copy files from it? (unfortunatelly my backups are a little older than i would like them to be)Heres what boot info script gives me: (the partition that i need is sda1)
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
[code]....
View 4 Replies
View Related
Dec 16, 2010
i recently downloaded wubi and attempted to install ubuntu. everything went smoothly and the first time i tried to boot up ubuntu, the purple desktop background came up and ubuntu finished its installation. then i had to select which operating system to use (XP or newly Ubuntu), and when i choose ubuntu i get the following message:
"Choose an operating system to boot from:[XP is the only OS listed]
Use the up and down keys to select which entry is highlighted. Press enter to boot the selected OS. 'e' to edit the commands before booting or 'c' for a command-line. ESC to return to previous menu."after i select XP, the error message "error: unkown command 'drivemap'." displays briefly in the upper left hand corner. I am currently running Windows XP.
View 1 Replies
View Related
Jul 23, 2011
I deleted /etc/passwd.lock and /etc/gshadow.lock. Now when I run normal command installation, I receive this following error-
rocky@ubuntu:~/Downloads/Modified Oracle$ sudo apt-get install bc
sudo: unknown uid: 1000
rocky@ubuntu:~/Downloads/Modified Oracle$
I'm unable to use sudo, please let me know what did I messed up. And how I correct this mistake? Why unknown uid:1000 is coming?
View 7 Replies
View Related
Dec 1, 2010
My laptop was running Vista just fine. I had and wanted to install Linux and chose Ubuntu. I installed it to a USB and booted using this USB. It installed just fine and ran fine one time as well!When rebooting and wanting to run Windows, I got the diskcheck screen and let it run. Windows booted fine afterwards.On my next reboot all I got and still only get is the following
Code:
error: unkown filesystem.
grub rescue>
[code]....
View 2 Replies
View Related
Dec 3, 2010
My sister got a Dell laptop installed Ubuntu 9.10Her 3 year old son got to the laptop and i have no idea how hey did this.He accidentally deleted the hole hard drive + file system ext4.Can com one tel me how the blip i can recover the lost data.Now if i do this sudo fdisk -lu i get this
Device boot Start END Blocks ID System
/dev/sda1 * 19131 19458 2620416 C w95 FAT32 (LBA)
/dev/sda2 18707 19457 6032407+ 5 Extended
[code]....
View 5 Replies
View Related
Jul 5, 2010
how efficient and effective are these snort, argus, ossec etc etc for an organization having 3500 PC Network, connected through 700+ Cisco Devices (Layer 2 and Layer 3), and scattered on 130 different sites (geographically)? what should be the combination of products and what should be the architecture for an efficient forensics activity?
View 2 Replies
View Related
May 3, 2010
just tried downloading the latest version of ubuntu and install it on my laptop got an error message at the end of the installation (an I/O error, dev sr0,sector something) now when booting i got grub rescue. the only command working are ls and set. commands such as 'linux' or 'boot' show 'unkown command'
typing
ls (hd0,1) or ls /boot/
results in
unknown filesystem
I tried to reinstall grub using the 3 different methods as in [URL] got no error message while doing so except when typing sudo grub-install --recheck /dev/sda it told me something about being unable to locate ubuntu or something along those lines - sorry i thought i'd remember .. running out of option is there a possibility to download the latest pre 10.04 stable version?
View 9 Replies
View Related
Dec 13, 2010
I'm looking for a way to delay or disable the balloon tips that appear when pointing the curser at certain things. Example: In applications>accessories>archive manager; when the curser is touching "archive manager" for more than 1-second, a balloon tip window appears that says "Create and modify an archive." I would like to increase the delay before the balloon tip appears to be 5 seconds or more, as I rarely need this feature. If delay is not possible then I'd elect to disable it, if that can be done. I've searched Google and these forums but have not found any posts. I'm thinking the setting may be hidden somewhere in the "Configuration Editor," but I haven't been able to find it.
View 2 Replies
View Related
Mar 10, 2011
I am looking for audio transcoding tips. I would like to transcode mp3 to ogg on F14. Can someone advise me the tool to use and if there are some script lines required to operate in bulk mode?
View 10 Replies
View Related
Aug 28, 2010
How do I get rid of Yellow Tool Tips? I already tried: gconf-editor and apps > panel > global and uncheck tooltips_enabled; then rebooted. The yellow tips are still there. I find them of little help and a bit annoying. Update: Actually I just noticed that the color depends on the theme being used, therefore it is not always yellow!
View 3 Replies
View Related
Apr 26, 2010
I would like to find some useful vi literature for beginners that have simple exercises included. Tips anyone?
View 2 Replies
View Related
Feb 22, 2011
My distribution of choice on my desktop is Arch Linux (I like getting all the new stuff before anyone else) but I am going to be making a home server, and I can't imagine Arch Linux working well for that because I want something stable and reliable. I always admired Debian for not only APT but it's reliability. I thought about using Ubuntu server but I don't like the direction Ubuntu is going, and I like Debian better anyway, so I am firmly set on using Debian for this server.
This server will be more advanced than necessary for a home user. The reason is because it's a learning experience. I want to learn all about DHCP, DNS, and all those other things. I'm already very knowledgeable on SSH and Unison, which will be the primary focus (backing up). So I was hoping I would list the things I decided to do and get some opinions/best practices from you guys.First, I decided on a Dell Inspiron 570. It's dirt cheap (around $280) and it has a gigabit network card. (I'm pretty sure). I need to stay as cheap as possible because money is a HUGE factor for me. I have a budget of under $700 to do all this. (So I may need to get smaller hard drives). Whatever default hard drive it comes with I will add two more hard drives in a RAID1 for /home. Like this:
Disk 1: Root, swap and boot partitions (smaller hard drive)
Disk 2 & 3: Dedicated to /home, on a RAID1 (two 2TB hard drives)
The idea is that once the server is all the way done, I will image Disk 1 with Clonezilla, and if it fails, just restore it. I personally don't feel that having RAID1 for the root partition is necessary when Clonezilla takes 20 minutes to restore a drive, or less. The OS and all configurations in /etc would automatically be backed up in that image.Since I'm using the server primarily for backups (there won't even be a monitor on it when done) /home will be on a RAID1 since that's the most important thing. (I have backups on external hard drives too, one is off-site, so still no worries). Also, the server will handle DNS for the hostnames on my four other computers, and I'm thinking of replacing my router and having my server do that too. Nothing wrong with my router, but it would be fun for me to set this up.
View 2 Replies
View Related
Jun 4, 2011
I've got a non-urgent but itchy thing here - I'm implementing a drag-and-drop. All rolls well, but I'd like to have the component be "followed" - if there is a drag on the component, the form should be visible. I'd like to make a puzzle where the player can see the perimeter of the piece to see if it fits where (s)he'd want to drop it. Before I delve into the tons of code, I'd like to know if that (the following) can be done.
View 2 Replies
View Related
May 17, 2011
I'm building my new home machine right now and as usual this will be a heavily overloaded workstation that will serve as development and testing machine, file server and game console (plus I'm adding TV cards and multimedia streaming for my home network). Since these use cases work against each other (file server is unavailable when the machine is used as game console), I'm heavily considering the use of Xen to provide everything at once. Performance shouldn't be an issue in general, but the game console use case definitely requires direct access to a GPU.
[Code]...
View 3 Replies
View Related
Jun 19, 2010
I am using ubuntu remix 10.04 on Dell mini 12 notebook. Everything is perfect expect coding in Eclipse. If any code tips window pops up, then I can't type in any letter until I click right mouse button or [Alt + Tab] to other window and switch back
View 2 Replies
View Related
Jan 7, 2011
This was happend to me 2 days ago when updating Ubuntu 10.10 and I didn't notice that 10.10 was unintentionally upgraded to 11.04. After uninstalling 11.04 and reinstalling 10.10, I made a basic tips on how to update your 10.10 without upgrading to 11.04: Simply install some "Important Security Updates" only in Update Manager.
View 5 Replies
View Related
Jul 23, 2010
Now I managed to get iptables to work with my OpenVZ configurations and everything seems to work as it should. However when I run iptables -L I can only see source for the second SSH rule, why isn't the first ones source/IP shown? Also if you have any comments about the setup feel free. I'm running SSH, Apache and local MySQL
The xxx.xxx is simply to hide my IP's
Code:
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP
iptables -F
iptables -F INPUT
iptables -F OUTPUT
iptables -F FORWARD
iptables -F -t mangle
iptables -X
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -d 127.0.0.0/8 -j REJECT
iptables -A INPUT -p tcp --dport 22 -s 77.213.xxx.xxx -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -s 62.198.xxx.xxx -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED -j ACCEPT
iptables -A INPUT -m state --state INVALID -j REJECT
iptables -A INPUT -j REJECT
iptables -A INPUT -j DROP
View 6 Replies
View Related
Oct 17, 2010
How i know who is pinging me or trying?
View 1 Replies
View Related
May 26, 2011
There's always some annoying tips showing in Libreoffice Impress slide show,like 'Click to select master text style','Second level' & 'Third level' on every slide,even in slide show mode.
View 1 Replies
View Related
Jul 16, 2010
I noticed a very very high cpu usage on my webserver. All four CPUs were running on 100%.
Top shows several perl processes from apache that run for a long time, with a high %CPU.
Since the server was fc10, I did a fresh installation to fc13, and the fresh installation didn't have this issue. Then I loaded back all the user-data, and it started again.
Several, 4, 6, 8, ... 100 perl processes from apache.
lsof -p with the pid of such a process
Code:
The estabilished connection is sometimes "proud2pirate.com" wich is a non-existing domain.
View 14 Replies
View Related
Apr 7, 2010
I want to restrict SSH so that its only accessible via the machines I own on this network. Obviously need to secure user authentication/host authentication, that aside though is the following sufficient at a network level given technical users also use this network? IP addresses are static, though I know they could be spoofed.
Code:
Chain INPUT (policy DROP)
target prot opt source destination
existing-connections all -- anywhere anywhere
allowed all -- anywhere anywhere
[Code]....
View 4 Replies
View Related