0
votes
1answer
42 views

How to restrict a Linux program's permissions

I'm running a native linux program from PHP using shell_exec. Specifically, calling antiword to extract text from Microsoft Word files users uploaded. However, as I've got no way of assessing ...
1
vote
1answer
551 views

Is it possible to Takeown.exe of a folder for the “Everyone” user, on Windows

I can use takeown.exe to give the currently logged in user ownership of a folder. But when I try: takeown /s jimswork8 /u Everyone /f c:\test /R /D Y It just gives ownership to the currently logged ...
1
vote
4answers
2k views

How to configure PHP CLI on linux ubuntu to run as www-data?

I have a symfony2 application on my ubuntu. Symfony has a plenty of useful console commands (like php app/console cache:clear or php app/console assets:install web). The problem is If I run them as ...
1
vote
1answer
126 views

How do I configure a stored procedure wrapper and security settings to provide safe access to command-line operations?

I'm ultimately trying to find a way to allow the safe use of BCP and selected other command-line functionality from within SQL Server. The organisation I am in currently have xp_cmdshell disabled ...
0
votes
4answers
389 views

403 Forbidden Access

Yesterday my supervisor mounted one of his directories onto my server. The problem is, I can't access them and I have no way of contacting him right now. When I type in the URL I get this error: ...
0
votes
0answers
527 views

Cloning Git repo from server to local machine - is my user level to blame?

Server: CentOS 5.7 Local machine: Macbook Pro, regular terminal client Command issued: git clone --bare ssh://myuser@xxx.xxx.xxx.xxx/home/projectname/public_html ~/gitrepos/projectname.git ...
0
votes
1answer
212 views

Tool for re-permissioning Citrix published apps?

We have Citrix XenApp 4.0/4.5/5.0 farms with hundreds of published applications which we will need to edit, preferably through a scriptable command-line tool. I've searched the Citrix Administrator's ...
1
vote
1answer
1k views

Create ZIP archive without storing permissions?

I am distributing packaged files in ZIP format. I use the following to create: zip -r distr.zip files/ When expanded on other UNIX system files preserve their permissions as they were when I packed ...
0
votes
3answers
3k views

SUDO permissions, file copy/chmod question?

So, I'm logged in as sudo, and seeing this... why? $ cd /var/www/drupal-6.19/sites/default $ ls default.settings.php $ sudo -v [sudo] password for sudo_username: $ cp default.settings.php ...
0
votes
1answer
159 views

How to I Document User Rights on an existing Linux System?

Need to document user rights on an existing Linux system. What commands, actions, etc. will allow me to gather complete user profiles? User rights include, but are not limited to: File/Directory: ...
0
votes
1answer
11k views

What Command(s) List a User's System Permissions in Linux?

QUESTION: What Command(s) List a User's System Permissions in Linux? CURRENT_OS: CentOS-5.X MORE_INFO/QUESTIONS: Looking for commands that will NOT be seen as aggressive or change the system, ...
2
votes
3answers
3k views

Why does FIND on Windows 7 give an “Access Denied” error?

I have an administrator account on a Windows 7 x64 machine. It is not THE administrator account, the account is simply a member of the administrators group. The install is default. When the user ...
0
votes
2answers
8k views

Change Windows network share permissions using command-line tools

Can it be done without downloading subinacl.exe at all?
0
votes
1answer
334 views

How can I set fine-grained registry permissions on servers remotely?

I'm trying to clean up a massive mistake for someone and part of the clean-up involves resetting registry permissions on about 50 servers. I looked into using regini for this, and it will get me about ...
2
votes
2answers
3k views

How to set permissions on registry keys from the command line?

There used to be the tool Regini.exe from the Windows 2000 Resource Kit to do this, but it is no longer supported by Microsoft. Reg.exe can't do it either. Any ideas?