![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| only root can login through X window | hai_jab | UNIX Desktop for Dummies Questions & Answers | 0 | 08-12-2007 03:29 AM |
| ioctl() fails to get window size from console login | diganta | SUN Solaris | 2 | 12-24-2004 06:06 AM |
| window 2000 professional not pinging my window 98 system. | kayode | Windows & DOS: Issues & Discussions | 10 | 11-13-2003 12:12 AM |
| unix window | bb00y | UNIX for Dummies Questions & Answers | 12 | 10-09-2002 07:25 PM |
| UNIX & WINDOW | Norman N | IP Networking | 1 | 01-29-2001 08:13 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello All,
My Problem is -> How can we get UNIX id from open mail authentication (Windows ID) in UNIX. In following command we are using domain name, which may change in your reference. As, if we use following command. ypcat passwd | grep rohitp | cut -d: -f5 | cut -d, -f1 => we get Windows Login ID of rohitp Rohit Pandey NOTE : "passwd" is domain name But if we reverse this ypcat passwd | grep "Rohit Pandey" | cut -d: -f 1 => we get multiple UNIX id flashweb sramweb ftmtrn21 nvmioweb ftmweb rohitp ndlfweb smtweb wits tcdweb nvmpmweb eclweb nvmweb Nvmsiweb Reason behind multiple UNIX ID is, there may be multiple UNIX ID, whose owner is Rohit Pandey. But there may be specific ID which ownership only to Rohit Pandey. As in above example, ownership of nvmweb ID to multiple user but rohitp only belong to Rohit Pandey So how i get this rohitp from this list or using other set of command. don't want to use pattern matching kind of command beacuse we don't have any idea about Windows Login Name n UNIX ID . Regards Rohit |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|