Sep 10, 2003 #1 biondo68 Technical User Jul 4, 2003 103 IT hi, dear all, is possible to create an user and set the privilege only for to use FTP and disable all other services.. bye thanks biondo68
hi, dear all, is possible to create an user and set the privilege only for to use FTP and disable all other services.. bye thanks biondo68
Sep 10, 2003 #2 MoshiachNow IS-IT--Management Feb 6, 2002 1,851 IL Like: mkuser -a login='false' rlogin='false' GUEST ? "Long live king Moshiach !" http://www.7for70.com/ Upvote 0 Downvote
Like: mkuser -a login='false' rlogin='false' GUEST ? "Long live king Moshiach !" http://www.7for70.com/
Sep 10, 2003 #3 dickiebird Programmer Feb 14, 2002 758 GB Or design the users .profile to be 'unescapable' TERM=vt220 trap 'exit' 1 2 3 15 while [ 1 ] do clear today=`date "+%a %d/%m/%y"` echo " \c" tput smso echo " $LOGNAME's menu $today " tput sgr0 echo "\n\n 1. Initate transfer protocol" echo "\n\n 99. Quit" echo "\n\n\nPlease enter (1-99) \c" read i # case "$i" in 1) clear; #Do All FTP stuff here ;; 99) exit;; *) ;; esac done exit HTH Dickie Bird (-))) Upvote 0 Downvote
Or design the users .profile to be 'unescapable' TERM=vt220 trap 'exit' 1 2 3 15 while [ 1 ] do clear today=`date "+%a %d/%m/%y"` echo " \c" tput smso echo " $LOGNAME's menu $today " tput sgr0 echo "\n\n 1. Initate transfer protocol" echo "\n\n 99. Quit" echo "\n\n\nPlease enter (1-99) \c" read i # case "$i" in 1) clear; #Do All FTP stuff here ;; 99) exit;; *) ;; esac done exit HTH Dickie Bird (-)))
Sep 11, 2003 #4 Yegolev Technical User Oct 1, 2001 787 US read man Rsh, should do what you want and keep you from learning any scripting. i think i should have this text somewhere so i can copy-paste it in here. =) IBM Certified -- AIX 4.3 Obfuscation Upvote 0 Downvote
read man Rsh, should do what you want and keep you from learning any scripting. i think i should have this text somewhere so i can copy-paste it in here. =) IBM Certified -- AIX 4.3 Obfuscation