Ubuntu Security :: Access To A Virtual File System For The Thermocrom Without Needing To Launch Owfs As Root?
Feb 12, 2011
I have been trying to use my DS2490 USB to serial device with a Maxim .DG1921G thermocron with owfs. It is supposed to give me access to a virtual file system for the thermocrom without needing to launch owfs as root.
Code:
/var/log/messages gives:
Feb 8 16:22:45 norman-HP-G56-Notebook-PC kernel: [ 236.140141] usb 5-1: new full speed USB device using ohci_hcd and address 2[code]....
but if ds2490 module is loaded it works when run sudo.It seems from this that it is a lack of permissions to USB but I have tried all the methods on at http://owfs.org/index.php?page=udev etc. to overcome this and a few others but none work.I am running Ubuntu 10.10 kernel 2.6.35-22-generic #33-Ubuntu SMP
I would like to know if it is possible to deny the access to a file for root? Would ACL's be a possibility? I have "googled" around but haven't found anything interesting (except SELinux). I should secure a password file to an important database.
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?
I need to customize linux kernel root file system for embedded linux system. During compile time, for root file system I am able to create different user/group ex: "gnumuzic/Muzic". But I want to give access to group "Muzic" to some folders like /dev/nexig during compile time.
This might sound really stupid, so you'll all have to excuse my lacking knowledge. I read that USB attacks get more and more common, like putting in an USB stick with a malicious autorun script on it, and it's game over. Can AppArmor protect devices and limit their access to the file system?
We formatted a USB stick to EXT3 for use on a linux formatted device.Now, when we try and transfer files from this ubuntu laptop onto the USB stick, it says permission denied.
I'm running window xp and unbuntu 10.04. I ran into a problem where I reinstalled unbuntu by erasing old one under CD boot. During installation, it asked me to place files and i placed it in /. Now when I log in as single user (only user or other at login screen) and try to change any system files, it said I don't have permission. I can't change anything or access root file. I try chmod function and it said i don't have permission as well.
I am using ubuntu 11.04 in my home desktop. Is it necessary that firewall should be active inorder to avoid hack? I heard that we will not be given static ip address, only paid one will get static ip address that can be used for web server implementation. If my system doesnt have static address then can others access my system?
When you have a computer whose hard drive is partitioned with one part Windows and the other Linux, what are the concerns with viruses and transference across the two systems? Can viruses infect the windows side brought over through the Linux side (Firefox) or are the partitions completely separated? In other words, if all of your Internet voyages are through Firefox under Linux, is there any danger of infecting the Windows side of the computer? What about when having Linux installed within the Windows portion as a virtual system?
I temporarily placed a Back in Time backup into the root partition, by running it as root.However, I couldn't get it back out on the Desktop, so I opened a terminal window and ran 'sudo nautilus', which I now know should be avoided. I couldn't bring up "Properties" of the root folder, but I was able to open it and see the backintime folders. I then clicked on root, which was in the toolbar row "< root backintime" and was able to get full access to properties. I flipped folder access to "create and delete files" for Otherter disconnecting from the network, and moved the folder to the Desktop. So, is this correct or is it inconsistent that I could open root from the toolbar and not from the folder listing when opening 'filesystem'?
I have an ADSL modem and router, its OS is linux. It runs ftp service, and I can read files in its file system, but I have no permission to list files and to write files. It has TR069 protocol connections and can upgrade remotely.It has ssh, but not started.
I just installed gufw and was in quite a hurry. A root acces prompt came up as I started gufw for the first time, and I quickly responded with appropriate password. All I saw in this hurry was that it had something to do with the usr/share directory.So, here's my question: Does gufw require root access when first starting up
I'm currently running a dual boot (VistaFedora 11) system. I've noticed that the first time I access files on the Windows partition (via Nautilus GUI) I'm prompted for root access. However, on subsequent attempts to access the Windows partition I am NOT prompted for root access (even after I close/re-open Nautilus). My concern is that I'm leaving my root access "open".
Why do I keep getting .gvfs (gnome virtual file system) file appearing as corrupt in /~/usr directory, I can get rid of it by unmounting, but it re-appears later on. It is causing problems as it interrupts my backups (which are automated) with an error message,ListError .gtk-bookmarks/.gvfs [Errno 13] Permission denied: '/home/jimt/.gvfs'
I get the problem to acess root password when i am in user login, means wahen i am in user login and want to install software from terminal then he asked root password, when i supplied root password but he give me login incorrect.
Non-root user cannot launch "shortcuts" (sorry I grew up on windows, don't know the right term) from the file manager or plasma desktop manager.They have full permissions to the shortcuts, even ones they create do not work.If I log in with root permissions they work fine
I'm a new comer to Linux world, and I wish I can find help with some difficulties that I might face. I have a machine with Window 7 and Ubuntu (dual boot), windows 7 is installed on C drive and ubuntu installed on D drive, when I'm on Window, I put a folder named folder1 on D drive root beside (not inside) the main ubuntu folder. when I open ubuntu I can't see that file on D drive, I tried to search for it but couldn't find it, how can I access this file please ?
i still can't see quite well the security reason for not allowing one logging in as root on Fedora, but anyway...how to become the root on my system, Fedora 10, please?i did open a terminal and typed s - root then my password, now im the root, but only on the terminal, as CLI, but what if i want to change the munu.lst inside grub i.e.? and some other files or settings that there's no option to just type in the root password, how to overcome that please?
My system started running at 75 % CPU (its normally 20%), so I opened a terminal and looked at 'top', there are many processes running as root, the one thats sucking the CPU is this:'user'- root, 'pid'-2963, 'command'-X. below that there are a few processes of my user account, then alot more 'root' processes.
I have a system running with few users and servers (apache/mysql/postfix). After extracting one tar archive in '/home' none of my users are being able to access their home directory. Even other system users (like www-data/mysql) are also not being able to access any directory. Only root can access the system. I have checked file permissions, many files/directories are set to 777 rest are 755.
I am trying to get owfs towork reading sensors on a 1-wire network. I have followed several guides I found, but I always hit a problem with the 1-wire directory tha should be holding the data. When I try to read it I get a permission error, if I ls -l I see that the permissions are dand all the other data is ? as well, just the d for directory and the name 1-wire are readable. What could cause this? I have followed [URL]nd a few other bits that I found.this is what I get when I run it
HTML Code: mick@mick-desktop:/var/lib$ sudo /opt/owfs/bin/owfs -u -F /var/lib/1-wire DEFAULT: ow_ds9490.c:DS9490_sub_open(555) Opened USB DS9490 bus master at 001/006.
allow sftp access to my Ubuntu system (happens to be desktop as it's also my main system) using accounts that are not able to login normally. (I have already managed to create such accounts.) These accounts need to be chrooted (also already accomplished with the openssh daemon settings.) Where I run into problems is that I want to give them (read only) access to files outside the chroot (on another partition in fact) and the matter if made more difficult because the directories to be shared are on NTFS-3G partitions (as they are a shared linux / windows storage drive). Is this possible and if so, what do I need to do?
Edit - Forgot to include versions Ubuntu 10.10 openssh 1.5.5p1-4ubuntu4 (the one that comes with 10.10)
I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.
i need office 2007 to complete school work as openoffice doesnt support access databases. i switched to linux as i didnt have my recovery discs for windows and wanted to start afresh. my problem is that i have got word,excel,powerpoint & publisher working but access just wont load. i click the logo and it does say starting access on the bottom taskbar but then it disapears and nothing happens. ive tried google and havnt really found a answer im running ubuntu 10.10 and i have wine installed This is kind of urgent as i have a deadline fast aproaching and need access at home to progress in work
For a month or so now, I have been enabling ssh and opening port 22. I cron'ed the start and stop commands to leave them open only a few hours a day. After a bit, I checked my logs to find that some IP or another was attempting to brute force my root account.
I took little real threat by the offense.
(1) my system does not allow root to login and
(2) it would cut them off sooner than later when my system issued the stop command.
fast forward
Today I log in to find that all of my log files, as viewed from the gnome log file viewer, were empty of entries from about noon yesterday and prior.
Though I haven't noticed anything at all out of the ordinary with my system, I would like to get more opinions on the matter. Would there be any conceivable way that this was an automatic system routine, a clean up action of something? Additionally, if I was indeed the victim of a hack, what can I do to further protect my system (keeping in mind that I do want to access my system via ssh from time to time)?