l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Nov 22 16:33

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] User with root privileges
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] User with root privileges

On Fri, 21 Nov 2003, Peter Jay Salzman wrote:

> ps- i will state again: the thing that you said is not a bad idea is
> STILL not accurate.  UID != GID.  you say it will "largely have the
> desired effect".
> i don't know about you, but when i'm administrating my system, i want to
> have THE desired effect.  not largely the desired effect!

Well I have to admit I made an assumption about something that I've never
tried before.

I use sudo to get the exact desired effect I'm looking for which is this:
I put user davem (me) in /etc/sudoers and I say _davem can run these
six normally root only programs on this box_.  These include ifconfig and
some other things I use alot and don't want to have to login as root with
my very annoying to type (which is a good thing) root password.

Somebody mentioned putting a user in the root group and I made the
assumption that would allow non-root users to _execute_ certain files on
the system (achieving a similar affect to what I do with sudo).

Well I just went into /sbin and did and ls -l * to see if I knew what I
was talking about, and I didn't.  Most of the executables in there
(including the ones I would want to use) are owned by the group _bin_, so
I was way off base anyway.

So for all it's worth, you told me so.

I still maintain that sudo is the best way to do the sort of thing
described in the original e-mail, but I'm not 100% sure that's available
for Solaris.  I also maintain that making anybody but root uid=0 is a
hack.  If it's a clever hack that works, then by all means go for it.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!