Fedora :: Root File Permission Accidentally Changed Root To 700

Mar 24, 2010

the terminal and logged in as root i was changing file permissions and happened to change the root folder to 700. Now my icons have gone and i can't even access the terminal.

I was just wondering if it is possible to go to rescue mode using the cd and restore all the appropriate file permissions to root/ users if possible

View 4 Replies


ADVERTISEMENT

Ubuntu Security :: Giving Root Permission To An Application But Without Running It As Root?

Jan 20, 2011

want to run VirtualBox with root permissions. Trouble is that only when run as root i can access attached USB devices inside of a virtual machine, otherwise, these a greyed out).Now running VirtualBox as a root user also changes the configuration folders, making all my virtual machines already defined disappear. I also don't want to copy all to the root configuration folders. Is there a way to give the VirtualBox root permissions but without actually running the application as a root user. Is it possible to do without changing the permissions of the non-root user, i.e. i don't want my user to have all root permissions, due to security considerations.

View 1 Replies View Related

Red Hat / Fedora :: Root Line Passwd File Now Unable To Login As Root?

Jan 26, 2010

I edited the passwd file to modify the default shell for root from bash to tcshnow when I try to login to root it gives me the following error:"su: /bin/tcsh : No such file or directory"

View 3 Replies View Related

Ubuntu :: Cannot Login After File Owner Changed From Root To User

Mar 21, 2011

I used to use the root account for everything for more than a year then I moved to a user account for security reasons but almost all files had root as owner so I could not go 5 minutes without having to change to root and then change the owner of a file to my username to make it usable. I got fed up with this so I just changed the owner of every file on the system to my username instead of root.

command chown -R myusername * in the base directory /

Everything was fine until I restarted and the login screen became non functional and I got 2 error messages related to xsession and gnome errors. I think this is because the login screen might have its own user account and it cant access the files for the login process because it is owned by myusername. So my question is what is the user-name of the login account and what folders/files need to have their owner changed so the login process can work? I'm on 10.04 lucid.

View 6 Replies View Related

General :: Cannot Copy File Even As Root (Permission Denied)

Jan 2, 2011

I am attempting to make a backup copy of a file, but every time I try to copy the file, I get a "permission denied error -- even when running as root. The file is on a volume mounted as /media/Data . No problems reading/writing other files on the volume.

Here is the info on the file:
-rw-------. 1 root MailServer.img

I've tried chown but get the permission denied as well. This is a virtual machine image that runs fine, but even with the VM completely shut down, I get the same error.

View 10 Replies View Related

General :: Iso Image - Install Matlab From Iso File Without Root Permission?

Apr 17, 2011

I have an ISO file of MATLAB and I want to extract it to be able to run the installer. I'm not the admin of the computer and there is no 7-zip or file-roller. It has isoinfo but I don't how to use it to extract the whole ISO file and apparently I cannot mount the ISO too. way to extract the iso file?

View 1 Replies View Related

General :: Removing Write Permission Does Not Prevent Root From Writing To File

Feb 3, 2010

I just noticed on my Ubuntu machine (ext3 filesystem) that removing write permissions from a file does not keep root from writing to it. Is this a general rule of UNIX file permissions? Or specific to Ubuntu? Or a misconfiguration on my machine? Writing to the file fails (as expected) if I do this from my normal user account.Is this normal behavior?Is there a way to prevent root from accidentally writing to a file (Preferably using normal filesystem mechanisms, not AppArmor, etc.)

I understand that root has total control over the system and can, eg, change the permissions on any file.My question is whether currently set permissions are enforced on code running as root. The idea is the root user preventing her/himself from accidentally writing to a file. also understand that one should not be logged in as root for normal operations.

View 4 Replies View Related

Fedora :: Suspend From Terminal Without Root Permission?

Aug 23, 2011

I'm running 2.6.35.14-95.fc14.i686 on Gnome 2.32.0. I've been trying to assign a keyboard shortcut to Suspend the system when activated, but it doesn't work because to suspend the system you need to be root. The command I've been using for the shortcut is terminal "pm-suspend".I don't wanna set up the working user as root. Is there any way to get around the root authentication while suspend to make the shortcut work?

View 4 Replies View Related

Fedora Security :: How To Delete Folder Without Root Permission

