Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

User NameAssigned UserGroupWeb Root DirectoryFile AccessDirectory Access
dailyplanet01Clark Kentwgdailyplanet/opt/web/php/dailyplanet.com/Read, Write and ExecuteRead, Write and Execute
lexcorp01Lex Luthorwglexcorp/opt/web/php/lexcorp.com/Read, Write and ExecuteRead, Write and Execute
 Apache Serverwww-data/opt/web/php/dailyplanet.com/
/opt/web/php/lexcorp.com/
ReadRead and Execute (required to transverse directories)
 Other  No AccessNo Access

Test

...

...

Regular Permission

Testing results of regular permission on /opt/web/,

User NameTest CaseTest Results

tin.pham


dailyplanet01

lexcorp01

acme01

Verify user and groups
Code Block
languagebash
id
uid=2000(tin.pham) gid=50(staff)...
groups
staff adm

sudo su - dailyplanet01
groups
wgdailyplanet
exit

sudo su - lexcorp01
groups
wglexcorp
exit

sudo su - acme01
groups
wgacme
   

 

...