search for: setuinfo

Displaying 5 results from an estimated 5 matches for "setuinfo".

Did you mean: setinfo
2001 Mar 15
1
News from AIX
...plications + * actually use this and die if it's not set + */ + { + char ui_buf[1000]; + int ui_len; + + ui_len = sprintf( ui_buf, + "LOGNAME=%s%cNAME=%s%cTTY=%s%c%c", + pw->pw_name, 0, + pw->pw_name, 0, + ttyname, 0,0); + usrinfo( SETUINFO, ui_buf, ui_len ); + debug("AIX/UsrInfo: set len %d", ui_len); + } +#endif /* Permanently switch to the desired uid. */ permanently_set_uid(pw->pw_uid); --------- snip --------- usrinfo Subroutine Purpose Gets and sets user information about the owner of the curr...
2002 Jun 21
0
[Bug 283] New: UsePrivilegeSeparation fails on AIX, Couldn't set usrinfo:
...e client prints /etc/motd and then dies with the message: Couldn't set usrinfo: Operation not permitted. debug1: Calling cleanup 0x2002a5ec(0x20032b58) debug1: Calling cleanup 0x2002a430(0x0) Connection to en closed by remote host. Connection to en closed. Commenting out: if (usrinfo(SETUINFO, cp, i) == -1) fatal("Couldn't set usrinfo: %s", strerror(errno)); from openbsd-compat/port-aix.c The man-page for userinfo() states that: "EPERM The Command parameter is set to SETUINFO, and the calling process does not have root user authority." so I...
2002 Jun 22
2
AIX Package build update.
Hello All, I've updated the AIX package builder (contrib/aix/buildbff.sh). The changes are below. Please review and commit if OK. First, a question: Does anyone want SRC (System Resource Controller) support in the packages? I don't use it but I've been sent an example of how do do it without modifying sshd itself. Onto the changes: * Supports PrivSep. Postinstall will create
2002 Jun 21
5
[Bug 283] UsePrivilegeSeparation fails on AIX, Couldn't set usrinfo:
http://bugzilla.mindrot.org/show_bug.cgi?id=283 ------- Additional Comments From janfrode at parallab.uib.no 2002-06-22 09:00 ------- hmm, I lost part of a sentence there.. I meant to say that commenting out: if (usrinfo(SETUINFO, cp, i) == -1) fatal("Couldn't set usrinfo: %s", strerror(errno)); from openbsd-compat/port-aix.c makes sshd function with UsePrivilegeSeparation enabled. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the ass...
2001 Mar 21
1
Tru64 UNIX SIA in 2.5.2p1 is hosed (still)
The recent patch posted by Steve VanDevender <stevev at darkwing.uoregon.edu> for fixing the session code on Tru64 isn't quite right -- it still fails in the case of NO tty being allocated. The problem is that s->tty is a char[TTYSZ] rather than a char *, and hence can't hold a NULL. Calling sia_ses_init() with the tty being an empty string doesn't signify no tty, and