Changeset 110302


Ignore:
Timestamp:
Apr 19, 2024, 12:57:12 PM (6 weeks ago)
Author:
jed
Message:

changed /sbin/nologin to /usr/sbin/nologin path.

Location:
trunk/netservices/slims/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/netservices/slims/common/tmp/install.sh

    r110297 r110302  
    5050name='slimserver user'
    5151homedir=''
    52 shell='/sbin/nologin'
     52shell='/usr/sbin/nologin'
    5353pass='*'
    5454
  • trunk/netservices/slims/common/var/install/config.d/slims.sh

    r110296 r110302  
    11331133        write_to_config_log --header
    11341134
    1135         check_system_user "${slims_user}" '' "${slims_gid}" '/usr/bin/false' ''
     1135        check_system_user "${slims_user}" '' "${slims_gid}" '/usr/sbin/nologin' ''
    11361136
    11371137        add_slims_service
     
    11491149        fi
    11501150
     1151        # restart server to activate configuration changes
     1152        /usr/sbin/service daemon-reload
     1153        /usr/sbin/service stop ${module_name}
     1154        sleep 4
     1155        /usr/sbin/service start ${module_name}
     1156
    11511157        compress_config_log
    11521158
Note: See TracChangeset for help on using the changeset viewer.