artjuh
30th October 2002, 17:42
I want to make an batch file so that some users can login multiple times and others can't
i know that i can use ipc_info for that but how.
i can make a newline in it like "user s 0 0 p ${BSE}/bin/userlogin"
But what should contain my script ? something like below ?
//Filename: ${BSE}/bin/userlogin
a=`licmon6.1 -w | grep $1`
if [ -n $a ]; then
${BSE}/bin/bshell6.1
else
${BSE}/bin/bshcmd $1 "Your already logged in"
fi
I also have no id what stdout ipc_info should give
maybe someone can tell how he did this.
Thanks in advanced,
Artjuh
i know that i can use ipc_info for that but how.
i can make a newline in it like "user s 0 0 p ${BSE}/bin/userlogin"
But what should contain my script ? something like below ?
//Filename: ${BSE}/bin/userlogin
a=`licmon6.1 -w | grep $1`
if [ -n $a ]; then
${BSE}/bin/bshell6.1
else
${BSE}/bin/bshcmd $1 "Your already logged in"
fi
I also have no id what stdout ipc_info should give
maybe someone can tell how he did this.
Thanks in advanced,
Artjuh