user.rb
468 Bytes
class DsAdmin::Model::User
include DsAdmin::Model
attr_accessor :name, :pass, :uid, :gid, :shell, :home
def initialize(args = {})
return if args.empty?
super(args)
@name = args[:name]
@pass = args[:pass]
@uid = args[:uid]
@gid = args[:gid]
@shell = args[:shell]
@home = args[:home]
@shadowmax = args[:shadowmax]
@shadowwarning = args[:shadowwarning]
end
end