You are not logged in.

#1 2022-11-10 06:27:59

luofeiyu
Member
Registered: 2015-11-03
Posts: 30

[SOLVED]Which app can be used by new account?

There are two users in my os,the root and a normal user suppose it is the name1,login my os ,name1 can use many apps,now i add a new user name2 with sudo ,logout and re-login,which app used by name1 can be used by name2?How can i block apps used by name1 from being used by name2?

Last edited by luofeiyu (2022-11-19 00:43:23)

Offline

#2 2022-11-10 06:57:59

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: [SOLVED]Which app can be used by new account?

Just use your preferred user


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2022-11-10 07:06:14

luofeiyu
Member
Registered: 2015-11-03
Posts: 30

Re: [SOLVED]Which app can be used by new account?

"name1" is my normal account,"name2" is used for guest,how can  block apps used by "name1" from being used by "name2"?

Last edited by luofeiyu (2022-11-10 07:07:02)

Offline

#4 2022-11-10 07:47:11

gusgw
Member
Registered: 2022-11-10
Posts: 1

Re: [SOLVED]Which app can be used by new account?

You could try using groups: https://wiki.archlinux.org/title/Users_ … management

If you create a group for 'normal' user(s), and add name1 to the group, then you can set a program to be executable only by members of that group.

If name2 is not a member of the group, name2 won't be able to run the program. You can read about permissions here:

https://wiki.archlinux.org/title/File_p … ermissions

Another possible solution might be to install software in the home folder of name1. That method would also require setting permissions so name2 can't see all or part of name1's home folder. I guess it depends what type of app you're talking about.

I'd be happy to suggest specifics if you provide more details.

Last edited by gusgw (2022-11-10 07:49:16)

Offline

#5 2022-11-10 07:47:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,430

Re: [SOLVED]Which app can be used by new account?

There are two users in my os, the root and a normal user.
Suppose it is the name1, login my os, name1 can use many apps.
Now I add a new user name2 with sudo, logout and re-login; which app used by name1 can be used by name2?
How can I block apps used by name1 from being used by name2?

Any user can run any executable as long as they've sufficient rights (rx, Read and eXecute)
You can alter the owner and group of an executable to restrict it to one user or a group (and then have only one "name1" in that group)

Are you looking for https://wiki.archlinux.org/title/Parental_control ?

Offline

Board footer

Powered by FluxBB