runas segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
titantools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: noshell
When I try to run any command using 'runas' it segfaults. Below is a simple example where it cannot run ls on my home directory. I found this bug while trying to used it to run un-trusted executables as 'nobody'. I have noshell v4.0.11-4 installed
-------
root@ajc-laptop:~# uname -a
Linux ajc-laptop 2.6.24.2 #2 Tue Feb 19 21:55:09 EST 2008 i686 GNU/Linux
root@ajc-laptop:~# runas -c ~/acornett acornett acornett 1000 ls
Segmentation fault (core dumped)
root@ajc-laptop:~# ltrace runas -c ~/acornett acornett acornett 1000 ls
getopt(7, 0xbff71634, "c:") = 99
getopt(7, 0xbff71634, "c:") = -1
setgroups(0, 0, 0x80b4e06, 14, 0) = 0
getgrnam("acornett" <unfinished ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
-------
Is this symptom still reproducible in 8.10 or 9.04?