Age | Commit message (Collapse) | Author |
|
Pass status to login update() which might be useful to handle
case when node is deleted.
|
|
|
|
The login class manager must be called if login type is deleted.
Also skip updating if no changes to that login type.
(cherry picked from commit 1151679260e673f69bdb637fec7773b574f3c7b0)
|
|
The login modules aren't really objects (if Perl really had objects), so
just use dynamic invoke of update routine.
(cherry picked from commit 37ba59896d4c9ac5c914d1901d86ed7e7d844871)
|
|
Translate radius-server to Vyatta::Login::RadiusServer
(cherry picked from commit bf86040fef55fdb644b3670a9e1ec093e67df828)
|
|
Use a wrapper script in vyatta_update_login.pl and per login method
objects for the update.
|
|
|
|
Bug 4448
|
|
1. User and Radius separate scripts
2. Tacacs (incomplete) moved to separate package
|
|
This reverts commit fd605ab5d4ce4aa4015089042afd90f6e5c6ba59.
|
|
Getting cumbersome with one big script.
|
|
Use of global loop variable, and open syntax.
|
|
|
|
On boot, there is no reason to add or modify a user account if already
exists in the system with same groups and settings.
|
|
|
|
Add admin level users to "disk" group so that they can execute RAID commands.
|
|
Add "admin" and "operator" level users to the "dip" group so that they
can execute CLI commands that bring up and take down PPP connections.
|
|
Manpage for useradd is incorrect, the option is -N not -n.
|
|
Change to use -n option to useradd:
A group having the same name as the user being added to the system
will be created by default (when -g is not specified). This option
will turn off this behavior. When this option is used, users by
default will be placed in whatever group is specified in the GROUP
variable of /etc/default/useradd. If no default group is defined,
group 100 (users) will be used.
|
|
Root (which uses bash) must be allowed, and probably want to
allow others as well. Better to add full shell support later
|
|
Rewrite the scripts that manage user accounts to:
1) use Posix standard useradd, userdel scripts rather than modifying
passwd/group files directly.
2) add home-directory field to account management
3) support adding accounts to additional groups
Note: this code should now also work with NIS since it has no direct
access to /etc/passwd.
|
|
Run script through perltidy to cleanup indentation
|
|
Put GPL license on this script
|
|
|