Apr 23, 2009

I have a system in which I do not have root access to. On that system, I have my own directory which I share with other users. I am trying to clean it up when I noticed that there was a subdirectory created by another users in my group that I cannot delete. It has all the permissions set besides global write. How can I delete this folder without root permission? I can't even chmod or chown it.

View 3 Replies View Related

Fedora Installation :: Running As Root All The Permission Are +xrw And Still Does'nt Working?

Jun 15, 2009

(xcdroast:22631): WARNING **: Failed to access cdrecord. Please check the permissions and ownership of /usr/bin/cdrecordcdrecord is a link to wodim, i'm running as root all the permission are +xrw and still does'nt working

View 1 Replies View Related

OpenSUSE Install :: Accidentally Changed /usr/bin/php File On My Server By Running A Cp Command

Sep 14, 2010

I've accidentally changed /usr/bin/php file on my server by running a cp command. I know this is bad, i just don't know how bad. Everything is working fine (websites using php), so i just wanted to know what this action could cause and also how can i restore original content.

View 4 Replies View Related

General :: Remount Root Filesystem As Read/write After Modify Readonly-root File?

Dec 21, 2010

My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:

# Set to 'yes' to mount the system filesystems read-only.
READONLY=yes
# Set to 'yes' to mount various temporary state as either tmpfs

[code]...

View 3 Replies View Related

Fedora :: Non-root Users Have No Write Permission On Ext3/ext4 Partitions?

Apr 7, 2010

I created 3 partitions on my usb stick, one is vfat, one ist ntfs and one is ext4.And i formated them like this:

Code:
mkfs.vfat -F32 /dev/sdg1
mkfs.ext4 /dev/sdg2

[code]....

View 2 Replies View Related

Security :: Root Password Cannot Be Changed

Jan 20, 2011

Protect against root password change[Log in to get rid of this advertisement]I have recently had to force a change of the root password on a linux box I was running. It was a test system which I had not used in a while, so I forgot the root password (not so smart).Anyway, I found that it was amazingly easy to reset the root password. Here is a straight forward article on how to do it.URL...

My question is: how can you protect against this? I see this as a security hole.I understand that the user must have physical access to the computer, but if I want to lock the system down so you cannot easily enter single user mode or the root password cannot be changed.

View 1 Replies View Related

Ubuntu :: Changed Root Password And Cant Remember It?

Jan 10, 2011

what can I do if I changed my ubuntu password and cant remember what it is?I only have 1 user on my system - me, and I changed the password today, thinking it was obvious to remember my new password, but I cant remember it exactly

View 6 Replies View Related

General :: Root Directory Changed By Using Command?

Oct 24, 2010

I am using fedora 13. If is use the command "cd //". It changes to root directory. How is it? What "//" denote?

View 6 Replies View Related

Server :: Fedora Sending Mails From Root With Non-root Account?

Jul 14, 2011

I've started to get emails that would typically come from [URL] as [URL]. These emails come from services that send out emails (backup programs) directly, or from cronjobs. I've logged in as the non-root account and either sudo su - or su - to root and the restart the service at one point or another. If I login directly as root and bounce the service or cron the emails come across as from root. I don't see anything in my environment variables after I su to indicate what would cause this. I'm not sure where else to look? A pam setting? This seems to have happened between Fedora 10 and 14 (did a bunch of overdue upgrades recently) I've only got Fedora so I don't have anything to compare to. In Fedora 10 I did not have this problem.

View 2 Replies View Related

Ubuntu :: "Check That You ARE NOT Root, Never Run Similar Tools As Root! Just Change File Permissions"

Jul 11, 2011

I'm very new to Linux, i'm running Ubuntu and i'm trying to install a program. In the instructions it says "Check that you ARE NOT root, never run similar tools as root! just change file permissions". How do i check if i'm root or what am I supposed to do here?

View 7 Replies View Related

Ubuntu Servers :: Apache 403 Error With Changed Www Root?

Feb 9, 2011

I don't know if this the right place to ask this question. If not excuse me.I installed apache server on my ubuntu and I've changed the www folder in etc/apache/.../default from /var/www to home/user/www but now i haveForbiddenYou don't have permission to access / on this server.

View 3 Replies View Related

