Ubuntu :: User Rights In Apache2 - Cannot Edit Anything

Dec 19, 2010

I'm new to Ubuntu and wish to use the system in combination with Apache/mySQL/phpMyAdmin. I managed to get phpMyAdmin working for now. Also mySQL database seems to work. Only problem is Apache2. I can start the server and it is working. However in the folder /var/www/ where all site files are stored, I can not edit anything. I have been reading about sudo nautilus which did allow me to change administrator rights for the folder, but still I do not get it working to display other than the default index.html page. Is there a manual or quick solution for me so I can use apache with Ubuntu?

View 2 Replies


ADVERTISEMENT

Ubuntu :: User Account Control And User Rights Assignment?

Sep 29, 2010

I have a user account which is required to run as part of the operating system and as a service. I am currently attempting to install my companies software on an Ubuntu desktop via wine just for the purpose of finding out if it's do-able.

Is there a way, in Ubuntu, for a user account to be given the local rights assignment to act as part of the operating system and to function as a service in the background?

View 1 Replies View Related

Ubuntu :: Admin / Root Rights Login To Edit And Read Files

Feb 12, 2011

I'm a new Ubuntu user and a Python programmer, it's the first time that I use Python in Ubuntu so it's a bit confusing me. If I want to save a Module or something in a specified map, I get 'Errno 13', it says that I don't have permission to edit, do thing in that map. And this is also for importing files with Python. I logged in from Terminal with 'sudo -i' and closed Terminal, but the problem keeps repeating. How do I login as Admin or Root and stay as Admin or Root? I need right to edit/read files as well as root and normal user.

An example:
Python file:
test.py ->
test = open('/a.txt', 'w')
test.write('Test - Test - Test')
test.close

When I execute this, I get in the Python IDLE the 'Errno 13' problem and below the 'Errno 13' it says that I don't have permission. Who know how to stay logged in as root, even if the user has not logged in or isn't this possible, if it isn't then I just want to get files moving, editing/erasing etc.

View 9 Replies View Related

Ubuntu Servers :: User Rights With Minimal GUI On Server?

Jan 17, 2011

I am trying to set up a simple home file-server for media and backups, using an old Atom board I had lying around and 1GB memory, so I don't want a full desktop. All goes well with installing server 10.10, using LVM for my data disk. However, I wanted some GUI tools since I am not familiar with the CLI, so I installed gdm, xorg, and gnome-core as suggested in some threads and forums.So far so good, it boots into the Gnome desktop, but I can't get sudo access with anything (synaptic, gkedit, etc.) - always "incorrect password". I am fine from the console; I reset my user password, no luck; I set up another admin user, and that also works in console but not the desktop.I have no idea where to go next and can't find anything that works in the forum

View 4 Replies View Related

Ubuntu Security :: Configure Firewall And User Rights?

Apr 27, 2011

I am novice user of linux. I need to know how to configure firewall so my system cant be compromised...In windows my system was greatly compromised. keyloggers were installed without my approval and my desktop was taken on remote. What should I do so without my knowledge no software can be installed and i can close all ports and only open which ever port is required to open. What should i do so my desktop cant be taken on remote?How do I configure user rights ? So except me no one can install any software. I will have another general user id for internet surfing

View 3 Replies View Related

Ubuntu :: Give Chmod Rights To Another User Using Root?

Jul 18, 2011

I have my own 16GB sandisk cruzer flash drive, I've already mounted him and can read on my own user, but I can write on it only using root. how can I give my user Chmod +x on the folder /media/XXX ?

View 7 Replies View Related

Debian :: Classifying User Rights To Use Programs

Aug 14, 2009

I want to classify my users, based on what kind of programs/binaries they can use.Users of group Bronze, can use programs
A, B and C

While users of group Silver can use programs of Bronze, in addition
D and E

While users of group Gold can use programs of Silver, in addition
F, G, H

Any Idea on how to do this?I am curious on how sdf.lonestar.org is doing this...

View 2 Replies View Related

Server :: Giving AD User Local Admin Rights In Ubuntu

Jul 16, 2009

I'm having a bit of a problem after joining Ubuntu 9.04 to my company's Windows Domain. I can log in and use sudo just fine but I don't have access to certain things in my menu (i.e. "Add/Remove Software") and I can't open the User Manager. I manually edited the /etc/group file as root and added my username (username@domain) to the appropriate groups but still no luck.

View 2 Replies View Related

General :: How To Give Full Admin Rights To New User?

Jul 14, 2011

I have created a new user using sudo adduser "user1" from the root .but this user does not have full admin rights...How to give full access to this user1?

View 3 Replies View Related

General :: User Permissions Vs Rights In System / Difference Between Them?

