Give user alle permissions of another user

Thomas

How can I give a new user all permissions of another existing user?

The use case is that I serve a website of a specific user, let's call him "webuser". The webroot is /home/webuser/WWW. I would like to give the same permissions to users specific to that user to all of my coworkers. However I would prefer to all give them their own user, so no credentials have to be shared.

Krzysztof Sawicki

You should read about the concept of groups in unix systems. The /home/webuser/www directory (and everything inside) should have be in group (for example "group1"). Webuser and another user should be members of this "group1". But remember that you should have the same rights on files and directory for owner and group.

The second solution, but very, very dirty, is to create another user with UID of webuser.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

how to give permissions to specific user "A" in regedit With regini.exe

分類Dev

Set permissions based on user permissions

分類Dev

User permissions inheritence

分類Dev

Giving permissions to apache user

分類Dev

nginx - userdir with user permissions

分類Dev

Setting Up User Permissions

分類Dev

How to give role to user for reaction

分類Dev

How to limit user permissions on jenkins?

分類Dev

Set up permissions for a secondary user

分類Dev

Create user with partial root permissions

分類Dev

User with no permissions can still SELECT

分類Dev

what are the permissions of a specific user in a database?

分類Dev

Network permissions to non sudo user

分類Dev

How do I give access to a Former users Outlook Calendar to another User

分類Dev

Any info on unstable GROUP permissions when sending another user a modifiable box with a no-mod script inside it?

分類Dev

Laravel login as another user

分類Dev

How to give user input in cronjob script

分類Dev

Give permission for other user to git update remote?

分類Dev

Give user access to folder without changing ownership?

分類Dev

Give user access to folder without changing ownership?

分類Dev

How to give to a user ability like root with visudo?

分類Dev

How to Deny Disabe Trigger Permissions for a User Group?

分類Dev

permissions to hive tables based on user roles

分類Dev

Samba permissions, specific user to subfolder only

分類Dev

Enable user to execute one command as another user

分類Dev

How to set up django user permissions with one user having multiple permissions?

分類Dev

Users appear to be logged in as another user

分類Dev

Postgresql existing likes of another user

分類Dev

Push to GitHub repo with another user

Related 関連記事

  1. 1

    how to give permissions to specific user "A" in regedit With regini.exe

  2. 2

    Set permissions based on user permissions

  3. 3

    User permissions inheritence

  4. 4

    Giving permissions to apache user

  5. 5

    nginx - userdir with user permissions

  6. 6

    Setting Up User Permissions

  7. 7

    How to give role to user for reaction

  8. 8

    How to limit user permissions on jenkins?

  9. 9

    Set up permissions for a secondary user

  10. 10

    Create user with partial root permissions

  11. 11

    User with no permissions can still SELECT

  12. 12

    what are the permissions of a specific user in a database?

  13. 13

    Network permissions to non sudo user

  14. 14

    How do I give access to a Former users Outlook Calendar to another User

  15. 15

    Any info on unstable GROUP permissions when sending another user a modifiable box with a no-mod script inside it?

  16. 16

    Laravel login as another user

  17. 17

    How to give user input in cronjob script

  18. 18

    Give permission for other user to git update remote?

  19. 19

    Give user access to folder without changing ownership?

  20. 20

    Give user access to folder without changing ownership?

  21. 21

    How to give to a user ability like root with visudo?

  22. 22

    How to Deny Disabe Trigger Permissions for a User Group?

  23. 23

    permissions to hive tables based on user roles

  24. 24

    Samba permissions, specific user to subfolder only

  25. 25

    Enable user to execute one command as another user

  26. 26

    How to set up django user permissions with one user having multiple permissions?

  27. 27

    Users appear to be logged in as another user

  28. 28

    Postgresql existing likes of another user

  29. 29

    Push to GitHub repo with another user

ホットタグ

アーカイブ