[Users] password protection

Ralf Mardorf info.mardorf at rocketmail.com
Fri Jan 29 07:10:47 CET 2016


On Thu, 28 Jan 2016 23:38:36 +0100, Michael wrote:
>Ralf, IIUR you're running a browser in a xhost 'demilitarized zone' ?
>(Something that Windows should do, for sure.) Well, i'd still need to
>setup a separate account and there might be problems with loading /
>saving / playing attachments and stuff. I doubt it's usable for my
>scenario.

Yes, but I also run Sylpheed this way and I'm using annother user
account there's no issue with accessing files, that's what groups are
for:

[rocketmouse at archlinux ~]$ id
uid=1000(rocketmouse) [snip]
[rocketmouse at archlinux ~]$ id chuser
uid=1001(chuser) [snip] 1000(rocketmouse) [snip]

rocketmouse has no access to chuser, but chuser has got access to
rocketmouse.

You don't need to use xhost in the way I used it, you just need to
allow that Claws of another user is allowed to run in your user's X
session.

[rocketmouse at archlinux ~]$ grep -v "#" /usr/local/bin/chuser


xhost +
gksudo -u chuser "$*"
xhost -
exit

As you can see another user, named 'chuser' (change user;) launches the
application.



More information about the Users mailing list