Re: user login question (summary)

From: Gora Dasgupta (gora_dg@hotmail.com)
Date: Fri May 05 2006 - 00:24:06 EDT


Hi Jim,

Thankx a lot for your reply.. I got a very good explanation from Brad
Morrison, given below..

Yes. Root can still su, because su is different from sudo:
su is part of Solaris (and any UNIX system)
sudo is an open-source program that is usually used to let users run su, but
it can also be used to let users run any set of programs...Your reading of
the published sudo rule is correct: Only joe can invoke the su command by
using sudo. Anyone can run su at any time, but unless he or she knows the
password for the other account, it won't work. Sudo lets you run su (or any
other program) and asks for your password...Sudo has nothing to do with
/etc/default/login.

That is what I looking for...

Regards
Gora Dasgupta

>From: "Jim Langston" <JLANGSTON@mail.mcg.edu>
>To: "Gora Dasgupta" <gora_dg@hotmail.com>
>Subject: Re: user login question (summary)
>Date: Thu, 04 May 2006 06:21:53 -0400
>
>My set up only allows user joe to su into the user psoft.
>
>I also have an entry in my sudoers file for root:
>
>root ALL = (ALL) ALL
>
>so yes root can still su to any user. Hope this helps.
>
>Cheers,
>
>Jim
>
> >>> "Gora Dasgupta" <gora_dg@hotmail.com> 5/4/2006 2:50 AM >>>
>
>Hi Langston,
>
>I already go through your question and summary on sunmanagers site. I
>understand your question but not very clear with your summary. In my
>understanding your question is how a perticuler user like joe only
>change
>his effective user id (using su command). In your system already sudo
>is
>installed.
>
>And you create one Cmnd_List named PSOFT who execute the su command
>making
>the appropiate entry in sudoers file. you put joe in the PSOST group.
>
>As per your mail you put the entry in sudoers file below..
>
>Cmnd_Alias PSOFT=/usr/bin/su
>joe ALL=PSOFT
>
>That means only joe user can invoke the su command.
>
>Now can root user able to execute the su command? We are not editing
>any
>thing in /etc/default/login file and there is not below entry in
>sudoers
>file..
>
>root ALL = (ALL) ALL
>
>Hope you will help me in my learning experience.
>
>Regards
>Gora Dasgupta
>
>_________________________________________________________________
>Dont just search. Find. Check out the new MSN Search!
>http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>_______________________________________________
>sunmanagers mailing list
>sunmanagers@sunmanagers.org
>http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>

_________________________________________________________________
All that you wanted to know about Ms Beautiful Lips
http://server1.msn.co.in/Profile/katrina.asp
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:48 EDT