UNSOLVED

Alastair2

updated

18 years ago

A

Alastair2

16 Posts

0

1645

May 26th, 2009 02:00

Non-root use of SE under Unix possible?

Hi,

Solutions Enabler (SE) commands on Unix have to be run as root. Has anyone tried making the binaries set-uid root so that non-root users can run them?

I can see no reason this wouldn't work but would be interested in other's experience. Would that invalidate EMC support for SE?

Thanks,
Alastair
  • xe2sdc

    6 Operator

    •

    2831 Posts

    870

    0

    Posted May 26th, 2009 02:00

    Running symcli commands as non-root user is possible without touching symcli executables. Any recent Symcli version will install "stordaemons" that will run as root while you execute commands as non-root user.

    Straight from S.E. manuals:

    "Typically, daemons run with root/administrator privileges,1 which
    enable them to handle the tasks required by SYMCLI commands (and
    any SYMAPI call) that require privileged access. This enables
    non-privileged users to run the SYMAPI application."

    "By default, the daemons only accept connection requests from users
    running with root or administrator privileges. For non_root users to
    use this feature, you need to create a daemon_users file (initially
    installed as README.daemon_users) with a list of allowed usernames."

    Have a look at your favourite S.E. install manual (mine is 300-008-918
    REV A01) and enjoy :D

    Oh BTW since S.E. 7.0 even some of the daemons may run as non-root user.
  • Alastair2

    16 Posts

    870

    0

    Posted May 26th, 2009 04:00

    Thanks, Stefano!
  • 870

    0

    Posted June 6th, 2009 09:00

    While this works OK, it would be *very* handy if the daemon_users file would accept a *group* option, instead of only usernames. That way, you don't have to edit the deamon_users file on each SymCLI-host if you have a centralized user repository...
  • xe2sdc

    6 Operator

    •

    2831 Posts

    870

    0

    Posted June 11th, 2009 01:00

    Jurjen you can open a RFE. I guess our developement team will be happy to receive requests for enhancements. This means you are interested in the product. It's a great feedback you can give them :-)