How to drop privileges in a Debian Chroot?

خرید بک لینک

I'm testing some software under Debian X32. Its a chroot environment, and its entered upon as root. Some of the tests are failing because of the root account:

make test
...
# Failed test 'Testing that we aren't running as a privileged user, such as root'
# at ../test/recipes/40-test_rehash.t line 49.
...
# Looks like you failed 1 test of 5.
../test/recipes/40-test_rehash.t ........... Dubious, test retued 1
(wstat 256, 0x100)
Failed 1/5 subtests    
...

Trying to drop privileges by su'ing fails:

# su - jdoe
No passwd entry for user 'jdoe'

How do I drop privileges in a Debian Chroot?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 303 تاريخ: پنجشنبه 3 تير 1395 ساعت: 19:33

صفحه بندی