X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 	tests=BAYES_50
X-Spam-Check-By: sourceware.org
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: [1.7] su
Date: Thu, 19 Nov 2009 22:15:17 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
From: lemkemch@t-online.de
Message-ID: <op.u3nunr1t5o90vo@orion>
User-Agent: Opera Mail/10.01 (Win32)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Is su supposed to work?  When I try from an unprivileged account
I get:

michael> su addmini
Password:
su: /bin/bash: Permission denied


michael> procps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
michael   7580     1  0 Nov28 tty0     00:00:11 /usr/bin/rxvt -sb -sl 1024  
-geom
michael   7260  7580  0 Nov28 tty0     00:00:00 -bash
michael   8100  7260  0 Nov28 tty0     00:00:00 procps -ef


This also happens if I run su from a privileged account (started via runas  
 from a
windows shortcut) and try to switch to an unprivileged one:


[AddMini@orion ~]$ su michael
Password:
su: /bin/bash: Permission denied
[AddMini@orion ~]$


I can also play that game via login:


[AddMini@orion ~]$ login
login: michael
Password:
       ____________________,              
______________________________________
    .QQQQQQQQQQQQQQQQQQQQQQQQL_          
|                                      |
  .gQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ__    
|                                      |
  gQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ==   |                     
_.---.)           |
  QQQQQQQQQQQQQQQQQQQQQQQQQQQF=         |          (^--^)_.-"       
`;          |
  QQQQQQQQQ================!            |          ) ee (            
|          |
  QQQQQQQQ                              |         (_.__._)          
/           |
  QQQQQQQQ                              |           `--',         
,'            |
  QQQQQQQQ     ~"jjj__,                 |            jgs  
)_|--')_|             |
  QQQQQQQQ       "jjjjjjjjjj___         |                ""'    
""'             |
  QQQQQQQQ        ~jjjjjjjjjjjjjjjjj__   
|                                      |
  QQQQQQQQ        _jjjjjjjjjjjjjj/~~~~  |      The Hippo says: Welcome  
to      |
  QQQQQQQQ      .{jjjjjjj/~~~~~         |                              
_        |
  QQQQQQQQ     .{/~~~~`                 |  ____  _   _   ____  _ _ _ (_)  
____  |
  QQQQQQQQ                              | / ___)| | | | / _  || | | || ||   
_ \ |
  QQQQQQQQ                              |( (___ | |_| |( (_| || | | || || |  
| ||
  QQQQQQQQQL_______________,            | \____) \__  | \___ | \___/ |_||_|  
|_||
  QQQQQQQQQQQQQQQQQQQQQQQQQQQL___       |        (___/   
(____|                 |
  4QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ___   
|                                      |
  (=QQQQQQQQQQQQQQQQQQQQQQQQQQQQQ====   |       -.-. -.-- --. .-- ..  
-.        |
    (QQQQQQQQQQQQQQQQQQQQQQQQF=          
|______________________________________|

login: no shell: /bin/bash: Permission denied

AddMini@orion ~
$


Thanks,
Michael

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

