Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: michael DOT cameron AT technologist DOT com MIME-Version: 1.0 Message-Id: <000830045627GB.29719@webb1.iname.net> Date: Wed, 30 Aug 2000 04:56:27 -0400 (EDT) Content-Type: Text/Plain Content-Transfer-Encoding: 7bit To: cygwin AT sources DOT redhat DOT com Subject: Re: newbie: using su Okay, so su doesn't work, can I just use brute force? If I ALWAYS want to log on as another user (the "owner" of a particular application) and never as me (my W2K login for mail etc..) What if I remove my entry from /etc/passwd, make a copy of the desired users entry in /etc/passwd then change the name in that entry to my user name (making sure this entry comes after the real users entry). I then log in as me but am now the first user. Any side-effects that I should be aware of? example: desireduser::1002:513:The user I want to be,S-1-5-21-1538995194-1560047842-1096501715-100 2::/bin/sh me::1002:513:trendadm,S-1-5-21-1538995194-1560047842-1096501715-1002::/bin/sh Michael P.S. What is that entry in the gecos field? ----------------------------------------------------- Get free personalized email at http://email.lycos.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com