LInux group permissions question

This is a discussion on LInux group permissions question within the Tech Board forums, part of the Community Boards category; say I have a root account assigned to the following groups % id root uid=0(root) gid=0(wheel) groups=0(wheel),2(kmem),3(sys),4(tty),5(operator), 8(news),9(mail),12(utmp),25(patron),50(staff),55(d ocs),117(dialer) Say ...

  1. #1
    Banned
    Join Date
    May 2007
    Location
    Berkeley, CA
    Posts
    329

    LInux group permissions question

    say I have a root account assigned to the following groups

    % id root
    uid=0(root) gid=0(wheel) groups=0(wheel),2(kmem),3(sys),4(tty),5(operator), 8(news),9(mail),12(utmp),25(patron),50(staff),55(d ocs),117(dialer)


    Say I want to add a person to the staff group. Is there anway of determining what programs get executed under the staff group?

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    What do you mean by "get executed"? Do you mean setgid programs that are executed under that group ID no matter who calls them?
    Code:
    find / -executable -group staff -perm -g+s
    Or do you mean programs that can be executed specifically by the group staff?
    Code:
    find / -group staff -perm -g+x
    Or do you want to track what programs any user in the staff group executes? I don't know how to do that.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Banned
    Join Date
    May 2007
    Location
    Berkeley, CA
    Posts
    329
    Ack. Sloppy wording on my part. I wanted to know the executed specifically by the group staff. You just answered the question for me. Thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Wireless Network Linux & C Testbed
    By james457 in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-11-2009, 12:03 PM
  2. linux, doubles, and unions
    By paraglidersd in forum Linux Programming
    Replies: 14
    Last Post: 11-19-2008, 11:41 AM
  3. Probably a simple question
    By Chles in forum C++ Programming
    Replies: 2
    Last Post: 08-05-2007, 03:41 AM
  4. Linux, forms, dirs, permissions, cgi-bin, and C
    By ronin in forum C Programming
    Replies: 0
    Last Post: 12-19-2003, 06:10 PM
  5. Linux and serial cable question
    By Hannwaas in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 04-18-2002, 08:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21