Just to bring up the question again as it is still left ananswered. Is it intended that setlogin is not implemented / not working on a recent linux glibc system?
Dan Osterrath schrieb:
> Hi,
>
> ---------------------------------------
> #include <stdio.h>
>
> int main(int argc, char **argv) {
> if (argc < 2) {
> printf("no login given: %s <loginname>\n", argv[0]);
> exit(2);
> }
> if (setlogin(argv[1]) < 0) {
> printf("could not setlogin to %s\n", argv[1]);
> exit(1);
> } else {
> printf("setlogin successful\n");
> exit(0);
> }
> }
> ---------------------------------------
signature.asc
Description: OpenPGP digital signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
