0
votes
1answer
33 views

Grant Ubuntu root permissions to ldap user

I have a development Ubuntu machine attached to our corporate domain. I have root permissions on this machine, however my ldap account does not. I would like to grant my ldap user unrestricted local ...
0
votes
0answers
24 views

Can't write files using new user on Linux Ubuntu via SSH

So I just added a user to my server, let's call it "user2", when I tried uploading a file via Filezilla while logged in to "user2" I got the error open for write: permission denied, so I assume ...
0
votes
0answers
44 views

How can I open a command prompt as TrustedInstaller in Windows 8.1?

I read that "TrustedInstaller" is the new root account in Windows 8, when it was previously "SYSTEM". The SYSTEM account still exists, but it's not the highest level admin account anymore. While I can ...
2
votes
2answers
2k views

chown: changing ownership not permitted, even though running as root

I managed to configure my Raspberry Pi as an FTP server with ProFTPD. The only problem is, I can´t upload and rename files and Windows Explorer says: 350 File or directory exists,ready for ...
0
votes
1answer
30 views

Is it possible to remove root access on a directory in OSX?

In OSX, is it possible to make a directory not accessible by root, but accessible to another user? So something like a sudo rm /directory wouldn't work but su otheruser; rm /directory would. Thanks in ...
0
votes
1answer
169 views

ext4fuse as non-root on FreeBSD10

I have 2 operating systems on my computer, a Arch Linux on a 100GB ext4 partition, a FreeBSD on a 250GB partition and all my data on 2 2TB separated ext4 disks. I wan't to access the files from this ...
1
vote
1answer
1k views

Can't install Parallels Tools on Debian 7.2.0

(Parallels Desktop 9, latest version) As per instructions, I switch to root: $ su - root $ whoami root $ echo $EUID 0 and then execute the installer: $ cd /media/cdrom0 $ ./install and I get ...
1
vote
1answer
235 views

Developing and deploying application that will run as root using setuid?

I have an application that needs to run with root permissions. Using setuid bit on the application file seems like a logical choice. My understanding of setuid is that the files should be owned by ...
-1
votes
2answers
588 views

Change /etc/, /var/ permissions to 777

Well, I was being lazy to properly setup the properties of the files and now I set up the permissions recursively the folders /etc/ and /var/ to 777. Now I can't ssh into the machine but worse I can't ...
3
votes
3answers
288 views

Can we have a user with the same powers/priviliges as root?

I am confused on the following in linux. Can I have a user to have the same permissions as the root. In Windows any user can be the administrator but I am not clear exactly about this on Linux. It ...
0
votes
3answers
118 views

Should I have duplicate root users in my Users directory?

I think I may have duplicate root users on my system. I changed directories to /Users, then ran ls -la -e I get this returned: total 0 drwxr-xr-x 5 root admin 170 Aug 31 2012 . drwxrwxr-t ...
3
votes
4answers
327 views

How to hide a code from myself until a specified time?

Essentially, what I need is some way to generate and store a random string (20 characters long, say) for some period of time, such that there is no way for me to recover the string until the end of ...
0
votes
0answers
222 views

Not able to log in as root in fedora 17

I am not able to log in as root in Fedora 17 Error is su: cannot set groups: Operation not permitted What to do to solve this error The permission has been changed to -rwxrwxrwx I want to ...
-1
votes
3answers
2k views

How to make a non-root user to use chown for any user group files?

I would like to make a user super powerful, with almost all root rights but unable to touch a the root user (to change the password of the root). My goal is to user "B" to manage my web server. The ...
2
votes
2answers
1k views

Linux: permission to read file from /sys/kernel/debug wihout root privileges

I'd like to read small text file, located at: /sys/kernel/debug/vgaswitcheroo/switch without root permissions. It contains information about graphic cards (dedicated ATI Radeon and integrated Intel ...
1
vote
2answers
668 views

Does sudo really make you root for a little while?

On Linux, in what kind of situations, if any, running a command as a non-root to access a file/folder or create/delete a file/folder using sudo may result in "permission denied" while running the same ...
0
votes
2answers
271 views

