Skip to contentSkip to conversation

Cannot find your entry in the shadow passwd file

DISCUSSION [email protected] 3 participants 3 messages Sep 14, 2006 – Sep 16, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hey there,

i've got a strange problem. I created a new user on my system which is not able to switch between different roles. Looks like this:

~ $ id -Z
setester:user_r:user_t
~ $ newrole -r staff_r
Authenticating setester.
Cannot find your entry in the shadow passwd file.
~ $

This happens to all users except root:

~# id -Z
root:staff_r:staff_t
~# newrole -r sysadm_r
Authenticating root.
Password:
~# id -Z
root:sysadm_r:sysadm_t

Any suggestions what is wrong? Could that be a misfunction in pam?

Signature · 7 lines
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 22 lines · [email protected] wrote:

Hey there,

i've got a strange problem. I created a new user on my system which is not able to switch between different roles. Looks like this:

~ $ id -Z
setester:user_r:user_t
~ $ newrole -r staff_r
Authenticating setester.
Cannot find your entry in the shadow passwd file.
~ $

This happens to all users except root:

~# id -Z
root:staff_r:staff_t
~# newrole -r sysadm_r
Authenticating root.
Password:
~# id -Z
root:sysadm_r:sysadm_t

Quoted 3 lines

Any suggestions what is wrong? Could that be a misfunction in pam?

I think newrole is looking up setester in /etc/passwd.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#2 lore raw
In reply to [email protected]
Quoted 11 lines · On Friday 15 September 2006 03:21, [email protected] wrote:

i've got a strange problem. I created a new user on my system which is not able to switch between different roles. Looks like this:

~ $ id -Z
setester:user_r:user_t
~ $ newrole -r staff_r
Authenticating setester.
Cannot find your entry in the shadow passwd file.
~ $

This happens to all users except root:

Is the newrole program setuid?

Signature · 9 lines
[email protected]
http://etbe.blogspot.com/          My Blog

http://www.coker.com.au/sponsorship.html Sponsoring Free Software development

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.