diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-02-28 19:20:14 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-28 19:20:14 +0700 |
commit | 3556ce68faf2d7f2de1ff24b6ce25f70339c589d (patch) | |
tree | b8ab55b65e1d37c69ec8c978ba44df39aa5cc5be | |
parent | 0c8a6170b42bf699deb1e1fc61af571da642b913 (diff) | |
parent | 9435cbeb57cfcf40c35071c7a4f2b8a4861d83c6 (diff) | |
download | vyatta-cfg-system-master.tar.gz vyatta-cfg-system-master.zip |
Merge pull request #61 from mickvav/mastermaster
Fix problem with path and permissios for usermod
-rwxr-xr-x | lib/Vyatta/Login/User.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Login/User.pm b/lib/Vyatta/Login/User.pm index 1bf058d6..38811ce6 100755 --- a/lib/Vyatta/Login/User.pm +++ b/lib/Vyatta/Login/User.pm @@ -161,7 +161,7 @@ sub _update_user { $cmd = 'useradd -m -N'; } else { # update existing account - $cmd = "usermod"; + $cmd = "sudo /usr/sbin/usermod"; } $cmd .= " -s /bin/vbash"; |