aboutsummaryrefslogtreecommitdiffstats
path: root/main/snmptt/snmptt.pre-install
Commit message (Collapse)AuthorAgeFilesLines
* Reorder arguments passed to addgroup/adduser in scripts.Przemyslaw Pawelczyk2016-04-251-1/+1
| | | | | | | Now all invocations have following order of arguments (if present): addgroup -S -g ... GROUP adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
* Improve consistency of scripts using adduser/addgroup.Przemyslaw Pawelczyk2016-04-251-1/+3
| | | | | | | | | | | | Following rules have been applied: - script starts with shebang !#/bin/sh followed by blank line, - script ends with exit 0 prepended by blank line, - only stderr of adduser, addgroup or passwd is redirected to /dev/null, - getent passwd/group instances has been removed, - manual checking of file and group existence has been removed, - `|| true` instances has been removed. Comments and line wrapping have been preserved.
* Add -g option (GECOS/comment) to adduser in scripts.Przemyslaw Pawelczyk2016-04-251-1/+1
| | | | | | This way we can avoid ugly default: Linux user,,,
* Reorder options passed to adduser in scripts: make -S first.Przemyslaw Pawelczyk2016-04-251-1/+1
| | | | It's only for consistency and to ease spotting lack of it.
* main/snmptt: fix ownership of spool and log dirsLeonardo Arena2014-04-091-0/+1
|
* main/snmptt: use /sbin/nologin as shellNatanael Copa2013-09-041-1/+1
|
* main/snmptt: add logrotate support. Create userLeonardo Arena2013-02-151-0/+2