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


ADVERTISEMENT

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

Ubuntu :: File Permissions / Ownership - Even Root Cannot Change

Aug 30, 2010

I have been VERY lucky and managed to restore from a formatted ext3 /home/ partition. I used testdisk to reset the original partition which had had nothing done to it since formatting(!). However some of the file permissions are a altered and I cannot change them. I have tried "su chmod" and even temporarily enabled the root account itself and tried to alter the ownership/permissions from root 'proper' without it helping.

Here is an example of the output of ls -l
drwxr-xr-x 2 martyn martyn 4096 (date) (time) sponsors
?-----S--T 63231 92820383 44090688 4286824785 (date) (time) order.xls

The first line looks like a normally formed output and indeed is readable. The second line looks corrupted and I don't have a clue how I can reclaim this - or even if it is possible. Should I count my blessings most of my files are intact and leave those be?

View 2 Replies View Related

OpenSUSE :: Can't Change File Permissions As Root

Sep 25, 2010

I just wanted to set some file permissions right. As root:

Code:
# chown -R kikinovak:users /home/kikinovak/Documents

But all I get is a series of "Operation not permitted" errors. What's going on here? I tried this:

Code:
# find /home/kikinovak/Documents -type d -exec chmod 0755 {} ;

... with the same strange errors.

View 3 Replies View Related

Debian :: Can't Change Permissions For The HDD Without Login On Root And Root Login Are Not Allowed?

Jun 16, 2010

How to enable Root login...i cant copy or move something on the HDD...I have administrator rights and password for root but i cant change permissions for the HDD without login on root and root login are not allowed .

View 10 Replies View Related

Ubuntu :: Root Can't Change Permissions?

Aug 4, 2011

how to use permissions. I ran into a weird problem in which I am unable to change permissions as root. I have a file I've been testing commands on, and somewhere along the line I think I gave it zero permissions. Now I'd like to restore some permissions, but can't. Here's what I'm looking at:

Code:
jeremy@jeremy-laptop:~/test$ ls -l
total 16
-rw-r--r-- 1 jeremy jeremy 235 2011-05-17 13:15 onelink
-rwxr-xr-x 1 jeremy jeremy 27 2011-08-02 18:05 threecopy
-rwxr-xr-x 1 jeremy jeremy 27 2011-05-09 17:10 three.txt

[Code]....

View 5 Replies View Related

Fedora :: Only Run App As Root - Change Permissions

Jul 24, 2010

after a fresh install of fedora 13 I was expecting a few niggles and here's one, I've googled and read man chmod and chown and there seems to be plenty of conflicting advice, oh yeah the problem, I installed a package called get_iplayer (allows downloading of bbc iplayer content) via yum, only thing is I can only run it as root whereas in f12 I could as a normal user. It's probably the simplest command to change permissions, also I can't find any info on what the different numbers mean (775 777 etc)

View 11 Replies View Related

Ubuntu :: Change Permissions On Root Folders And Files

Jun 14, 2010

I need to change the config in a folder and can not due to it being owned by root. How do I change the permissions.

Folder = /etc/stunnel/
file = /etc/stunnel/stunnel.conf

View 4 Replies View Related

Fedora :: Can't Change The Permissions (belongs To Root)?

Oct 29, 2009

Get Fedora 11 and Apache installed. Open web browser and enter http://localhost and I get a "Fedora Test Page" that shows Apache is working (according to the info on the page). It says to put my web documents in /var/www/html/ ... however, as a user I cannot access it (put anything there) and I can't change the permissions (belongs to root) I'd like to run this as an intranet web server in our small ( <100 users) company.

View 6 Replies View Related

Ubuntu :: Finding A Utility Similar To Windows Where Click/select Properties/tools/check Disk?

Apr 26, 2010

Is there an Ubuntu utility similar to the one in windows where you right click/select properties/tools/check disk?

View 8 Replies View Related

General :: Unable To Change The User And Root Permissions?

