Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create an user ....

Status
Not open for further replies.

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
 
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 (:)-)))
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top