Network question, managing 2nd account as root

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Network question, managing 2nd account as root

Postby stoer on Tue Jun 19, 2007 6:41 am

Hi all,
Can anyone explain to me how to do the following...

I have my own user account, fine everything working.
I have now created a 2nd user account for my son - aged 4.
I cannot access/modify the wireless connection/internet from within this account without root privelages... Is there an easy way to use root from within another account or must this be done via users and groups from within my own account?
I'd like to install software to his user account eg. educational/games but not to my own account, again a root thing...
Much appreciate any advice you can throw my way :)
Thanks.
stoer
Level 1
Level 1
 
Posts: 23
Joined: Thu Jun 14, 2007 5:31 pm

Linux Mint is funded by ads and donations.
 

Network question, managing 2nd account as root

Postby stoer on Tue Jun 19, 2007 7:40 am

Ok...
found out what the problem was with the first part of my question - setting up internet/wireless access for 2nd user.
* I could establish contact with the router/wireless network but the connection would then disconnect within a couple of seconds, i was trying to work arround this by setting it up manually (No Root access).
Problem was with the keyring manager, it wasn´t making a connection/key for the wireless connection. Now it is and wireless stays connected!

I still like to know if it´s possible to work as Root from within a second users account though, seeing as my son is so young a limited account seems to be the best way to go, don´t want him having too much power ;)
stoer
Level 1
Level 1
 
Posts: 23
Joined: Thu Jun 14, 2007 5:31 pm

Postby Boo on Tue Jun 19, 2007 8:02 am

The way is via a terminal.
open terminal window.
switch user to your account.

su - your_user_name

now you can use sudo from your account.
this is the prefered way.

:D
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Postby stoer on Tue Jun 19, 2007 8:09 am

Boo wrote:The way is via a terminal.
open terminal window.
switch user to your account.

su - your_user_name

now you can use sudo from your account.
this is the prefered way.

:D


Ok!
logical and probably what i was afraid you were going to say ... :)
Just need to figure out now how to install games and programs in a terminal instead of using synaptic to do so....

back to the books.

Thanks for the reply and quick answer.
stoer
Level 1
Level 1
 
Posts: 23
Joined: Thu Jun 14, 2007 5:31 pm

Postby Boo on Tue Jun 19, 2007 9:03 pm

you can install them from your account.

or

apt-get is you cli friend.

sudo apt-get update

you can use synaptic to find the name of the game then:

sudo apt-get install game_name

:D
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Postby antiquexray on Wed Jun 20, 2007 1:28 pm

Boo wrote:su - your_user_name

now you can use sudo from your account.
this is the prefered way.

:D
Why the su - and not su?
User avatar
antiquexray
Level 5
Level 5
 
Posts: 596
Joined: Sat Nov 18, 2006 6:04 pm
Location: Albert Lea Minnesota USA

Postby scorp123 on Wed Jun 20, 2007 2:25 pm

antiquexray wrote:Why the su - and not su?
Code: Select all
man su
... is your friend :wink: But in short: That minus "-" behind su will make sure all profile variables and login files get loaded too, as if you had logged in as that account right from start. :wink:

Or to put it another way: "su -" is cleaner than a mere "su".
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot] and 30 guests