How can i use system users in perl for login page

Hi,

I want to code a script with perl. For this, I need some knowledge.

How can i use system user name(with group) and password in my login page?

I will be happy if you can help me

can you be a bit more specific? what do you mean by login page? Are you coding a web CGI in perl?

Yes, I'm coding a web CGI for hosting control panel.