• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

sessions

M

MaRiOs

Guest
i need to know how the Plesk understands when a user is logged in and which variable is the Plesk using to hold the user during the login.

(im trying to make a script that ,the user who tries to run it throught a custom button will have to be verified that is the user who is loged in)
 
You could verify this by checking their password against psa database or using the API.
 
checkin the pass is a litle diffucult cause its encoded inside the db.

How could I use the api ?
 
If you check:

/usr/local/psa/bin/domain.sh --help

... you may find that you can find the solution there? It will definately depend on whether the passwords are encoded as to whether you can do this though.
 
this doesnt helps a lot.

by the way where can find any info about the utils in the /usr/local/psa/bin/ directory ?
 
thanx
jamesyeeoc :)

youare still senior member after 1K+ posts?:p
 
Back
Top