[ https://issues.apache.org/jira/browse/ZOOKEEPER-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15177391#comment-15177391 ]
Patrick Hunt commented on ZOOKEEPER-2372: ----------------------------------------- Why wouldn't the user just make sure to run the script as the proper user? We typically don't deal with this level of detail - we leave it to the package maintainers (such as bigtop). zkServer scripts have historically been more of a convenience. > Add ability to specify user under which zookeeper process should be started > using zkServer.sh > --------------------------------------------------------------------------------------------- > > Key: ZOOKEEPER-2372 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2372 > Project: ZooKeeper > Issue Type: Improvement > Components: scripts > Affects Versions: 3.4.8 > Environment: Linux Centos 6 > Java 1.7 > Reporter: Siddhartha > Priority: Minor > > Currently the zkServer.sh script will start zookeeper as the user invoking > the script. > It would be good to add the ability to specify the user (maybe in a $USER > variable in conf/zookeeper-env.sh) under which the zookeeper process should > be run, so that any user invoking the script do not accidentally start it as > their user (esp. as root). > Addition of this feature would make zkServer.sh the only script required to > manage zookeeper process. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)