Mar 23, 2011

I was unable to change the permissions for root node and for other users also. WE have tried all the possibilities like chmod and chmod -R 777 filenem. But we are unable to change that.

View 4 Replies View Related

Ubuntu :: Chmod File Permissions Between User And Root ?

Jan 26, 2011

I want to have two kind of users in a work machine having ubuntu 10.04,

1) He is the admin, have sudo privilages and install, do all types of work, his username is abhilash

2) A user who is normally a IT administrator, who can just install or remove softwares, but cannot access files of abhilash.

I'm trying to do this and my head is going blank, The problem where i'm stuck is, if IT admin can install softwares, then he can become sudo as sudo su, then he can view my files

So here is a small test i did, first with abhilash.

Code:

Now others and group don't have any permissions! But when IT Administrator becomes root, he can see this file

Code:

View 5 Replies View Related

Debian :: Use File Manager Actions With Root Permissions?

Jul 30, 2011

If I use the GUI File Manager I ofter get stuck because I need root permissions to write or delete some file or directory. I realize I can drop down to Terminal and do either a sudo or change the permissions of a particular file, but these are several extra steps. Is there a way I can perform root actions on files using File Manager/Browser? Or is there an alternative file manager program I can explore that is more flexible? I am currently using Debian 6.01a installed from the Live CD, Nautilus 2.30.1.

View 14 Replies View Related

General :: Changing File Permissions Works As Root But Not As Sudo

Nov 22, 2010

I have a really strange problem. I have a few files in a large directory that I want to make readable by everyone. So I try this:

sudo find readme* -not -perm -o+r -exec chmod +r {} ;

and get this:

sudo: unable to execute /usr/bin/find: Success

I don't know why it says Success, because the permissions were not changed. I verified by typing this:

find readme* -not -perm -o+r -exec ls -l {} ;

and get something like

-rw------- 1 root root 536871076 Nov 22 14:06 readme_20101122200429
-rw------- 1 root root 536871892 Nov 22 14:08 readme_20101122200642
-rw------- 1 root root 293458128 Nov 22 14:10 readme_20101122200859

as a last resort, I tried:

sudo chmod +r *

and got:

sudo: unable to execute /bin/chmod: Success

and again Success really means fail. So, I gave up and logged in as root and tried:

find readme* -not -perm -o+r -exec chmod +r {} ;

This time it worked. Why?

EDIT: /etc/sudoers looks like:

## Allow root to run any commands anywhere
root ALL=(ALL) ALL
##Me
user1 ALL=(ALL) ALL

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

Slackware :: Root File Sys Check On JFS During Boot Fails With E2fsck Message?

Feb 21, 2010

After creating a new JFS root file system, boot (actually /etc/rc.d/rc.S ?) fails when checking it with:

Code:
fsck 1.41.8
/sbin/e2fsck: Bad magic number in super-block while trying to open /dev/sda7:

[code]....

View 2 Replies View Related

OpenSUSE Install :: Copy A File Into Root Folder - Setting The Access Permissions?

Jun 23, 2010

I want to copy a file into my Root folder but I cant.what should I do?

View 2 Replies View Related

Software :: Member Of Group Root / But Root Group Permissions Don't Apply?

Apr 20, 2010

A bit of an oddity that I've recently run into with my storage folder in my system; it's a newly installed drive that I've set to mount at /storage. When I first tried to use it, programs that I used that attempted to write to it tossed Access Denied errors at me in their own way. Checking the permissions (at the Terminal, ls -l / | grep storage) showed that /storage was set to 'rwxrwxr--'--Owner and Group were given full read/write/execute, but Others could only read. However, my logon to my system is a member of group root. Why, then, with the above bits set, would I not be able to write to it? Changing Others permissions to rwx (and presumably rw would have worked out for me since I don't leave anything executable there) allowed me to write to it, but I don't understand why that would have been necessary. So far as I'm aware, the prior drive that was in my system--mounted at the same location--did not need this treatment.

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

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 :: 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 :: Root To Change The Ownership Of A File?

