You are not logged in.

#1 2010-02-23 12:13:44

LukynZ
Member
From: Ostrava, Czech Republic
Registered: 2008-11-13
Posts: 122

I have rights for everything

I am not at any group at /etc/group, but I can play music, play games, manage networkmanager, print, log as root by su....is it normal???? I remember that I had to be at specific groups some time before, but after new installation few days back I can do anything....

Last edited by LukynZ (2010-02-23 12:14:09)

Offline

#2 2010-02-23 12:21:16

timong
Member
From: Budapest, HU
Registered: 2007-02-20
Posts: 91
Website

Re: I have rights for everything

LukynZ wrote:

I am not at any group at /etc/group, but I can play music, play games, manage networkmanager, print, log as root by su....is it normal???? I remember that I had to be at specific groups some time before, but after new installation few days back I can do anything....

what does
# id
tell you?


2x arch amd64, one with Intel GP GMA965, one with ATi Mobility HD 5650

Offline

#3 2010-02-23 12:27:02

LukynZ
Member
From: Ostrava, Czech Republic
Registered: 2008-11-13
Posts: 122

Re: I have rights for everything

[lukas@lukyn ~]$ id
uid=1000(lukas) gid=100(users) groups=100(users)

Offline

#4 2010-02-23 12:37:08

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: I have rights for everything

When you log in with something that supports consolekit (kdm, gdm), udev will set ACLs for your user account on devicenodes. Membership of specific groups is no longer required these days.

Offline

#5 2010-02-23 12:40:33

LukynZ
Member
From: Ostrava, Czech Republic
Registered: 2008-11-13
Posts: 122

Re: I have rights for everything

Ah, thanks for explanation JGC. Now I am calm smile

Offline

#6 2010-02-24 00:01:17

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: I have rights for everything

What do device nodes have to do with the wheel group?


Personally, I'd rather be back in Hobbiton.

Offline

#7 2010-02-24 00:31:04

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: I have rights for everything

JGC wrote:

When you log in with something that supports consolekit (kdm, gdm), udev will set ACLs for your user account on devicenodes. Membership of specific groups is no longer required these days.

I didn't know that. Thanks for the information.

Offline

#8 2010-02-24 07:08:34

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: I have rights for everything

Anikom15 wrote:

What do device nodes have to do with the wheel group?

Where does the wheel group come into it?  The OP says he is not a member of any groups (other than users).

Last edited by loafer (2010-02-24 07:08:47)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#9 2010-02-24 10:07:39

quantumphaze
Member
From: Melbourne, Australia
Registered: 2008-11-14
Posts: 175

Re: I have rights for everything

You should be able to use su with minimal privileges since it's security relies on only authorised users knowing the root (or whoever) password.

I believe that you are thinking of sudo, which probably acts like a one-line-wonder version of su when the user isn't part of wheel.


▁▂▃▄▅▆▇█▉▊▋▌▍▎▏▏▎▍▌▋▊▉█▇▆▅▄▃▂▁

Offline

#10 2010-02-24 11:02:10

LukynZ
Member
From: Ostrava, Czech Republic
Registered: 2008-11-13
Posts: 122

Re: I have rights for everything

I can use su and I am not wheel member

Offline

#11 2010-02-24 11:09:24

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: I have rights for everything

What about tty1-6, brother? Can you su or use mplayer?


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#12 2010-02-24 11:37:17

LukynZ
Member
From: Ostrava, Czech Republic
Registered: 2008-11-13
Posts: 122

Re: I have rights for everything

tty's...I can log with su and mplayer works but no visual movie

Offline

#13 2010-02-24 11:41:30

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: I have rights for everything

LukynZ wrote:

I can use su and I am not wheel member

23.6.1 Why GNU su  does not support the 'wheel' group

(This section is by Richard Stallman.)

Sometimes a few of the users try to hold total power over all the rest. For example, in 1984, a few users at the MIT AI lab decided to seize power by changing the operator password on the Twenex system and keeping it secret from everyone else. (I was able to thwart this coup and give power back to the users by patching the kernel, but I wouldn't know how to do that in Unix.)

However, occasionally the rulers do tell someone. Under the usual su mechanism, once someone learns the root password who sympathizes with the ordinary users, he or she can tell the rest. The "wheel group" feature would make this impossible, and thus cement the power of the rulers.

I'm on the side of the masses, not that of the rulers. If you are used to supporting the bosses and sysadmins in whatever they do, you might find this idea strange at first.

source:  http://www.gnu.org/software/coreutils/m … I-lab-2101

Offline

#14 2010-02-24 11:57:51

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: I have rights for everything

Interesting thoughts, b_m, but I am yet to be convinced to hand out my user and root passwords, ip address and ssh port to all and sundry wink Other than that I don't get your post, but that is prolly 'cos I don't know enough about the wheel group...

@ LukynZ

Hm, and if you stop kdm/gdm/xdm/slim, log out and log in again, can you still play music?


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#15 2010-02-24 12:00:39

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: I have rights for everything

toad wrote:

Other than that I don't get your post, but that is prolly 'cos I don't know enough about the wheel group...

just to say that you do not need to be part of the wheel group to use su, which is not the case with BSD for example.

Offline

#16 2010-02-24 13:52:26

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

Re: I have rights for everything

Wheel group is for sudo.. cool

Offline

#17 2010-02-24 13:57:06

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: I have rights for everything

Ta to you both, learn something new every day...


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#18 2010-02-24 14:01:29

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: I have rights for everything

in fact, you don't need it for sudo neither tongue

Offline

#19 2010-02-24 18:16:19

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: I have rights for everything

Misfit138 wrote:

Wheel group is for sudo.. cool

No it ain't tongue.

http://administratosphere.wordpress.com … eel-group/

Sudo is configured by /etc/sudoers. I think sudo by default doesn't allow anybody to run stuff with root powers; you have to allow it explicitly.

Wheel was the group originally intended for restricting the use of su; it's still there, and you can still do it if you want.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#20 2010-02-24 18:36:57

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: I have rights for everything

Sometimes a few of the users try to hold total power over all the rest. For example, in 1984, a few users at the MIT AI lab decided to seize power by changing the operator password on the Twenex system and keeping it secret from everyone else. (I was able to thwart this coup and give power back to the users by patching the kernel, but I wouldn't know how to do that in Unix.)

reason for passwordless su
members of a group that use su do not know root password
removing someone from privileged group (or deleting group) resolves any issues with su access

sudo has nothing to do with wheel group

When you log in with something that supports consolekit (kdm, gdm), udev will set ACLs for your user account on devicenodes. Membership of specific groups is no longer required these days.

if this is true then you have serious secuity problems. What about system (e.g. server) without GUI? Are you saying that one needs to set ACL for absolutely everything? I hope not.

Offline

Board footer

Powered by FluxBB