Home > OS >  Ubuntu VM webas1 and webas2, establish two ordinary account login use xshell webas1, can view the ho
Ubuntu VM webas1 and webas2, establish two ordinary account login use xshell webas1, can view the ho

Time:02-22


Ubuntu VM webas1 and webas2, establish two ordinary account login use xshell webas1, can view the home/websa2 content, what reason be?

CodePudding user response:

Ls -l/home, see websa2 directory permissions, whether o=4/6/7,

CodePudding user response:

CodePudding user response:

The
reference 1/X - I - n reply:
ls -l/home, see websa2 directory permissions, whether o=4/6/7,

Use useradd webas1 -m command to establish account, this is the default state, in addition, I understand the ordinary user can only access/home/webas1 directory file, why webas1 can be accessed through CD/home etc bin file? thank you

CodePudding user response:

What users don't need tube, also don't tube is who need to access the directory,
As long as see: what is the current user roles, u or g or o, directory permissions mask is what (acls are discussed, and your current scenario it doesn't matter),
Webas webas1 and webas2 permissions are 755, then, both ug and o, nature can access this directory, and even g o and execute permissions,
  • Related