Newbie linux permission question

Eric "Shubes" plug at shubes.net
Tue Dec 12 10:46:43 MST 2006


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'


More information about the PLUG-discuss mailing list