Linux 在ubuntu中创建共享用户帐户

Linux 在ubuntu中创建共享用户帐户,linux,ubuntu,permissions,Linux,Ubuntu,Permissions,我正试图找到一种在Ubuntu中创建名为appuser的用户的最佳方法。创建此用户的原因是: 1.此用户将用于安装和启动Tomcat、MySQL等应用程序。 2.其他用户将使用其帐户登录到系统。然后使用su appuser,他们应该能够登录到此用户并管理tomcat、mysql等。 创建此用户的最佳做法是什么?您应该尝试在上找到此主题的解决方案 1)Give 755 permission to mysql and tomcat folder so any one can read and exe

我正试图找到一种在Ubuntu中创建名为appuser的用户的最佳方法。创建此用户的原因是:

1.此用户将用于安装和启动Tomcat、MySQL等应用程序。
2.其他用户将使用其帐户登录到系统。然后使用su appuser,他们应该能够登录到此用户并管理tomcat、mysql等。


创建此用户的最佳做法是什么?

您应该尝试在上找到此主题的解决方案
1)Give 755 permission to mysql and tomcat folder so any one can read and execute application but dont write or modify the data.
2)also provide grant permission to mysql DB for users.

OR

those having full permission to application of tomact or mysql other user(new users) also part of that group.

OR

you can use ACL (access control list) for the same.