![]() Registered Member ![]()
|
Two users
How to set up a system that has two users that one user can not read the files of another user. From previous experience, as an ordinary user, I can access another user or another Linux I have. I read all the files and edited them through the Dolphin program. Is it possible that one user has a different localization than another user? |
![]() ![]()
|
Protect HOME-dir against co-users:
1. Login 2. Start dolphin 3. Click on BreadCrumb-Widget: Select home 4. RightClick Your own dir: <userAccountName> 5. Select Properties 6. Select Permissions TabWidget 7. Group: NoAccess + Others: NoAccess 8. Click OK Everyone/-thing can do this with his/her/its own ${HOME} directory. root-account can do it for others. Install Midnight-Commander (mc). Makes AdminLife easier. |
![]() ![]()
|
Languages: Example French
$ apt search '\-fr$|\-fr\-' Examine list. Install, what You need. |
![]() ![]()
|
The most basic localization settings:
Making additional "locales" available/usable: $ sudo -i # configure-debian Then, select: ==> libs ==> locales |
![]() Registered Member ![]()
|
There are also set permissions for me |
![]() Registered Member ![]()
|
I do not understand the other two tips, I'm localized for myself, but I do not know about the other one because the localization files are moving from the same place. It puzzles me if I use system setup for another user, it will cover the setup for the first one. I do not know the double setup to support it. My question was created by my one who is freely using my computer. So I want separate orders, plus that English is left to me and Serbian is not able to read my files or to destroy my whole system because it touches something wrong with the cat and the devil's system goes away.
|
![]() ![]()
|
Concerning HOME-permissions:
If You see this: $ $(which ls) -ld ${HOME} | grep -o -E '^[^ ]+' drwx------ then You did it, and everything within/below Your home is protected. Except against root, of course. And except evil software-programmers, of course. But against non-root co-users, this account's files and directories are protected, now. Edit: Another way to check HOME-permissions: $ getfacl ${HOME} |& grep '::' user::rwx group::--- other::--- 2nd edit: And yet another way: $ stat ${HOME} | grep -o -E '^Access[^)]+)' Access: (0700/drwx------)
Last edited by NoNameNoBlame on Sun Feb 17, 2019 10:41 am, edited 2 times in total.
|
![]() ![]()
|
Concerning Serbian localization of
other, 2nd, account. Describe the steps You performed: 1. I logged into 2nd account intended to be "Serbianized" 2. I launched SystemSettings. 3. I selected … etc. Edit: And - when You think it gets really interesting/annoying -, then add: Here (step <number>), I expected <ABC> to happen. But, what happened instead was: <XYZ> |
![]() Registered Member ![]()
|
Uf, I do not know where to start, I opened another user, this user can not copy anything, for example. settings for Firefox, it can not even copy from one linux for example. .mozilla. The strangest thing is that in the situation that only a user approaches his drive, I can not change anything in the licenses. Some Linuxs can access and read / home and some do not. From Calcual when I'm looking at the licenses it says that the owner of my_name is a group guest. When I look from my linux where I added my user is the owner of my_name group my_name, none of the permissions can be changed, blurred. Now, in the end, in my order through Dolphin, I kept my promise to the owner and the group is empty. I totally despise all the linuxs I have.
|
![]() Registered Member ![]()
|
As far as localization is concerned, my primary account has already been localized and when I opened up another user he was automatically localized as my primary account. All programs installed on my primary account were installed on that second account. I tried to extract the keys for the enigma and settings of .thunderbirda from other linux, but it does not allow me, as if in that second account I use the settings of the first one and when I start, it asks me to open new mail accounts. I have always copied the settings of some programs from linux to linux if it's about thunderbird only when I start it for the first time I pick up mail acauntes that I do not want in that linux, for example, gmail my wife in which she receives facebbok nonsense etc ...
|
![]() ![]()
|
You: "I opened another user"
A) You created another user-account and then You logged off, and logged into the new user-account. Correct? B) You: "this user can not copy anything" 100% not true. Probably You mean something else. C) You: "for example. settings for Firefox, … for example. .mozilla" If You successfully locked down the other account, then of course it can't. Or do You mean something else? D) You: "it can not even copy from one linux" I don't understand this. Please, clarify. E) You: "only a user approaches his drive" Please reformulate. I can't decypher this expression. F) You: "I can not change anything in the licenses" I think, You're talking about file-permissions. What did You do? What didn't work? Describe Your steps and your expectations. G) You: "Some Linuxs can access and read / home and some do not." This may be right. This is KDE neon based on Ubuntu, based on Debian. They do it their way, and I think it's the most usual way. Nothing exotic, here. What other Linuxes are You thinking about? H) You: "From Calcual when I'm looking at the licenses" As far as I can see, Calcual is a Calculator sold by HP. Are You talking about this? What are "licenses"? Do You talk about file-permissions? I) You: "it says that the owner of my_name is a group guest" If You somehow created a GUEST-userAccount, then this may be the source of all Your problems. Create a normal second/third account. J) You: "When I look from my linux where I added my user is the owner of my_name group my_name, none of the permissions can be changed, blurred." If it's only a GUEST-account, then You may be right. Don't create a GUEST account. K) You: "in my order through Dolphin, I kept my promise to the owner and the group is empty." If "order" means "folder" and "promise" means "permissions", then it looks as if You were successful. L) You: "I totally despise all the linuxs I have." If You do on a Microsoft or Apple GUEST-account, what You did on Your UNIX-like OS, then the results will be equally non-functional. And MacOS is UNIX-based, too. It wouldn't work there because of the same reasons. This is not a Linux-problem. And generally: Not a UNIX-problem. |
![]() Registered Member ![]()
|
No, I have windows 10, but one of its drives serves as a warehouse, ntfs3g, linux write and read to NTFS partition. Once a month, I make the update win10 and that's all. I mostly use Calculate linux or Manjaro |
![]() ![]()
|
A) Well, we are communicating via Google's machine-translation.
That's interesting. I see, You are determined to solve this problem. B) If You want to copy between different operating systems, You may be the victim of different user identification numbers. Even if You use the same accountUser names everywhere, it's the numbers which are used by the operating systems. Execute $ $(which id) on all machines You use during copying and compare the numbers. Especially $(which id) -u and $(which id) -ur are important. Next in importance: $(which id) -g and $(which id) -gr C) The best solution for Your problems would probably be to create a setguid public folder. |
![]() Registered Member ![]()
|
I use 2 the same accountUser names everywhere
![]() Thanks for your help:) |
![]() Registered Member ![]()
|
Two linux, Calculate, and Manjaro, different usename, UID is the same, GID is 1000 or 1001, groups is 1000 or 1001. Although different GID I have now written from Manjaro to file in Calculate.
![]()
1000 1000 1000 1000 1000 1001 1000 1001 Each linux distro one user is the same number, usename is not important, all use the UID = 1000 which is in all linux distro same
Last edited by alideda on Sun Feb 17, 2019 8:14 pm, edited 1 time in total.
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell