[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Setting permissions for users via su



Craig-

What you can do is install the users files in there directory and edit them via
root (su). Then once you are done issue the following two commands to make them
owned by the siteadmin and group and other one to make them readable to all.

chown -R siteadmin.group /home/sites/site#/web
chmod -R +rx /home/sites/site#/web

siteadmin = the username of ther user set as the siteadmin for the domain.
group = is the site# (ie. site50, site10, site3)

    -Dennis


"Craig S. N." wrote:

> Greetings,
>
> How (what command) can be issued while under su -that will enable you to set
> permissions on a file(s) as if you were one of the users already installed
> on the system.  I'm editing a good several dozen files for various user's
> via telnet and many times it's necessary that the commands be issued while
> signed in as the user, but I don't configure domains with telnet access so
> I'm setting up the files for them from su.... Can this be done from su?
>
> Cheers
> Craig Napier
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users