General :: How To Know About Privileges Against Any File

Sep 14, 2011

How can I know the privileges against a file in Linux? I have logged into a Linux server as a normal user (not as an admin) to see some shell scripts in a directory. Assume that a file named Denem.sh is present in the directory. How can I know which rights / privileges are provided to me for that file (Denem.sh)? How would I see if it is read-only or if I can modify it?

View 1 Replies


ADVERTISEMENT

General :: File Privileges - Check And Set Who Can View Or Open A Given Folder Or File?

Jul 30, 2010

How can I check and set who can view or open a given folder or file?

View 1 Replies View Related

General :: Unable To Create File With Proper Privileges

Jul 21, 2010

Code:RW-00022: Error: - Unable to create file with proper privileges: JAVA_TOP Mount Point = /media/SAMSUNG/d01/oracle/vis/apps/apps_st/comn/java/classes test using command: su applmgr -c "touch /media/SAMSUNG/d01/oracle/vis/apps/tech_st/10.1.3/appsutil/jdk/test.tst"
touch: cannot touch `/media/SAMSUNG/d01/oracle/vis/apps/tech_st/10.1.3/appsutil/jdk/test.tst': Permission denied

I am trying to install Oracle ebs on my machine and I keep getting the above error.

View 13 Replies View Related

Fedora Security :: Limiting Sudo - Giving Full Privileges To The Wheel Group In The Sudoers File

Feb 15, 2011

I have previously set up sudo via adding my name to the wheel group and then giving full privileges to the wheel group in the sudoers file. Now I choose to learn to limit that. Had noticed the most frequent use I have of sudo is to run yum update. This got me thinking, could I remove the wheel group privileges and add the following line in sudoers to limit the privilege to simply running yum, and furthermore, make it so I could run yum without a password:

## Allow root to run any commands anywhere
rootALL=(ALL) ALL
Troy ALL= NOPASSWD: /usr/bin/yum

I think that would in fact work (if I understood one of the pages here, it will work). However, upon further thinking I realized that in such a case then anyone sitting at my computer could then use yum, without a password, to install or remove any file on my system � probably not a good idea. As a result I have to ask, can I tighten the privilege even further such that the only privilege so given was to run �yum update� and nothing else? (for example if they ran �yum install� it would fail). If you can do it, how?

Last, I was going to limit the privilege, time wise and try wise, by adding the following to the sudoers file:

# Defaults specification
Defaults:Troy timestamp_timeout=0, passwd_tries=3

Will that really work to limit the elevated privilege so I don't have elevated privileges lingering about, or is there a better way to do so?

View 3 Replies View Related

General :: Remove All Privileges From A Particular User?

Aug 5, 2011

I need to create a user in Fedora Linux(15) which only has privileges to print documents.Our college issues a printer to each lab and I need to create a new user on my Fedora which only has privileges to print.Network sharing is not an option, so is there any way by which I can a restrict a user from executing any commands except the necessary printing commands?

View 2 Replies View Related

General :: Cannot Delete Them Can Get Administrative Privileges?

May 30, 2011

while using my pen-drive in fedora 14, a small dialog box appeared and before I could read it,it disappeared. It worked normally till I turned the computer down. Next time I used Windows XP. There were no files in the pen-drive but it still showed 5 GB used ( the same amount of data was there previously ). I restarted and switched to Linux. All my data was in a single folder named 'Found.000' . It showed nearly 400 objects , renamed as 'file0001.CHK'. They were all mine, merged in a single folder. I am helpless because I can not delete them (as I need them). I can get administrative privileges.

View 7 Replies View Related

General :: What Are The Privileges Of Admin Vs. Root.

Mar 15, 2011

Also, how can I change between the two?

View 4 Replies View Related

General :: Command For Getting Info On Group Privileges?

Jan 4, 2010

What commands would someone use if they wanted to see their group priveledges, like if they were in a super user group or various groups.

View 1 Replies View Related

General :: Create The User With Root Privileges?

Jul 4, 2010

I want to create a user who has all the privileges that root user has.I know how to create a user but i don't know how to grant root privileges to him.

View 10 Replies View Related

General :: Add User With Root Privileges And SSH Access

Nov 2, 2010

How to add user with root privileges and SSH access.

View 6 Replies View Related

General :: Create A User Without Root Privileges?

Apr 9, 2011

I create a user in CentOS 5.5 for using with my email account.

useradd ralf
passwd ralf

use "ralf user" only for my email account. How can I remove others privileges/permissions? Also, I want to use "ralf user" without root privileges/permissions.

View 4 Replies View Related

General :: Create User With Non Admin Privileges?

May 6, 2011

i have centos5.3 i want to create user with non admin privileges he is unable to see contents of server only he will able to login nothing else

View 12 Replies View Related

General :: Privileges Required To Install Software?

Jul 29, 2011

I am about to install some software on Red Hat Linux. I can understand all the instructions apart from the first. It says Log on to the UNIX system with the privileges required to install software. You can create an
account specifically for this purpose. Caution: Do not install as root. What does this mean exactly?

View 10 Replies View Related

General :: How To Escalate Privileges To Root In System Settings

Mar 24, 2011

I know that some settings can only accessed by root (like the login manager). KDE 3 had a button where you could become root to access it.Where is this button in KDE 4? After googling I found year old articles mentioned that you should kdesu gksu systemstettings in CLI, which was ok when KDE 4 was new, buggy. But my hairs stand on end of having to use such a dirty workaround for a standard feature.Has KDE 4 taken a step back, lost an essetial and obviously necessary feature here compared to 3?

View 2 Replies View Related

General :: User Account With Minimum Privileges On Fedora?

Jun 30, 2010

I need to create a special linux user account that has a very limited set of permissions on the system. Essentially to have read-only permissions for his home dir (and sub dirs) and nothing else - i.e. this user has no write or execute permissions and should not be able to read/access other user dirs or indeed anything outside of his home directory, irrespective of rwx permissions.

View 5 Replies View Related

General :: User Access To Commands Having Root Privileges?

Oct 14, 2009

How to allow access to some commands having root privleges to be run by non root user. I am new to unix/linux and I have a major assignment. I have to find ways to run particular commands which can be run only by root from a non root user. I know sudo is one of the way but i need some different approach.

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

General :: Samba PDC + New Windows 7 Machines Admin Privileges Not Working?

Dec 17, 2010

I have a pdc with a samba file share and have multiple xp workstations that can install programs from the server and share files, but I have 2 new windows 7 machines that I have edited the registries on and joined the domain with but cannot install programs from the pdc even though they have root accounts. I have tried to change folder privileges from the workstations but I am not allowed.

View 2 Replies View Related

General :: Assign Read Privileges To User On Specific Directories And Files

Jan 26, 2011

I am using CentOS 5.5 and I created few users (useradd john etc.) and now I want to assign privileges to this user on some directories and files in those directories. For example I want to give read privileges to directory "/documents" and all of files under that directory.

View 13 Replies View Related

General :: Service Startip / Assign Shutdown And Reboot Privileges To The User?

Sep 17, 2009

how to assign shutdown and reboot privileges to the user.please tell directory hierarchy privileges for /root,/bin./lib,/tmp,/var,/pro etc ...

And also i would like to give space quota to particular user and directory for users.

View 4 Replies View Related

General :: Give Domain Administrator Privileges To Root User In Domain Controller?

Aug 17, 2009

I want to give Administrator privileges to Root user in Linux Domain Controller

View 12 Replies View Related

General :: Security - Let Any User Perform Administrative Tasks On A System Irrespective Of His / Her Privileges On That Particular System?

Sep 26, 2010

I often get responses from people who first say: "Are you sure? You want your network to be exposed to the outside world?" I am not experimenting on a Production Server of NASA or any Security Concern Department. Friends, there is no harm in experimenting on your personal computer or on a test computer which is isolated from the production environment. Look at hackers! What do they do? If they don't know how security is breached then how would they come up with security measures?

If my question reads... "How to let any user perform Administrative Tasks on a Linux System irrespective of his/her privileges on that particular system?" then I would not get the right answers in the first place. They will say... "You are letting everyone destroy your system... are you sure you want to do that?" My question is: Why should we restrict ourselves from experimenting even if it sounds weird to other people?

I give you an example where it is desirable to let an unprivileged user perform certain tasks. You want to know if there are any employees in your office who are storing videos in their home directory and filling up the disk space to a great amount. You have a department called "Command Center or Data Center Operations or Help Desk" call it whatever you would, whose work is to monitor such activities, and you create an account "monitor" for them to monitor such activities but they are not able to do them:

[Code]..

View 8 Replies View Related

Ubuntu :: How To Have Administrative Privileges

Mar 28, 2010

In System/Administration/Users and Groups, my user account properties-user privilegies, the Administer the system is checked (only Send and receive fax and Use tape drives are unchecked).But when I try to run the KDE partition manager, it warns me that I don't have administrative privilegies, so I will not be able to apply changes.

View 4 Replies View Related

Ubuntu :: Specify User Privileges

Jun 12, 2010

I have a small problem on ubuntu 10.04, of which i know it can be solved. However, i'm not sure how to. The problem is; I need one user to be able to install updates, but not give it any other privileges. I have been messing around with the "sudoers" file in /etc a bit, and thought i needed to use the "NOPASSWD" But i'm not sure what to do after that.

View 4 Replies View Related

Ubuntu :: Why Does A Key Drop All Privileges Appear

Aug 20, 2010

Why does a key drop all privliges appear? I will reply Tuesday, Going UpNorth

View 1 Replies View Related

Debian :: Can't Get Sudo / Admin Privileges

Jan 11, 2016

receive bash notice: "jim is not in the sudoers file."Just finished my first Debian install several hours ago, my first go around w/Debian. Installed 8.2 DVD ISO on USB. Had this issue from my first use in BASH, not a forgotten password problem. So 2 questions:

1) I'll be installing Debian again, and want to avoid this in future. There were 2 inputs on setup for name (my full name) and user (installer offered my first name which I accepted). 2 inputs for Password as well: I used the same password both times (have done this w/Mint & Ubuntu w/out issue).

2) How to fix this? Tried this: URL...however, neither keystroke got me to "rescue" prompt as article suggests. Several other articles presume an admin with privileges has sudo access to modify sudoers file.

I have multi-boot setup in BING environment (MBR, not EFI). I am booting from a GRUB2 ISO using grub commands as I still need GRUB installed in my boot partition until I can get cmd line access. I'm able to get a session on boot with the same password I used in setup.

View 14 Replies View Related

Fedora :: Get Root Privileges In Www Directory?

Sep 21, 2010

Tell me how I can I login as root?I want to get root privileges in www directory because I have a web server and I want to put there my site and I can not do that

View 6 Replies View Related

Fedora :: Need Administrative Privileges FC14

Jun 18, 2011

I am new to this O/S. I have tried Mint and Ubuntu. There are some problems I would like to work out by myself before I take short-cuts, as if.I have tried to install codecs for my o/s media player and get a reply from computer "xxxx does not have sudoer rights, you will be reported."I tried to get sudoer rights and was told I had to have administrator rights first. To get administrator rights I needed sudoer rights. I decided to come to forums to ask and this is my first post.

Is there a danger in getting administrative rights? If so, I would still rather like to face the danger than not be able to play music. And how do I get real superuser rights? My root account is localhost.localdomain and my login account is XXXX. I would have access to everything rather than have a warning that the administration is receiving reports of my activity. Might anyone have help?

View 11 Replies View Related

Ubuntu Security :: Remove All Privileges From CWD?

Jan 21, 2010

I am on the admin account of my computer and am trying to remove all privileges from CWD i have tried

chmod go-rwx ~
sudo chmod go-rwx ~

but when i pull up

ls -l ~

It is still showing permission in the g and o column.

View 9 Replies View Related

Ubuntu :: USB Needing Root Privileges?

Apr 4, 2010

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.

View 4 Replies View Related







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