DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It looks like I am having problems with the users and groups on my Asus notebook using Debian 7 and the graphical user/group administration.
I normaly have about 6 or 7 users which I tried to have under the group "users" but the system persists in trying to have them each under a group of the same name than the user even though I deleted these groups after putting these users in the group "users" and checking they have the correct home directory.
I can log in as any user except one for which I get a blue screen and the Debian logo and I am able to change some users but not all, from another user log in providing root password but it does not work from root.
It's hard to guess without an error message, a permissions error would be the most obvious answer, but where, we don't know. Check things in /var/log for clues.
In a corporate one, certainly there is a sysadmin on duty, who (maybe set and) applies a corporate policy, whatever it be.
If it's a computer mainly used by its owner, acting as sysadmin, then the sysadmin should be allowed to do what he or she wants. And also bears the responsibility of the consequences of bad choices, of course.
At least that how I see the things, and also one of the reasons why I like Slackware: I am in full control of my system (actually, only as much control as my limited skills allow).
Either that, thanks Daws for sharing that information.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
Quote:
Originally Posted by Daws
It's hard to guess without an error message, a permissions error would be the most obvious answer, but where, we don't know. Check things in /var/log for clues.
Thanks for the list Didier Spaier, I knew only a couple of those and needed your list (Debian's got them), knowing the gui is unprofessional, I will learn to do without.
Thanks also to Daws for the link, I was on the wrong track although UPG does not seem to do what I wanted to do (or does it?).
This is a testing machine (low security) on which I log in as a different user, including root, according to what I need to do and my main intention was to keep the last session for each user when logging out because I may only return weeks later, doing it this way gives me a very clear idea of exactly what I was up to before doing something as a different user.
I then found I regularly need to add files to a directory of a user as which I am not logged in, without having to log out and in and back out and back in again, any hint on how to do this (professionally) welcome since I am likely to have an obscure vision of the solution for some time or do I understand it correctly that setting the set_gid bit will solve this.
I will try to clean up (reverse users to their original groups) and update this post a bit later regarding my results.
(I could not find anything descriptive enough for my level of experience in the log files)
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
Thank you for that post.
It is very helpful to know what the problem really is.
Using several users but with only one body your system makes a less alarming scenario.
When you need to use put a file in a different users directory one way of doing that is to use the su command. This is not really a command for attaining root privileges. su = Switch User
When using su and indicating no user root is assumed.
If you are logged in as clem and need to use a file for pete you can do that in terminal by;
Code:
su pete
You will be asked for the password for pete. Hopefully pete will be kind enough to reveal that password to you.
You could also make all individual users files be shared by adding all other users to the individual users groups. Or by letting "others" have w permissions.
Both of those are not a real great idea if you actually have more than one individual using the box.
Not knowing the circumstances when you need to do this it is hard to give a recommendation. One would be to create another partition strictly for data and put such files there. This entire partition could have all files accessable by all users for any purpose.
For that matter you could simply create a separate directory in your current set up and do the same with it.
This would be the equivilant of a shared directory used by all individual users of a system for colaborative work. Of course in such a system there is usually some safe guards so that you don't have several users changing a file at the same time. This would not be a concern in your case.
It's a great resource that I often forget about too.
Evo2.
Are you a grumpy geezer too? Age is a great excuse.
Note that this is not a good reason though.
I get the new edition on every release. I have it as a pdf so that it is available at all times in this rural area where connections may not be existent at any given momment. Over the last few years it has even become more understandable to me. And it is a great source of information at any time. I even just read in it occasionally for fun.
I have restored some files from backup and now it works fine:
.evolution/
.gconf/apps/evolution/
.gnomeX_private/Evolution where X is 2 or 3 (whatever)
.config
.local
I have to say I did not have the time to investigate which file provided the necessary parameters.
I thought I was probably one of the oldest member, I am 73, it looks like I may not be.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.