General :: Error On "/var/log/messages" - Change The Permission To Root?

Jan 10, 2011

I cannot make any permission change on /var/log/messages.Currently the permission looks like ?r---ws--t 58243 115 59053 1358438049 Jan 10 10:55 /var/log/messages How can i change the permission to root. Already chown failed giving a permission failed error.

View 14 Replies


ADVERTISEMENT

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

General :: Change The Permission Of Root Files Or Looked Files?

Oct 26, 2010

I had used test desk program to restore my files ,the files that recovered was saved in home folderthe problem is that these files are become root permission only ,so i cantcopy , move theme

View 3 Replies View Related

Ubuntu :: How To Change Permission Folder So Only Root Can Open It

Apr 18, 2011

i wonder how to change permission folder, so only root can open it?

View 9 Replies View Related

Debian Configuration :: Root Doesn't Have Permission To Change Passwords

Jun 19, 2014

I installed Debian Kit on my Asus Nexus 7 tablet, and after following the installation tutorial I got it running except for I'm stuck on the step to create a new user. (btw link: [URL] .... )

Here's how it went (I can't copy&paste from my tablet so I have to type out everything...):

Code: Select allroot@android-6c40984c21c156ae:/# adduser paul374
Adding user `paul374' ...
Adding new group `paul374' (5000) ...
Adding new user `paul374' (5000) with group `paul374' ...
Creating home directory `/home/paul374' ...

[Code] ....

So since I read somewhere that selinux had some permission problem, so I did a few chcons:

Code: Select allchcon --user=u --role=r --type=init --range=s0 /etc/passwd
chcon --user=u --role=r --type=init --range=s0 /etc/shadow
chcon --user=u --role=r --type=init --range=s0 /etc/gshadow

And it did take effect:

Code: Select allroot@android-6c40984c21c156ae:/# ls -Z | grep passwd
            u:r:init:s0 passwd
u:object_r:unlabeled:s0 passwd-
root@android-6c40984c21c156ae:/# ls -Z | grep shadow
            u:r:init:s0 gshadow
u:object_r:unlabeled:s0 gshadow-
            u:r:init:s0 shadow
u:object_r:unlabeled:s0 shadow-

...but still same thing as what happened in the beginning...

Anyway my goal is to create and be able to log in to another user so that I'm not stuck running root all the time. (Which, as we all know, is a bad idea.)

If there's a way to manually create the user by editing a few files, and root still won't be able to change passwords, I'm fine with that, as long as I have another user. Whatever it takes to just get a non-root user log-in-able...

I forgot to mention that since this is the Asus Nexus 7, there is no removable media, so chrooting from another Linux machine isn't an option, and neither is removing an SD card to use a LiveCD on it.

View 8 Replies View Related

OpenSUSE Install :: Can't Change Permission Of Mount Points For NTFS Partition Even As Root?

Apr 10, 2010

When I installed OpenSuse 11.2 it mounted I configured to mount all of my windows/NTFS partition. However, one problem is that only root can write to it. I was trying to change it to '777' permission. However, as root I can't change permission. chmod doesn't work and neither does using nautilus (as root) work.I even tried unmounting it and then doing a chmod. That didn't work either.

View 1 Replies View Related

General :: Chroot Error - Cannot Change Root Directory To /jail - Operation Not Permitted

Apr 18, 2011

I am trying to create a jailed shell for a user Don($UID '500') using my own method(I don't want to use any ready-made "jailkit"). The user don should get a home directory /jail/don instead of /home/don when he login via SSH (So that he will not able to see any other files/directories on the system)

This is what I have done.

Quote:

Code:

It works without any issue ....Home directory changes to /jail/don when I ssh to the system as user don. ie: #ssh don@192.168.0.66

Then I added a chroot command to this code.

Code:

Unfortunately , now I am getting an error message saying that "chroot: cannot change root directory to /jail: Operation not permitted" .. I am not sure how to rectify this error... Is my approach correct to get a jailed shell using /etc/profile file ?

View 8 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

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

General :: Failed To Change Real Root To Fake Root Using Chroot?

Jun 28, 2011

I created a chroot jail in /SECURITY/Jail. But when I used the command 'sudo chroot /SECURITY/Jail' to enter the fake root, I got an error message likegroups: cannot find name for group ID 105groups: cannot find name for group ID 119.

View 1 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

General :: Opening Root Folder - Get Permission Denied

Nov 8, 2010

Hi I am a complete newbie I have installed ubuntu 10.04 I have sorted problem with Mobile broadband, but having problems opening root folder I get a permission denied not the owner I have admin privalage as far as I am aware I was following something I read using terminal but kept getting a message saying something about the root I opened the file manager found root folder but still denied access. how I get access same is also true for lost&found folder but have to admit i dont know what that folder is.

View 7 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 :: Change Permission On Directory?

Jan 4, 2011

I have 3 images made by clonezilla now I want to restore 1 of them, but when I try to use clonezilla to restore, there's no option to restore image. I can see the images in home directory and file is owned by root in my home directory. I'm trying to transfer image to usb hdd.

Did I place image in wrong directory or is it permissions problem.

View 8 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

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

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 View Related

General :: Use Chmod To Change The File Permission?

Apr 24, 2011

If I am not the file' owner or root, can I use chmod to change the file permission?

Assume I have group/write access to the file, e.g. 775

View 2 Replies View Related

General :: Change The File Permission Of Grub.cfg?

Sep 15, 2010

My cd /boot/grub/ shows (required only file shown): -r--r--r-- grub.cfg

I tried to change the permission of this via, chmod u+w grub.cfg but the file permission did not change why??

How can I change the file permission of grub.cfg?

View 1 Replies View Related

General :: Change The Permission Of /home Folder To 666?

Mar 17, 2010

By mistake I change the permission of /home folder to 666. when I run a $ls -la /home, it is showing following

[Code]...

dl3k is user name and having a folder in /home directory..now I cannot access/open the dl3k folder as a user.

I change the persmission to
# chmod 644 /home (default setting)
# chown -R dl3k /home

but still cannot access the content of /home folder as a user...

View 4 Replies View Related

General :: How To Permanent Change Permission Of File

Jun 8, 2011

I have a c file, and I want to open it but not in the terminal. After changing the permission, I tried: vi, pico, ed and vim. But, all open it in the terminal. How can I change the permission of that file to be opened and edited not in the terminal? When I change the permission from the terminal, it only let me edit it through the terminal, and when I check the permission of the file I see it as was it (no change). I need a permanent permission. Although, I command as a root.

View 7 Replies View Related

General :: Possible To Change Users's Permission To Commands?

Mar 27, 2011

I got myself curious on the possibility to change user's permission to any command, or at least giving other users some command line "power".
It all started a few days ago, when another user here, had a problem so that the computer wasn't answering.
So, after waiting a while, chose to hit the Reset button and start the computer again.
Considering this situation, I thought myself that it would have been better to restart the computer, through command line, on any terminal (F1-F6). Anyway, this user is no administrator, thus wouldn't have permission to use the code...

So, is it possible to let other users to use such commands, in order to safe rebooting the system, without logging as root?

View 3 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

General :: Linpus 2.6.32 / Error Messages Saying Something Such As Cannot Run Var?

Nov 5, 2010

Just bought a brand new Acer Aspire 5745G, straight away I wanted to install Ubuntu 10.10, I stuck in the cd and rebooted the new laptop that currently only seemed to have Linpus Linux, I then got masses of error messages saying something such as cannot run var/ etc etc and then

:cannot touch 'var/lock/subsys/local': input/output error

and then...

EXT2-fs error (device sda1) : ext2_lookup: deleted inode referenced (lots of numbers here)

It does this for many, many lines then sites there for ages doing nothing and wont allow me to type any commands ( I dont know any command really apart from 'reboot') and then finally after 5 mins or so shows the command prompt [root@localhost /]# but I cant do anything from here.

I've done some searches and found this thread:

url

but startx and system-cofig-display dont work and just says bad commands.

Ive also tried changing the settings so it always reboots from dvd, same problem, made a USB ubuntu start up, forced booting from usb, same again.

View 4 Replies View Related

General :: Can't Change Permission For Bash.bashrc File?

May 28, 2010

I tried following the example from here (http:url]......)Open up publicity.html for reading and writing by anyone.

Before: -rw-r--r-- publicity.html
Command: chmod og=rw publicity.html
After: -rw-rw-rw- publicity.html

Here's my terminal session:

username@ubuntu:/etc$ -rw-r--r-- bash.bashrc
-rw-r--r--: command not found
username@ubuntu:/etc$ chmod og=rw bash.bashrc[code]....

View 2 Replies View Related

General :: Change The Owner/permission Of Device Files?

Mar 10, 2011

For example /dev/loop*, /dev/raw/*, etc., they are automatically reset to root/root after rebooted.Change the owner/permission of device files maybe not a good idea, though. I just want to know if it is possible and how?

View 1 Replies View Related

General :: Logged In My System As Root - Run A Simple Shell Script - Permission Denied ?

Jan 27, 2011

I logged in my system as root. but when i run a simple shell script i got an error like . Permission Denied. why m getting this error.

View 3 Replies View Related

General :: No More Pty - Backup Is Failed - Error Messages

Sep 15, 2009

We have a working backup script which gave no problems ever. But recently the backup is failed giving following error messages,

Statement just before the error occured was, /usr/bin/rsh remoteserver1 /tmp/backup/script.scr

1. The system has no more ptys. Ask your system administrator to create more.
2. The system only has a finite number of ptys and you have many of them in use. The usual reason for this is that you forgot (or didn't know) to call "wait" after closing each of them.

So it looks like the system is falling short of the /dev/pty ...atleast I think so. Dont know the real reason.

View 1 Replies View Related

General :: Change Permission To /proc/net/ip_conntrack On Ubuntu Server 9.10

Mar 28, 2010

I have a script that needs to extract certain information form the /proc/net/ip_conntrack file once in a while. I do not wish to run this script as the root user.

Default permissions for the file is:

I can change it with:

But that does not stick after a reboot. Is there some configuration file for file-permissions in the /proc directory in Ubuntu Server 9.10? Or do I just have to stick a chmod line in some startup script?

View 1 Replies View Related







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