All of lore.kernel.org
 help / color / mirror / Atom feed
* Cannot find your entry in the shadow passwd file
@ 2006-09-14 17:21 selinux770
  2006-09-15 15:38 ` Daniel J Walsh
  2006-09-16 12:06 ` Russell Coker
  0 siblings, 2 replies; 3+ messages in thread
From: selinux770 @ 2006-09-14 17:21 UTC (permalink / raw)
  To: selinux

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?

-- 
"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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cannot find your entry in the shadow passwd file
  2006-09-14 17:21 Cannot find your entry in the shadow passwd file selinux770
@ 2006-09-15 15:38 ` Daniel J Walsh
  2006-09-16 12:06 ` Russell Coker
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel J Walsh @ 2006-09-15 15:38 UTC (permalink / raw)
  To: selinux770; +Cc: selinux

selinux770@tortenboxer.de 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
>
> 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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cannot find your entry in the shadow passwd file
  2006-09-14 17:21 Cannot find your entry in the shadow passwd file selinux770
  2006-09-15 15:38 ` Daniel J Walsh
@ 2006-09-16 12:06 ` Russell Coker
  1 sibling, 0 replies; 3+ messages in thread
From: Russell Coker @ 2006-09-16 12:06 UTC (permalink / raw)
  To: selinux770; +Cc: selinux

On Friday 15 September 2006 03:21, selinux770@tortenboxer.de 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?

-- 
russell@coker.com.au
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-16 12:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-14 17:21 Cannot find your entry in the shadow passwd file selinux770
2006-09-15 15:38 ` Daniel J Walsh
2006-09-16 12:06 ` Russell Coker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.