You are not logged in.

#1 2009-07-06 15:00:04

manolos
Member
From: Athens, Greece
Registered: 2009-06-06
Posts: 117

root. how to give all the privileges to user?

hi! im root and i want to give all the privileges to my user so he can open any program and any root folder. not in terminal (sudo gparted... for example) but i want to double click the program and open it. im using gnome. also i dont want to right click and open as admin. how can i do that?
thanks

Offline

#2 2009-07-06 15:03:22

shagrat
Member
From: Norway
Registered: 2004-05-25
Posts: 18
Website

Re: root. how to give all the privileges to user?

This is a really bad idea (TM). Why can't you rely on sudo?

Offline

#3 2009-07-06 15:05:48

manolos
Member
From: Athens, Greece
Registered: 2009-06-06
Posts: 117

Re: root. how to give all the privileges to user?

i dont want to use terminal all the time. i want to open root folders only with double click. is it possible?

Offline

#4 2009-07-06 15:11:06

shagrat
Member
From: Norway
Registered: 2004-05-25
Posts: 18
Website

Re: root. how to give all the privileges to user?

Everything is possible. You could issue a "chmod -R 777 /root" and make all files/dirs inside it writeable by everyone.

Offline

#5 2009-07-06 15:12:38

manolos
Member
From: Athens, Greece
Registered: 2009-06-06
Posts: 117

Re: root. how to give all the privileges to user?

so any program, any folder, any file will be accessable by my user from terminal and nautilus?

Offline

#6 2009-07-06 15:26:46

DevoidOfWindows
Member
Registered: 2009-05-24
Posts: 133

Re: root. how to give all the privileges to user?

Yes, as well as every hacker, too.  Mmmm, software exploits....

Offline

#7 2009-07-06 15:36:03

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: root. how to give all the privileges to user?

no, no, no.....if you really want to do this...get a mac..

there are really good reasons for these limitations in user access..

if you want to stay away from the terminal, i think gksu should help you with that. (still need to type your password though)... if you dont like the terminal, maybe arch linux isnt the right distro for you, how about ubuntu?

Offline

#8 2009-07-06 15:37:56

manolos
Member
From: Athens, Greece
Registered: 2009-06-06
Posts: 117

Re: root. how to give all the privileges to user?

eldragon wrote:

no, no, no.....if you really want to do this...get a mac..

there are really good reasons for these limitations in user access..

if you want to stay away from the terminal, i think gksu should help you with that. (still need to type your password though)... if you dont like the terminal, maybe arch linux isnt the right distro for you, how about ubuntu?

its not a solution for me tongue but thanks! ubuntu is very simple. i want to learn from linux... not just install!

Last edited by manolos (2009-07-06 15:44:42)

Offline

#9 2009-07-06 15:56:07

jowilkin
Member
Registered: 2009-05-07
Posts: 243

Re: root. how to give all the privileges to user?

manolos wrote:
eldragon wrote:

no, no, no.....if you really want to do this...get a mac..

there are really good reasons for these limitations in user access..

if you want to stay away from the terminal, i think gksu should help you with that. (still need to type your password though)... if you dont like the terminal, maybe arch linux isnt the right distro for you, how about ubuntu?

its not a solution for me tongue but thanks! ubuntu is very simple. i want to learn from linux... not just install!

Well, first lesson...what you want to do is a really bad idea.

Offline

#10 2009-07-06 15:57:25

manolos
Member
From: Athens, Greece
Registered: 2009-06-06
Posts: 117

Re: root. how to give all the privileges to user?

jowilkin wrote:
manolos wrote:
eldragon wrote:

no, no, no.....if you really want to do this...get a mac..

there are really good reasons for these limitations in user access..

if you want to stay away from the terminal, i think gksu should help you with that. (still need to type your password though)... if you dont like the terminal, maybe arch linux isnt the right distro for you, how about ubuntu?

its not a solution for me tongue but thanks! ubuntu is very simple. i want to learn from linux... not just install!

Well, first lesson...what you want to do is a really bad idea.

hahaha! ill stay in terminal thanks for the advice!

Offline

#11 2009-07-06 16:38:17

Melson
Member
Registered: 2008-08-29
Posts: 39

Re: root. how to give all the privileges to user?

I can think of some reasons when you need to make root of a normal user. Changing the UID to 0 should do it. If not, try changing it in /etc/passwd.

usermod -ou 0 name

Offline

#12 2009-07-06 16:43:21

manolos
Member
From: Athens, Greece
Registered: 2009-06-06
Posts: 117

Re: root. how to give all the privileges to user?

Melson wrote:

I can think of some reasons when you need to make root of a normal user. Changing the UID to 0 should do it. If not, try changing it in /etc/passwd.

usermod -ou 0 name

nice! and i can change it back to default easy

Last edited by manolos (2009-07-06 16:43:32)

Offline

#13 2009-07-06 16:50:23

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: root. how to give all the privileges to user?

Do not do any of these things. These are horrible ideas.

Use gksu nautilus / gksudo nautilus for opening folders with root priviledges.


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#14 2009-07-06 16:54:28

manolos
Member
From: Athens, Greece
Registered: 2009-06-06
Posts: 117

Re: root. how to give all the privileges to user?

hmmm! ok! thanks all! ill not do it

Offline

#15 2009-07-06 16:59:33

Melson
Member
Registered: 2008-08-29
Posts: 39

Re: root. how to give all the privileges to user?

They won't believe you anyway. :-)

Offline

#16 2009-07-06 17:12:12

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: root. how to give all the privileges to user?

If you feel there's a need to meddle around in folders that require root access frequently (or after everything is set up mostly: "at all"), you might be totally off track with something... so maybe if you try to describe what you're doing "in there", someone can tell you a better solution.

Offline

#17 2009-07-06 18:16:03

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: root. how to give all the privileges to user?

I'll not lecture you about this poor practice, but merely tell you that it is simply not the way UNIX is meant nor designed to be used. It's your system, do what you want- but if you truly want to learn how to use it, (as you have indicated) then learn the right way.
Of course, I'm sure we're not talking about matters of national security on your machine, but the root designation is a built-in security advantage of UNIX, if used properly.
Whatta ya know...I somehow ended up lecturing you anyways.

Offline

#18 2009-07-08 06:42:50

barzam
Member
From: Sweden
Registered: 2009-01-27
Posts: 277

Re: root. how to give all the privileges to user?

And good advice it is.

Offline

Board footer

Powered by FluxBB