X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com" Subject: [1.7] su Date: Thu, 19 Nov 2009 22:15:17 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: lemkemch AT t-online DOT de Message-ID: User-Agent: Opera Mail/10.01 (Win32) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 AT orion ~]$ su michael Password: su: /bin/bash: Permission denied [AddMini AT orion ~]$ I can also play that game via login: [AddMini AT 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 AT 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