Jun 17, 2011

Why would I need to be root to change the ownership of a file? Example: I'm logged in as dwadmin and I've created a file:

-rw-rw---- 1 dwadmin dgw 0 Jun 17 07:46 testing.txt

I want to change the ownership to another user, but am getting the following error: chown 511 testing.txt chown: changing ownership of `testing.txt': Operation not permitted

View 5 Replies View Related

Slackware :: The Computer Booted Up, But Displayed A Message That Said Something To The Effect Of, "Error Occurred During Root File System Check?

Mar 3, 2010

Started slackpkg upgrade-up and went to bed. Woke up to find the power had gone out during the night. The computer booted up, but displayed a message that said something to the effect of, "Error occurred during root file system check. You will be given the option of doing maintenance......"I can get to a command prompt, but regardless of what I do a message pops saying it can't find libblkid.so.1

View 14 Replies View Related

General :: Create User Similar To Root Privileges?

Feb 20, 2010

i do need to create 1 user who has similar to root privileges but the username will not be root.

View 13 Replies View Related

Software :: Login As Root Similar Normal User?

Dec 12, 2008

I need to login as root , when linux starts to show login window

But it shudnt be as
1) spawning a new terminal and do commands lik startx -- :3
2) without going in recovery mode

I need to login through login window as normal process

View 7 Replies View Related

Fedora :: Where Configuration File To Change Root Logins?

Nov 5, 2009

Can someone tell me where the configuration file is to change root logins?

View 1 Replies View Related

Software :: Change Libraries In A Root File System?

Jul 14, 2010

trying to modify my ubuntu 2.6.27 root file system so that it can use a android kernel. I have built the android kernel myself and it boots up. Now for the RFS to work it needs the android libraries. Now I have the Android libraries-I extracted these from the Android 2.6.27- but how do I merge these with MY root file system

View 1 Replies View Related

Fedora Networking :: Modify The Script To Allow Non-root Users Similar Features?

Mar 28, 2011

I spent some time programming a useful script which presents the user with a UI of all the samba/W2K8 servers and shares on the domain and they check off the shares and the script maps them. The script can only be run as root because mount doesn't allow users to execute. I was asked to modify the script to allow non-root users similar features. I was able to get this working by running the commands:

Code:
# chmod +s /sbin/mount.cifs
# chmod +s /sbin/umount.cifs

Can someone please explain to me what the 's' option means? The man pages only go as far as to say that it allows for setting suid but I don't really know understand that means or what the implications are by doing this. In a perfect world I would like to create a security group and add users into that group and then grant that group permission to run mount.cifs/umount.cifs rather than making such a drastic global change to a core binary. how I might go about granting members of a group permission to run hand-selected commands like mount.cifs?

Post added at 07:07 PM Previous post was at 04:40 PM Ok, I read up on the /etc/sudoers man page and I think I have a more elegant solution to this problem of user mountable samba shares. I restored my mount.cifs back (chmod -s /sbin/mount.cifs) and I used visudo to grant the access.

Code:
%smbusers ALL=NOPASSWD:NOEXEC:/sbin/mount.cifs,/sbin/umount.cifs
This allows any users in the smbusers group to run mount.cifs/umount.cifs with sudo but without being prompted for a password.

View 2 Replies View Related

Red Hat / Fedora :: Check The Free Available Size On The "/root" Before Creating A File

May 4, 2011

I need to check the free available size on the "/root" before creating a file .

Can i do it by using df?if not , can you specify me which one to use?

View 1 Replies View Related

CentOS 5 :: VNC Admin Tools Or Root Login

Mar 17, 2010

I installed the VNC server by following [URL] (Remote login with vnc-ltsp-config). Everything works great for normal user but when I try to access admin tools in the GUI, nothing appends. If there is a way to authorize the root to log via VNC viewer.

View 1 Replies View Related







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