replacing /bin/bash with my login shell

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi ,
I replaced one of the user login shell to /bin/myshell

/bin/myshell is just a custom shell,
It is as simple as this :

char user[128];
    printf(" Welcome to CLI \n");
scanf("%s", user);
    printf(" Exiting CLI %s  \n", user);


Once I put my shell after changing /etc/passwd , scp doesnt work, it gets
stuck

testuser:x:1000:1000:Linux User,,,:/home/test:/bin/myshell


scp  testuser@10.102.12.12:/tmp/scpfile . is stuck, while ssh login works ,
please suggest, if i am doing something wrong.


Regards,
Ivan
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux