FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 01-10-2009, 04:34 AM
"Kurian Thayil"
 
Default cannot set groups - Error

Hi All,

One of the RHEL 5.1 servers that I have installed is giving me the error *"su:
cannot set groups: Operation not permitted"* whenever I try doing *su -* as
an ordinary user. /etc/passwd and /etc/group is world readable and owner and
group is root.

*[kurian@rhel-test ~]$ ls -l /etc/passwd;ls -l /etc/group
-rw-r--r-- 1 root root 1656 Jan 9 21:06 /etc/passwd
-rw-r--r-- 1 root root 646 Jan 9 21:06 /etc/group*

The following is the log message in /var/log/secure whenever I do this
operation.

*Jan 10 16:31:15 rhel-test su: pam_keyinit(su-l:session): Unable to change
GID to 0 temporarily
Jan 10 16:31:15 rhel-test su: pam_keyinit(su-l:session): Unable to change
GID to 0 temporarily
Jan 10 16:31:15 rhel-test su: pam_unix(su-l:session): session opened for
user root by kurian(uid=500)
Jan 10 16:31:15 rhel-test su: pam_unix(su-l:session): session closed for
user root*

I am able to login to the server directly as root. Do suggest some tips to
resolve this issue. Thanks in advance.

Regards,

Kurian Mathew Thayil.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 01-10-2009, 09:41 AM
"Aaron Bliss"
 
Default cannot set groups - Error

Kurian,
Is the suid bit set on the su binary?

Aaron

-----Original Message-----
From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com]
On Behalf Of Kurian Thayil
Sent: Saturday, January 10, 2009 12:35 AM
To: redhat-list@redhat.com
Subject: cannot set groups - Error

Hi All,

One of the RHEL 5.1 servers that I have installed is giving me the error
*"su:
cannot set groups: Operation not permitted"* whenever I try doing *su -* as
an ordinary user. /etc/passwd and /etc/group is world readable and owner and
group is root.

*[kurian@rhel-test ~]$ ls -l /etc/passwd;ls -l /etc/group
-rw-r--r-- 1 root root 1656 Jan 9 21:06 /etc/passwd
-rw-r--r-- 1 root root 646 Jan 9 21:06 /etc/group*

The following is the log message in /var/log/secure whenever I do this
operation.

*Jan 10 16:31:15 rhel-test su: pam_keyinit(su-l:session): Unable to change
GID to 0 temporarily
Jan 10 16:31:15 rhel-test su: pam_keyinit(su-l:session): Unable to change
GID to 0 temporarily
Jan 10 16:31:15 rhel-test su: pam_unix(su-l:session): session opened for
user root by kurian(uid=500)
Jan 10 16:31:15 rhel-test su: pam_unix(su-l:session): session closed for
user root*

I am able to login to the server directly as root. Do suggest some tips to
resolve this issue. Thanks in advance.

Regards,

Kurian Mathew Thayil.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 01-11-2009, 10:26 PM
Kurian Thayil
 
Default cannot set groups - Error

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Aaron,

My apologies for the very late reply. Your suggestion worked. It worked
when suid bit was set for su. Thanks for all your help and quick response.

Regards,

Kurian Mathew Thayil.

Aaron Bliss wrote:
> Kurian,
> Is the suid bit set on the su binary?
>
> Aaron
>
> -----Original Message-----
> From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com]
> On Behalf Of Kurian Thayil
> Sent: Saturday, January 10, 2009 12:35 AM
> To: redhat-list@redhat.com
> Subject: cannot set groups - Error
>
> Hi All,
>
> One of the RHEL 5.1 servers that I have installed is giving me the error
> *"su:
> cannot set groups: Operation not permitted"* whenever I try doing *su -* as
> an ordinary user. /etc/passwd and /etc/group is world readable and owner and
> group is root.
>
> *[kurian@rhel-test ~]$ ls -l /etc/passwd;ls -l /etc/group
> -rw-r--r-- 1 root root 1656 Jan 9 21:06 /etc/passwd
> -rw-r--r-- 1 root root 646 Jan 9 21:06 /etc/group*
>
> The following is the log message in /var/log/secure whenever I do this
> operation.
>
> *Jan 10 16:31:15 rhel-test su: pam_keyinit(su-l:session): Unable to change
> GID to 0 temporarily
> Jan 10 16:31:15 rhel-test su: pam_keyinit(su-l:session): Unable to change
> GID to 0 temporarily
> Jan 10 16:31:15 rhel-test su: pam_unix(su-l:session): session opened for
> user root by kurian(uid=500)
> Jan 10 16:31:15 rhel-test su: pam_unix(su-l:session): session closed for
> user root*
>
> I am able to login to the server directly as root. Do suggest some tips to
> resolve this issue. Thanks in advance.
>
> Regards,
>
> Kurian Mathew Thayil.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJaoAulAZU425rdoERArKVAKC1R8s4G7Aumk7mWoW0hD PQawvfVQCeK76H
uUmtSSyjICZ6P7HfbLgiZBc=
=Yktm
-----END PGP SIGNATURE-----

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 03:02 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org