On Wed, Sep 19, 2001 at 07:15:40AM +0530, Vinu Moses wrote:
> On Tuesday 18 September 2001 07:30 pm, USM Bish wrote:
> > AFAIK, the approach is through /etc/suauth file. This file
> > (/etc/suauth) is the one which governs the behaviour of
> > the su command. You need to put something like:
>
> I'm using RHL 7.1. The man/info pages for su don't mention any
> config file like /etc/suauth ... Could /etc/suauth be a BSD
> specific feature?
> --__--__--
---end quoted text---
Sorry for the late reply. Got lost in my mail heap. I am not so
sure if its BSD specific. May be. I specifically requested for
a crosscheck because I was not so sure ...
However, to test whether /etc/suauth would be supported in your
distro compilation of su command is to search for this string
within the binary:
strings /bin/su | grep "/etc/suauth" (as root)
If you find the string in the binary, definitely it is suppor-
ted. Whether there is a man page on it cannot be taken to be a
proof of non-support, because some distros withold some of the
man pages/ info pages.
This is a section of the man page on suauth in Slackware.
-------<snip>--------------
The file /etc/suauth is referenced whenever the su command
is called. It can change the behaviour of the su command,
based upon
1) the user su is targetting
2) the user executing the su command (or any groups
he might be a member of)
The file is formatted like this, with lines starting with
a # being treated as comment lines and ignored;
to-id:from-id:ACTION
-------</snip>--------------
It works like a charm on my box ....
Bish.
--
:
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : Personal preferences in bash LOST #102
By default bash reads .bash_profile, .profile or .login in the
home directory at login. However, for interactive shells which
are NOT login shells (e.g. xterm, rxvt), you may not get your
personal preferences, because the file read here is .bashrc.
For preferences to stay in "X": copy .bash_profile to .bashrc.
####<[EMAIL PROTECTED]>########################################
:
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help