sudoer support on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
dccddf6428
commit
ccfd373fd3
@ -53,4 +53,8 @@ chown $SUDOER:users $HOME/.ssh/authorized_keys
|
||||
|
||||
# Restart the SSHD for syncfiles postscript to do the sync work
|
||||
logger -t xCAT -p local4.info "Restarting SSHD"
|
||||
service sshd restart
|
||||
if [ -f "/etc/debian_version" ];then
|
||||
service ssh restart
|
||||
else
|
||||
service sshd restart
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user