summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-12-18User deletion updateStephen Hemminger
1. Allow deleting user still logged in (Bug 5067) 2. Don't allow deleting self, because that would mean killing current process.
2009-12-09Redefine meaning of protected-userStephen Hemminger
A entry in protected-user means that the Vyatta config system should just leave it alone. This is intended for root, and other special accounts. Original code didn't work during admin anyway because of missing sudo.
2009-12-08Allow root account to not existStephen Hemminger
If root account is deleted, disable it rather than removing it from passwd file and confusing everything.
2009-12-07Fix configure of userStephen Hemminger
Previous change broke setup of root account because 'uid = 0' looks like false so useradd called when usermod was intended.
2009-12-04Fix code that generates authorized keysStephen Hemminger
This now works. loadkey vyatta scp://user@host/~/.ssh/id_rsa.pub
2009-12-04Rearrange the public-key configuration schemaStephen Hemminger
New syntax: system login user vyatta authentication public-key user@remote type ssh-rsa
2009-12-03Set modes of created authorization key (and directory)Stephen Hemminger
sshd is picky about modes (and it should be), so make sure and chmod the file.
2009-12-03Update .ssh/authorized_keys as part of the login updateStephen Hemminger
2009-12-02Simply Radius server updateStephen Hemminger
Rather than complex sed editing, just regenerate whole file.
2009-11-06Fix library includeRobert Bays
2009-11-05Move user configuration information to filesStephen Hemminger
1. Complete migration of protected-users from hardcoded in User.pm to /opt/vyatta/etc/protected-user 2. Put mapping from level to group in file.
2009-11-02Don't want/need --package option to pam-auth-updateStephen Hemminger
2009-10-30radius: add missing spaceStephen Hemminger
2009-10-30radius-server: shutup debconf dialogStephen Hemminger
Found better way to get rid of debconf warning by forcing non interactive.
2009-10-30Shut up debconf when installing pam radiusStephen Hemminger
Just get rid of silly debconf warnings when doing pam-auth-update
2009-10-27Use pam-auth-update to configure radiusStephen Hemminger
This keeps radius from fighting with tacacs+
2009-10-05add override mechanism for protected usersAn-Cheng Huang
2009-09-23Cleanup all vbash usersStephen Hemminger
This is an alternative version of the rollback for unsaved vyatta user changes. Instead of identifying users by group, assume all users whose login shell is vbash must exist in configuration.
2009-09-11Delete vyatta users not in configurationStephen Hemminger
This implements rollback for users that were added during a previous configuration (and committed), but were never saved into configuration. Bug: 4528
2009-09-11If configuration is wrong just skip user don't dieStephen Hemminger
If configuration for one user is wrong (missing passwd, level, etc) go on and complete for rest of users.
2009-09-11Add operators to vyattaop groupStephen Hemminger
Part of bug fix for password sync (Bz 4528)
2009-07-27fix undefined array refAn-Cheng Huang
(this shows up when loading a start-up config that has root password defined right after install)
2009-07-17Avoid rewriting radius config unless neededStephen Hemminger
Don't edit radius config unless something has changed. (cherry picked from commit 8d3f5b37ec3c728d56fadc596562025821169329)
2009-07-17Change API for login modulesStephen Hemminger
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)
2009-07-17Make Radius server workStephen Hemminger
Translate radius-server to Vyatta::Login::RadiusServer (cherry picked from commit bf86040fef55fdb644b3670a9e1ec093e67df828)
2009-07-17Fix User Login configuratorStephen Hemminger
Missing config setup. (cherry picked from commit b148ddcccd9d4a30464423b524fc03700507cb19)
2009-06-01Change how system login update worksStephen Hemminger
Use a wrapper script in vyatta_update_login.pl and per login method objects for the update.
2009-03-25move keepalived.pm to vyatta-cfgStephen Hemminger
2009-03-06Remove prefix mask on vip if present since it can't be using in arping.Stig Thormodsrud
2009-03-06Specify source address with arping since we no longer require an IPStig Thormodsrud
address on the actual interface.
2009-03-06Move changes file to /var/run/vrrpd and make sure the directory exists.Stig Thormodsrud
2009-03-05More checking for open() of logStephen Hemminger
If log open fails, at least print the reason why.
2009-03-01Fix 4152: Add support for VRRP operation on unnumbered interfacesStig Thormodsrud
2009-03-01Fix 4068: 'show vrrp' last transition times are not updated when a ↵Stig Thormodsrud
transition occurs on boot.
2008-11-21Convert to Vyatta::Config hierarchyStephen Hemminger
2008-11-21Rename VyattaKeepalived to Vyatta::KeepalivedStephen Hemminger
Use directory hierarchy in perl.