Aug 9, 2010

What's the difference between user permissions & users rights in linux.

View 1 Replies View Related

Server :: How To Grant Apache User Umount Rights?

Apr 29, 2009

I want my apache user (www-data) to be able to umount drives that are mounted with fuse. (i think it is the same as regular umount, but i'm not sure)

when i execute: www-data@1:$ umount /2345umount: /2345 is not in the fstab (and you are not root)

how can i get this done?

View 4 Replies View Related

Server :: LDAP - User Has No Rights To Change Password

Aug 12, 2010

I have configured Ldap Server in CentOS 5.4 & it's working fine, the problem is when I create a ldapuser from server the user can login in client machine but the user has no rights to change the password. How to rectify this by using commands.

View 2 Replies View Related

CentOS 5 :: Insufficient Rights For Software Update As A User?

May 4, 2009

when i logged in as user,it shows packages are there for update?,when i click yes it shows insufficient rights.But when i logged in as root i can perform software updates.

View 1 Replies View Related

Ubuntu Servers :: VSFTPD - How To Assign User Rights To Specific Folder

Mar 10, 2011

I am new to ubuntu and just installed the vsftpd service by this tutorial: [URL]. Now my question is how can I give users rights to one specific folder?
useradd username -d /home/folder/new
Thats the command id used but when I login to the ftp the user is able to see all other folders as well ..

View 5 Replies View Related

Fedora Security :: Configure Firewall And Software Plus User Rights?

Apr 27, 2011

I am novice user of linux. I need to know how to configure firewall so my system cant be compromised...In windows my system was greatly compromised. keyloggers were installed without my approval and my desktop was taken on remote.What should I do so without my knowledge no software can be installed and i can close all ports and only open which ever port is required to open. What should i do so my desktop cant be taken on remote?How do I configure user rights? So only root and one admin can install softwares and no one else.

View 5 Replies View Related

General :: Permissions - Mount Device With Specific User Rights?

Aug 8, 2011

How can I mount a device with specific user rights on start up? I still have some problems figuring it out. I would like to mount the divide with uid=1000 and gid=1000. My current entry to the /etc/fstab/ file looks like this:

dev /var/www vboxsf rw, suid, dev, exec, auto, nouser, async, uid=1000

View 1 Replies View Related

Red Hat / Fedora :: Remove User's Rights From Accessing The Interactive Shell?

May 11, 2010

What is it? How do I remove a user's rights from accessing the interactive shell?

View 1 Replies View Related

General :: Modifying FTP User' Rights / Permissions / Upload Criteria

Jul 6, 2010

I have a few FTP users on my linux server(running vsftpd). They all have their own directory and can upload and delete files in that folder.Now, I was wondering whether it would be possible to create special permissions/rights for users. For example, I would like to make it so that certain users could not upload .exe files, or I want a certain user to only be able to upload image files (gif, jpg).

View 2 Replies View Related

Programming :: C++ Codes To Check Whether User Is Root Or Has Admin Rights

Jan 8, 2011

One of the feature in my application involve changing of hardware setting. This require the user to be root or have administrative right.Before my application enable that feature, I want it to check whether the user is "root" or not, or whether user use "sudo" command to run the application or not, or whether the user has administrative rights or not.What are the codes or library that can do this?

NOTE: Sometimes, advanced linux user may set the user id of root to something else other than 0. So, getuid() may not be helpful in this case.

View 4 Replies View Related

OpenSUSE Network :: Give User Only FTP Access / Browsing Rights For Certain Directory?

Feb 12, 2011

Is it possible to give user only FTP access / browsing rights for certain directory within /srv/www/htdocs and prevent same user to browse all other directories, even user's /home directory on that server?

View 8 Replies View Related

OpenSUSE Network :: Mount A CIFS Share So That User Stevej Has All Rights To It

Mar 21, 2011

Q: How do I mount a CIFS share so that my user stevej has all rights to it?

Summary: I can mount the share as root.

mount.cifs //10.x.x.x/Data /home/stevej/Synology/Data/ --verbose -o user=stevej

Using Dolphin in Super-User mode, I can copy files and directories from the share to itself with no errors. Using Dolphin in Normal-user mode. I get the failure "Could not change permissions for...". The file is copied, but its owner,timestamp and permissions are wrong. If a subdirectory is involved, the copy aborts.

Using Windows XP I can copy files and directories from the share to itself with no errors.

Testing: If I mount with uid and gid, then my normal user can not access the share.
mount.cifs //10.x.x.x/Data /home/stevej/Synology/Data/ --verbose -o user=stevej uid=stevej gid=users

[code]...

Synology DS211 - There are 2 users on it. One of which is stevej and the other is julie. Rights RWX are applied to the users and the group called users. All files have stevej as the owner and users as the group with RWX Opensuse 11.4 - There are 2 pc's. One is run as stevej. The other pc runs as julie Windows 2000 - Runs as stevej and maps to the share as stevej.

Works as expected Windows XP - Runs as julie and maps the the share as julie. Works as expected Ultimately, I want the shares to automount at boot, or login and give the user full access. I have been to Swerdna's page and done as much as I can, but still no luck.

View 4 Replies View Related

Server :: Possible To Create User Profil In Samba With Rights To Change Network Settings

Nov 24, 2010

I want to set samba to act as domain controller PDC.Is it possible to create user profil in samba with rights to change network settings but not install software, create users.Something like network admin that is like normal user but he is able change network settings.

View 1 Replies View Related

Ubuntu :: Running Apache2 Server As A Different User?

May 4, 2010

I'm a web developer and I make plug-ins for various shopping cart softwares on demand. because of this I'm constantly installing carts and then immediately updating them/modifying them. The problem I'm having is that I'm having to update the permissions manually all the time (every time I copy a new cart into the /var/www folder). Instead of doing this I'd like apache2 to run under my user, so I don't ever have to update the permissions again. How do I do this?

View 1 Replies View Related

Ubuntu :: Change User Of Apache2 - Need To Modify?

Mar 4, 2011

I am having dificulting with www-data as the user for apache2. I would like to change the user to my desktop user so that I can limit access to one unknown users. I am also having problems with my wordpress website and the permalink settings. which file I should look at modifing and what I need to modify?

View 9 Replies View Related

OpenSUSE Network :: Add New User / Group To Apache2

Oct 8, 2010

i try to install bugzilla on suse 11.2. For that i want to add a new user / group to the apache2. I want to add the following commands to the envvars but there is no such file available

export APACHE_RUN_USER=apache2
export APACHE_RUN_GROUP=apache2

View 2 Replies View Related

Ubuntu Servers :: Apache2 - Password Protect Directories With System User

Apr 12, 2011

I want to password protect say a subdirectory, or a subdomain via vhost, with a username/password, but use the systems users and passwords as logins -> I want go avoid any and all .htaccess... as everyone should be doing anyway How would I go about doing this? I know my way around the apache configs fairly well, so I'm not a total newb -> I now I can use .useraccess and .pwaccess but that's flat file driven, not based off of the systems users/passwords.

View 1 Replies View Related

Server :: Samba And VSFTPD / Create Folder Rights That Samba And Ftp User Will Have An Access To All Directories?

Oct 20, 2010

I would like to configure an access to folder

/fileserver

for two services : Samba and VSFTPD

How to do it ? How to create folder rights that samba and ftp user will have an access (read/write/delete) to all directories in /fileserver.

My system is CentOS. I`m starting samba and vsftpd like a root (/etc/init.d/vsftpd start etc.)

View 1 Replies View Related

Debian :: Cannot Edit VPN Connections As A User

Aug 24, 2015

I am trying to add an OpenVPN connection from the Network Connections GUI. The problem is everything is greyed out when I am logged on as a user. When I log in the GUI as root I can create the OpenVPN connection no problems. The problem with that is the option to use my newly created VPN connect does not appear when I log back into my user. I have tried adding my user into the sudoers file to no avail.

How can I give my user privileges to add OpenVPN connections?

View 5 Replies View Related

General :: Edit The .bash_profile Being A Normal User In Red Hat?

Feb 18, 2011

I have installed Oracle Database server in Red Hat Linux for the first time. I edited the .bash_profile first time & defined some parameters like "export ORACLE_SID =orcl".I quit the editing. Then When I entered ". .bash_profile" it got error " not a valid identifier" it shows like "bash: export: '=orcl' : not a valid identifier for all the lines I edited it shows same error beacause I think I put a space in between "ORACLE_SID" & "=orcl".

So when I tried to edit that using "vi .bash_profile" being a normal user. It doesn't allow me editing.when I try to delete that space (because I think I have got error) using Backspace key on my computer,,it just moves the cursor to left in stead of deleting that space.

View 5 Replies View Related

Ubuntu Security :: Added User To Www-data Group, But Still Can't Edit Directory With 775?

Jan 4, 2010

I'm working in Ubuntu 9.04 Desktop with Apache installed. I have a directory /var/www/test:drwxrwxr-x 5 root www-data 4096 2010-01-04 13:51 test And I've added myself as a member of the group www-data. Problem though is when i go into /var/www/test I still can't do anything, whether it's creating a new file or directory or editing files there. The files within the directory are also 775 and setup under group www-data.

View 2 Replies View Related







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