Displaying 1 result from an estimated 1 matches for "unixlogin".
2005 Dec 24
2
3.0.20 usermap script execution
...--with-included-popt
OS: Solaris 8
#!/bin/bash
if [ $1 ]
then
echo "$1" >> /tmp/mhm4in #line needed for debugging
#cut off the na0x\ part of input
na0xlogin=`echo "$1" | cut -d '\' -f2`
#search for a different unix login
unixlogin=`ypcat users.map | grep "\$na0xlogin$" | cut -d ' ' -f1`
if [[ $? = 0 && $unixlogin != "" ]]
then
#if unixlogin is in the users.map then return it
echo "$unixlogin"
echo "$unixlogin&q...