Linux and the Mysterious Case of Vanishing (and Reappearing) Directories

I've set up my very first Ubuntu server and immediately logged in (as myuser) to begin customizing it. I go to /opt and run mkdir sandbox. mkdir: Cannot create directory 'sandbox' : Permission ...
0
votes
0answers
26 views

Windows 7 can't write to root of non-system drive [duplicate]

Possible Duplicate: Creating file on disk partition gives 0x80070522 I have my C: drive which is an SSD, and an F: drive which is a 500GB hard drive. I cannot write to the root of the hard ...
3
votes
3answers
999 views

Can't login as root after changing permissions of /usr/bin

I changed the folder permissions of /usr/bin to 777. Now when I login to root user it shows "incorrect password". Now I'm not able to do anything on this PC. How can I revert the permissions of ...
-1
votes
2answers
749 views

Linux: Giving a user read/write access to all files and directories

Is it possible in linux to give a user read/write access to all files and directories like root? EDIT I have a special case. I need to create a folder structure on which I can grand a special user ...
3
votes
2answers
7k views

Root Can't Delete Folder It Owns

Platform: CentOS 6.2 Shell: tcsh .............................................................................................................. EDIT 2 Brian Swift has pointed out a workable solution. ...
1
vote
1answer
2k views

Command to create a file owned by another user

I created a directory test owned by the root user, and then I created a file called F1 inside test , now I need to create a file called T5 inside test but by a user called student What is the ...
0
votes
1answer
5k views

Creating files and directories with a certain owner (user/group) while sudoing

I need to wget something (results in a compressed file in cwd), then I have to extract it, then do some copy/move/modification stuff and perhaps finally execute an script (from the downloaded ...
1
vote
1answer
474 views

Unable to access a script from root directory in Linux

I have a script in one of I my root directory: /root/scripts/script1.sh I wan't to call that script as another user (james1). I did the following (as root user): root@pc83$ CD scripts root@pc83$ ...
4
votes
6answers
9k views

What is different between root and sudo?

A root user can have all the privileges. But a normal user can gain access like a root with su or sudo command and their own password. So what's the difference?
1
vote
2answers
6k views

Permission denied as root

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 ...
0
votes
0answers
658 views

How can I run GDB without root permissions on a Mac?

When I start GDB from the command line I have no problems. But when I start debugging a program from NetBeans (C++), I get this message: "Type the name and password of a user in the "Developer Tools" ...
0
votes
1answer
9k views

Volume Shadow Copy Service warning: VSS was denied access to the root of volume (Win 7 Home Premium)

I am mystified by the following warning in the Event Viewer. It is very frequent and always the same. Can anyone explain this to me? Is it a cause for concern? Might it have anything to do with my ...
0
votes
1answer
1k views

debian permissin denied problem on login [duplicate]

Possible Duplicate: debian login problem. when i logging with root then i saw message "permission denied" Then i changed root shell directory "usermod -s .usr/ root" but it says ...
4
votes
1answer
1k views

How can I use sed in /etc/apache2/sites-available?

I'm attempting to write a script that uses sed to copy the default file for apache and writes a new file, replacing /var/www ($DOC_ROOT below) with my own directory, $NEW_SITES_DIR. However, sed isn't ...
0
votes
1answer
120 views

User account that is not allowed to edit one file on Ubuntu

I wanted to ask if it is possible to create a user account on Ubuntu so that it had all powers and rights of root account except it would be impossible to edit a certain file. What I intend to do is ...
0
votes
3answers
10k views

Root directory permissions on Mac OS X 10.6?

I was wondering if it's normal that the root directory / should be owned by “root”. I get asked for my password every time I want to do something there (e.g. save a file, create a directory) and I ...
9
votes
4answers
7k views

removing write permission does not prevent root from writing to the file

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 ...
2
votes
3answers
4k views

root can't write or modify /bin, /usr/bin, /sbin, /usr/sbin

On a debian system, I'm logged in as root. I cannot create any files in /bin, /usr/bin, /sbin or /usr/sbin. I can create files in /, /usr, /usr/local, /usr/share, etc, etc. All these directories ...