-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13-Aug-2002/16:54 +0800, Roger <[EMAIL PROTECTED]> wrote: >I want to have a shell script for telnet, the other users must use it >without any interactivities, I remember there is a way in shell >programing that we can write some commands of some applications in shell >script , such as open, user, passwd of ftp, bash would transfer these >commands to the application it revoke. what can I do?
I think you want to set your users to use an program or script as soon as they login, with no other choice. If that is what you want, just edit /etc/passwd and change their shell to the program or script that you want them to run. Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux: the choice of a GNU Generation. <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]> iD8DBQE9WPIUpCpg3WyUI50RAkinAJ0ceGQAGuJbJ9NMiHHDpR1xZS0UZQCgqmmE PVcWfX7FAkaW7xspkKWOLOI= =R7B6 -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list