Hi. I am running Ubuntu 12.04.5 LAMP webserver. Today, my users complained that they could not access the website for a few minutes. I am trying to study the log files on what the machine was engaged in.
1. Which log files would I look at?
2.Is there a command that lists all processes that transpired today, sort of like ps aux?
Help!! In 12.04.5 Ubuntu, the /boot directory was full and had a lot of duplicate files from different dates, some I thought were unnecessary headers of updates. However, one series of files was called vmlinuz-3.2.0-29-generic. I moved all the files to /obsolete_files. I rebooted after having trouble upgrading packages (I think this is a second problem with this machine). I now get the following prompt.
grub rescue>
Is there a way to access the directory system so that I can move those files back? I really only need to retrieve one or two files off the system.
Code:
grub rescue>ls
(hd0) (hd0,msdos5) (hd0,msdos1) (fd0)
It doesn't under boot, or insmod. I can set prefixes. Am I doomed?
Hey guys, I got samba working and I am able to access my files, however I am now trying to learn security with it. i am pretty much trying to allow certain groups access certain files. if you look at samba group you can see that I have @sambausers group to access sambagroup directory.
I have a user called sambatest01. the user can access "samba users only" but the user can access all of the other files as well. what is a correct set up on the other smb.conf to prevent users from accessing this? I cant seem to find a proper set up
[drivers]
path = /files/drivers
browseable = yes
read only = no
guest ok = no
guest only = no
[samba users only]
path = /files/sambagroup
browseable = yes
read only = no
guest ok = no
guest only = no
write list = @sambausers
valid users = @sambausers
One thing i love about Linux is the many different distros! And today i decided to spend a a little on a new lesser expensive laptop to dual boot Ubuntu and Kali.. No Windows at all on that machine. I have an outlook web access account for any microsoft needs. The new machine should be here by the weekend! Cant wait to get it all installed. Im doing it this way to force my hand to use it more often. I am also in school for InfoSec so it makes sense to me. Ubuntu is traditional it seems while kali is the pen-testing king
-Randy
Any suggestions? Oradvice?
I got this message when I issued users-admin in terminal.So I wanna know how to fix it. My machine is running Debian 7.5 Weezy + kali 1.0.9.
Thanks in advance.
(users-admin:11501): Gdk-WARNING **: users-admin: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
Hi Experts:
I'm new to Linux,recently i was confused with the words as below:
"To achieve sharing,the process A mmaps the executable file of process B into into the virtual address space of process A. As the Linux loader maps the executable files into the process when executing them,the two processes share the memory image of the mapped file"
questions:
1,What are the "executable files",are they ELF files?
2,How to do "mmaps"?if process A and process B share the same code segment, ,where is process A's own code segment?
Thank you in advance.
Don't know how but now when I use ls I get list of files and directories on their own lines. I want the default behavior I had before. When I cd into another directory I have default behavior - horizontal list of files and folders.
Hello, I have a system that uses a compact flash with a windows os and some other files on it, also somewhere is some sort of encrypted licensing information. I have several of these machines and can use the cf from the others just fine in this machine. But when I take one of those cards and try to copy it with dd, somehow the machine can tell the difference. It's nothing illegal, it's just too old to buy the replacement. Someone has told me they copied successfully in linux with the dd command, but mine aren't working. I also can't tell the brand or type of cf since all the labels have been removed. All i know is that it's a 256mb card. So is there any other options besides dd, or is there a deeper level of dd that i can use to copy this info. I'm using something like:
sudo dd if=/dev/sde of=/home/folder/cfcard
then to copy from my hard drive to the blank cf:
sudo dd if=/home/folder/cfcard of=/dev/sde
I'm using a usb cf reader, and when i have my finished cf everything looks good. Even the machine can read it, it just gives me an error that the cf card isn't a licensed or corrupted.
I'm very used to working on a linux machine, programing in Unix terminals all through college. That said, I have never needed to work with linux distributions or doing more than some apt-get software installation.
I need to make a CD. I need a machine to be able to boot from this CD. I would like there to be a unix terminal that runs a script automatically. This script must be able to mount an NFS drive, do simple networking (TCP/IP), and update the software on the machine running it through deleting/adding files.
I guess I need an .iso for a linux distro that has files and a script already on it that can be used to update a bunch of these specific machines?
Should I go through the LFS project in order to learn how to do this?
I'm pretty lost and need some help. Thanks!
I am running linux mint 17 and every few times I put new files on my mp3 player the files end up being corrupted,and when I connect to my windows machine it says that the mp3 player has some bad files on it. Can anyone shed some light on this problem,I use Dolphin file manager.
Thanks in advance for any help.
In my Ubuntu 14.04 something happened to gnuplot app. When I invoke a command gnuplot filename.gnu no canvas is generated. I think it began about a month ago but at that time I worked on this machine via a remote desktop and I thought, mistakenly, that the plot actually was generated on the major machine and I could not see it. I operated at that time via a laptop. So, today is the first day I am testing this software on my desktop and lo and behold no plot is generated.
When command is run Ubuntu does not come to the command prompt. It gets suspended and waits. If I click RETURN button, the command prompt will again appear but where is the plot?
I hope I made my plight clear.
Needles to say I have used gnuplot many times in the past although perhaps in Ubunutu VM which I will test shortly.
I also made sure that gnuplot is installed, trying to do
Quote:
sudo apt-get install gnuplot
The result was that I do have it installed.
What is the problem?
Thanks, - A.