Hi,
I am new in Linux Ubuntu and want to learn a bit. I have a question, it might be very simple for you. I have only "root" as a user in my system.
1. I want to create a new user called "user_1"
2. I want to create a folder called "project_1" in var/www
3. I want to give "user_1" R+W permisions to "project_1" folder only.
4. I want to do all these in "root@ubuntu:/home/ubuntu#" command line
To create a new user you need to use useradd (see the help file to do it properly).
To create a folder use mkdir with root and use chown to change the propietary user of the folder.
Use chmod 666 /var/www/project_1 to change permissions (RW to all users).
If you want the user has access only to that folder, you must maintain permissions for other users.
Anyway all this can be found with a simple search in google/yahoo.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Previous Thread in Getting Started and Choosing a Distro Forum Timeline:Problem With ubuntu 8.10