LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2013, 05:24 AM   #1
info.latawaz
Member
 
Registered: Jun 2013
Location: India
Posts: 44

Rep: Reputation: Disabled
Changes in user account not reflected in root


Hi,

I have installed Slackware on my system. And there is ofcourse 'root' and another user 'myuser'. I have been using 'myuser' for all the activities which is the suggested approach.

I have made a few changes in 'myuser' account. As in installed the graphics driver, installed the mouse package and a few other stuff. Today, as I was creating asound.conf in /etc/ as 'myuser', I was prompted that I might not have access to write in this folder and whether I wish to try and save anyway. To avoid any discrepancies, I logged out of 'myuser' and logged in as 'root' and did the changes there.

While doing this activity, I noticed that all the changes done in 'myuser' were not visible in the root. I could not increase or decrease the brightness, nor could I start chrome, and even the mouse didn't have horizontal and vertical scrolling enabled and all these settings and driver installations I had done in 'myuser' account.

Now my question is, if a user's changes to drivers and all doesn't affect root or any other user, then what is the approach to installing new software and drivers and making a few settings such that the user and root both can see the changes. Do I install the driver of video and mouse again and make the settings for the root account? The files that I have saved for sound configuration, these will not take effect in 'myuser' as I am doing this activity as 'root'? Does this mean I'll have to install drivers at root as well as the user separately so that both can use it? If this is the case, then I will be wasting double the space for the same thing.

Last edited by info.latawaz; 06-22-2013 at 05:27 AM.
 
Old 06-22-2013, 05:59 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by info.latawaz View Post
I have installed Slackware on my system. And there is ofcourse 'root' and another user 'myuser'. I have been using 'myuser' for all the activities which is the suggested approach.

[...]

Now my question is, if a user's changes to drivers and all doesn't affect root or any other user, then what is the approach to installing new software and drivers and making a few settings such that the user and root both can see the changes.
well, this sounds somewhat weird to me. As a basic rule of thumb you could say that every change, every setting, you're allowed to do as a normal user (not root, not using sudo), will only affect this one user. However, looking at the list of what you did (install a video driver, install other software), I'm wondering why you could do this as a normal user in the first place. I don't know Slackware in particular, but usually, a Linux-based system shouldn't let you do that. It should have enforced root privileges for these things, and then the changes to the system should've been effective for all users.

Possibly your 'myuser' account inherited a lot of root's privileges when it was created (which is not a good idea), or that user is a member of the root group (which isn't advisable, either).

Quote:
Originally Posted by info.latawaz View Post
Do I install the driver of video and mouse again and make the settings for the root account? The files that I have saved for sound configuration, these will not take effect in 'myuser' as I am doing this activity as 'root'? Does this mean I'll have to install drivers at root as well as the user separately so that both can use it? If this is the case, then I will be wasting double the space for the same thing.
No, usually root has to do the basic work of installing a driver or software package, and maybe setting up some default configuration. Then every user can tune that to their own preference, as far as permitted.

Maybe I really miss something important and peculiar about Slackware, but to me, the rights situation on your machine looks suspicious.

[X] Doc CPU
 
Old 06-22-2013, 06:38 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
It sounds to me more like confusing "settings" with "drivers".

A users profile/configuration is something that user can crontrol. But that user MUST NOT be able to affect other users as they may have different needs.

A user must NEVER change something that belongs to root. That would be a security violation.
 
Old 06-22-2013, 07:13 AM   #4
info.latawaz
Member
 
Registered: Jun 2013
Location: India
Posts: 44

Original Poster
Rep: Reputation: Disabled
I did all the mentioned installations when I was under 'myuser' but ofcourse I couldn't without root. So I had to 'su -' to the root and then do all this. Now at the root, I don't see all these.
 
Old 06-24-2013, 12:58 AM   #5
info.latawaz
Member
 
Registered: Jun 2013
Location: India
Posts: 44

Original Poster
Rep: Reputation: Disabled
Everything is there. Just have to look for it in the right place!
 
  


Reply

Tags
account



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SSH - How can I only allow a key pair login for my user account not root account? shanekelly Linux - Security 5 01-25-2013 09:45 AM
I got a root account only but no user account hitmen Linux - Newbie 2 08-27-2012 02:38 AM
"To add a new user account, log in to the root account" how do i do this (im new) pierce77x Linux - Newbie 4 12-28-2008 02:44 PM
root account or user account arodlinux SUSE / openSUSE 3 12-23-2008 08:59 PM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration