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
ADVERTISEMENT
Apr 19, 2011
i've query regarding, user creation in Linux( RHEL 5), i.e, i've created a user ([root@localhost ~]#useradd slash ) and switched into that user, but am not able to run commands in it......It's displaying a message saying, PERMISSION DENIED. Do we need to provide any permissions while creating a user
View 7 Replies
View Related
Apr 16, 2010
i am working with linux security auditing project on my Servers.I want to find out all the commands executed by individual users.i think using last command,find out the login details.But how can find out the commands executed by each users on all logins except "history".?
View 2 Replies
View Related
Apr 2, 2010
I am using CentOS release 5.4 ( 2.6.18-164.9.1.el5xen ) and created an HPC cluster by using NIS ( for user authentication ) NFS ( as file system ) and mpich1 as parallel compilers and utilities and TORQUE as job scheduler. I want to make sure all users should use scheduler for job submission and should not submit the job directly ( qsub job.sh ).
I want to prevent all users from executing executable files created by self , from its home directory .
Suppose if a user create an executable a.out and if he tries to execute by ./a.out it should display an error.We should also allow users to execute normal user level linux commands .How can I implement such a set up in my environment
View 5 Replies
View Related
Apr 5, 2011
a small lab of linux servers contains two servers. the administrator wishes to permit user settings and project files to be available when users log in on any machine descibe the server processes needed on the servers
View 1 Replies
View Related
Apr 27, 2010
Which commands do you use to output the current users logged into the system and accessing a specific file?
View 5 Replies
View Related
Feb 25, 2010
I'm having trouble breaking down permissions in linux. Here's the scenario. I have two users: UserA & UserB with each having to ownership and access to directories myDirA and myDirB respectively.
UserA --> /source/myDirA
UserB --> /source/myDirB
I need to set the permissions so that userA can access myDirA and myDirB. There are other users and directories but they should not be able to view outside of their own directories (which is the way it is now). I don't have groups set up for them and I'd rather not change anything else but just the permissions.
rwxr_x_r_x UserA
rwxr_x_r_x UserB
They're read/write/exec permissions are identical.
View 14 Replies
View Related
Nov 29, 2010
How would i remove rwx permission for group and other users for all hidden files (except . and ..) inside /root using a one line command.
View 4 Replies
View Related
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
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
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
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
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
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
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
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
Jun 15, 2011
I have ubuntu 10.4. i install rdesktop 1.7. i run this commands:
Tal is external hard drive connecting at usb in ntfs file system.
I connect to windows 7. i see the hard drive in computer and i can access to files and create new files and folders, but when i try to copy a new file to a folder he show me a error message: You need premission perform this action
Your require permission from computer's administratorn to make changes to this folder tal on my computername
Disk from Remote Desktop Connection.
I try chmode and chowne too but i read i linux forum when it ntfs is no use.
View 2 Replies
View Related
Nov 8, 2010
I am installing oracle 11g on Oracle enterprise Linux 5 i applied all the steps in doc [URL] when trying to switch user to user oracle i am facing the below
[root@oel5 ~]# su - oracle
su: warning: cannot change directory to /home/oracle: Permission denied
-bash: /home/oracle/.bash_profile: Permission denied
View 14 Replies
View Related
May 24, 2011
I want to restrict some of my Operating System users running unwanted commands. I just want them to run specified commands only. How can i achieve this?
View 9 Replies
View Related
Jun 28, 2010
I'm using NetBeans for editing some php files ( in a php project ) at remote server.
all go normal, but when saving the edited file using NetBeans, the file's permissions are set to 0600 by default, making me not able to browse to the file at the remote server till chmod it to 0777 or else.
the main project folder have permissions 0777 and owned to me.
Also the all sub-folders and files under the project's folder have the same permission 0777.
What is the problem ? And how to get over it ?
I'm using Ubuntu 10.04, NetBeans 6.9 ( Final Edition ).
The Connection to the remote server is via FTP in Passive Mode.
View 1 Replies
View Related
Apr 23, 2009
hi i recently installed unbuntu 8.10 desktop version i am have permission denied on most commands and im unable to slave my 160 gig internal drive.
View 7 Replies
View Related
Oct 21, 2009
I'm using opensuse and i'm trying that users cannot change his own password (mantaining /bin/bash users active). Do you know how can I do it?
View 10 Replies
View Related
Jul 31, 2010
regarding the file permissions of /etc/passwd in fact it has permissions like rw-r--r--so it says others have only read only permissions but my questions is if others has read only permissions on /etc/passwd file.how they are able to change their password i.e others are able to change their passwords then how it is possible.
View 3 Replies
View Related
Jul 26, 2010
I'm on OS X and mount a network share from my Windows XP machine. Files by default have the rwx (700) permissions. What OS X option I need to change, that the files will have rw (600) permission?
Maybe this question also applies for Linux mounting a Windows network share.
View 1 Replies
View Related
Aug 4, 2011
I Have been trying to change a file in filestarter using sudo /etc/rsyslog.conf. but am getting a permission denied message. How do I get into this file to change it ? Firestarter is working ok but for some reason it cannot open the system log. I Have found what amendments need to be made to get this to work but simply cannot get access to the file
View 2 Replies
View Related
Oct 23, 2010
I have a MP3 player which is owned by Root. I have tried the following: in terminal - chown as both my usual log-in and root operation not permitted. I ran chown as both su, root, and myself. In Nautilus - I can't change any of the file attributes again opening it as any of the users above. I used to be able to copy files over to the MP3 player but not the Sandisk but not I can't copy or do anything to the files on both.
View 1 Replies
View Related
Jan 16, 2011
I am new to linux and would like to allow a user to use SUDO to change password and also delete/add members to a group without signing in as root or using SUDO. I think you do this in visudo but I dont know the commands to do this.
View 4 Replies
View Related
Apr 27, 2011
I am using Fedora 14 64-bit and after login through a user other than root when I try to open any folder on other partitions I get the message that I don't have permission to access such and such folders.
View 7 Replies
View Related
Dec 28, 2010
I have setup a NFS server and this the content of /etc/exports at the server with IP A.B.C.D1 is:/home/shared A.B.C.D2(rw,no_root_squash)Problem is, only the root at A.B.C.D1 and A.B.C.D2 can write to that folder.
View 9 Replies
View Related
May 1, 2011
jeff@optiplex:/media$ ls -l
total 124
lrwxrwxrwx 1 root root 6 Apr 7 14:46 cdrom -> cdrom0
drwxrwxr-x 2 root root 4096 Apr 7 14:46 cdrom0
[code]....
View 10 Replies
View Related