Ubuntu / Apple :: Cannot Install Updates - Root User Changed

Apr 16, 2010

Ubunto 8.4, running on 2nd partition on Apple Intel iMac. Several months ago, following a routine update, I found I could no longer install routine updates. Investigating further, I find
"You don't have permissions to..."
then sudo: /etc/sudoers is owned by gid 1002, should be 0.
That's not me! I am the owner and root user of this computer. How could this get changed? How can I change it back to me? The Linux platform of the computer has not been exposed to the net except for Ubuntu forums and updates. No one else has used this computer.

View 5 Replies View Related

Server :: Changed Root User Access For MySQL To Any From Localhost?

Mar 14, 2011

I did something silly and changed my root user access for mysql access to Any from localhost using webmin. I get an access dented when i try to open up the mysql editing page on webmin. Can any of you tell me if there is a way to change it back to hosts=localhost I am using webmin 1.5.30 on Centos 5.5. I am hoping I can change it by command line or if I can access the config files and change it that way?

View 2 Replies View Related

General :: Always Ask For Root Permission?

Apr 2, 2011

I recently installed a printer on my OpenSuse 11,2. Now every time i start the computer it prompts for the root password.

In the window that pops up it states

/opt/Xerox/PSULauncher: session followd by a long string of letters and numbers.

There is a script "uninstall.sh" in the PSULauncher directory that i ran but it didn't fix the problem.

View 1 Replies View Related

Fedora Security :: Become Root Without Root Password?

Oct 20, 2010

I found this on Bee's website. For more info on this exploit there are links there:[URl]..All you have to do in Fedora 13 is enter the following lines in a shell as normal user:

[Code]...

I don't think this can be considered solely an "upstream" problem, because I first tried it in Arch using the same version of glibc, and the final command causes both gnome-terminal and xterm windows to disappear.

View 14 Replies View Related

General :: Permission Denied As The Root

Mar 23, 2011

The root user of Linux doesn't have permission to read/write a regular file, unless all users have permission to read/write this file, like below:

drwxrwsrwx ....... file_name

However the owner of the file can still read/write this file.

AND:

0) not the problem of execution, just read/write
1) not the problem of device because regular user can read/write it.
2) the result of command id:

uid=0(root) gid=0(root) groups=0(root)

so I don't think it's the problem of group.

View 2 Replies View Related

General :: Why Would Only Root Have Permission To Mount Something

Apr 22, 2010

I understand at least some of the advantages of this multi-user set-up, but why would you have to become root to stick a DVD in the machine? I suppose I could go into root and chmod the mount command, but - why would it have been set up that way at all? Is it paranoia?

View 5 Replies View Related

CentOS 5 :: Change Permission Of Root?

Mar 2, 2009

When I installed Centos 5, it asked me password twice. One is to root, another is a user acount.

Right now, I want to do "cd /root" under my user acount. It responds me:

permission denied.

Can I change permission of root?

View 7 Replies View Related

Ubuntu Security :: Can't Have Root Permission In Gnome

Oct 21, 2010

I can do easily sudo, gksu and gksudo in terminal, but when I click for update but in the software center:

screenshot1.png

and my password don't work I does this with update manager too

View 4 Replies View Related

Programming :: Root Permission For Bash Script?

Aug 31, 2010

I am trying to write a script that will create a directory, copy files to it, zip them, move the zip file to the desktop and clean up.However, when I run the script, it comes back stating that I do not have permission to make the directory. I wanted to know how to add the permission into the script to allow for access to whoever runs the script to pull the logs, but won't leave the system in the root user?here is what I have for code so far:

#!/bin/bash
host= 'hostname'
mkdir /home/savelogs

[code]....

View 1 Replies View Related

OpenSUSE Network :: Traceroute - Permission Denied For Root

Apr 8, 2011

As root I get the following result: ngssuse:~ # traceroute -nI 10.200.123.45

Note: the -i and -I options were exchangedfor compability with LBL traceroute Use -I for ICMP, and -i <ifname> to specify the interface name unable to create ICMP send socket: Permission denied. Is this a bug?

View 5 Replies View Related

General :: Permission Denied While Copying Files With Root

May 8, 2011

How is it possible that I get perm denied when I'm copying files in console.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved