Re: Newbie linux permission question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Eric \"Shubes\"
Date:  
To: Main PLUG discussion list
Subject: Re: Newbie linux permission question
Marius Toma wrote:
> Hi guys,
>
> I'm new to linux so do not kill me!
>
> This is what I want if is possible:
> I want to be able to create a new user that can overwrite nobody's
> (apache user) files, but I don't want nobody to change the files that I
> created with the new user!
>
> The situation:
> I have a website, that has an online editor so I can edit/create html
> files. I want with the new user to be able to edit these files (Ex: via
> FTP, ssh) , but also upload new ones that can not be editable via the
> online editor
>
> How should the UID/GID look like for the new user?
>
> I created a new user and gave him the same UID as nobody (so I can make
> the changes I want, for now)... but is not what I want!
>
> Thanks,
> Marius


Couldn't you simply create the newuser with its own UID/GID, then add the
nobody group to the newuser? Users can belong to more than one group.
# moduser --groups nobody

--
-Eric 'shubes'
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss