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


ADVERTISEMENT

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

CentOS 5 :: Give Permission For Mounting Drives To Non Root Users?

Jan 22, 2011

i want to give some permission to non root users so that they can mount drives without need of root password.

View 2 Replies View Related

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

CentOS 5 :: Using Sudo To Change To Root?

Sep 17, 2009

A few years ago I fellow admin showed me this command:sudo su - to change to rootIs this a 'best practice' method or a hap hazzard approach to system administration?I consulted with a senior admin and he frowned on this access to root.

View 3 Replies View Related

CentOS 5 :: Unable To Change Root Password

May 24, 2010

Someone hacked my CentOS 5.4 test box, that I run at home with a gnome interface. It is connected to a domain name, the hacker changed only the root password. How can I change the root password? I get a graphical Grub at startup and if I press "e" nothing happens. Is there a different way to have Grub boot in text mode? Remember that I don't have root access. I was thinking to use the linux rescue mode, but I don't know what steps/commands to enter.

View 2 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 :: 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 :: 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

OpenSUSE Install :: Revert The Changes Or Change The Permissions Again To Root:root Or Make Sudo Work

Aug 10, 2011

Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?

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

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

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

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

Ubuntu Servers :: Root Permission Denied Errors When Using Apt

May 6, 2010

Just had a new VPS installed running Ubuntu Server 8.04 Getting some errors when I connect to the server and try to use apt.. only trying to install nano and after messing around I've managed to get the error to change.. but still can't get any further.

error

Code:

# sudo apt-get install nano
Reading package lists... Done
Building dependency tree
Reading state information... Done

[code]....

View 4 Replies View Related

Ubuntu Security :: Permission Denied When Trying To Run ./setup As Root

Sep 28, 2010

I am trying to install COMSOL 4a in Ubuntu 10.04 and when I try to run ./setup and I am already connected as root the command line gives me a permission denied error.

View 6 Replies View Related

Ubuntu :: After Right Click When Go To Properties Then In Tab Of Permission It Says Not ROOT User?

Dec 27, 2010

when i move to /usr/share/backgrounds/ and after right click when i go to properties then in tab of Permission it says I am not ROOT user. through TERMINAL I changed the root password using commands (sudo passwd root ) tthe changes has been made succesful eventhough it does not give me root user status.When i connect to internet then after click of connect button ,a pop up appears and says "Enter password to unlock your login keyringThe password you use to log in to your computer no longer matches that of your login keyring."

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

Ubuntu :: Change Terminal Colors After A Change Root?

Jan 31, 2011

Now I know that in order to change the colors in your terminal you have to play around with ~/.bashrc But the effects don't stay in place after a change-root is taken affect. It just reverts to black. Is there any way I can change that too in .bashrc?

View 3 Replies View Related

Debian Hardware :: Usb Thumb Drives Only Mount With Root Permission?

Oct 31, 2010

mounting any usb thumb drives. The result is the same whether it is automounted or mounted via the CLI. The drives all have root:root file permissions and cannot be changed to my normal user "ramack". There doesn't appear to be any errors and it is limited to only this Acer Aspireone Netbook running i386 Testing. I don't have anything in my fstab in regards to mounting usb drives.

$ sudo fdisk -l
Disk /dev/sdb: 4016 MB, 4016045568 bytes
255 heads, 63 sectors/track, 488 cylinders

[code]....

View 7 Replies View Related







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