Changeset a51a897


Ignore:
Timestamp:
02/13/14 08:49:03 (7 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
158b662
Parents:
a67713d
Message:

Make sure that we run "setlogin(username)" on the login session in PCDM as well before dropping privileges.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/pcdm-xprocess.cpp

    r5e38281 ra51a897  
    105105  QString xhostcmd = "xhost si:localuser:"+xuser; 
    106106  system(xhostcmd.toUtf8()); 
     107  //And finally set the login user before dropping priv 
     108  setlogin( xuser.toUtf8() ); 
    107109  //QWidget *wid = new QWidget(); 
    108110  if (setgid(pw->pw_gid) < 0) { 
Note: See TracChangeset for help on using the changeset viewer.