Changeset 19


Ignore:
Timestamp:
Nov 21, 2024, 12:19:35 PM (7 weeks ago)
Author:
bouyer
Message:

Also restricyt "E" command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/software/tty/readtty_command.c

    r18 r19  
    6969        if (argc != 2)
    7070                usage();
    71         if (*argv[1] == 'P') {
     71        if (*argv[1] == 'P' || *argv[1] == 'E') {
    7272                /* check if user is in group wheel or sudo */
    7373                gid_t mygroups[64];
Note: See TracChangeset for help on using the changeset viewer.