Mario,
I fear, I misunderstood your question (or you misunderstood my answer ;-) )
echo $SHLVL returns always 1 after a su - ..., but another value after a
su ... (without th dash). I thought, this was what you would like to see.
There are several mechanism, to distinguish between the primary
Ivan Warren wrote:
John Summerfield wrote:
In contrast, the tty command returns an actual device name when possible.
Talking about tty.. (labeit in a slightly different context for the word
'tty' !)
There is one big diff between a login a 'su -' :
You don't gain ownership of /dev/tty on
Hubert Kleinmanns wrote:
Mario,
I fear, I misunderstood your question (or you misunderstood my answer ;-) )
Marco didn't explain what problem he's trying to solve, so we all have
to guess.
echo $SHLVL returns always 1 after a su - ..., but another value after a su
... (without th dash). I
John Summerfield wrote:
I'm looking at CentOS5 on a PC. I'm running inside X (xorg). Oh, just in
case it matters, I'm running KDE. Who knows, it could be different in
GNOME.
08:42 [sum...@bobtail ~]$ \ls -l $(tty)
crw--- 1 summer tty 136, 17 Mar 4 20:24 /dev/pts/17
20:24 [sum...@bobtail
First of all thanks to the community for interest and several proposed
solutions.
The suggestion received from Hubert based on cmd 'logname' could be
an easy way to solve my problem.
For example in case I logged on with userid it32673 and I'm in 'su
-' , the contents of
Marco Bosisio wrote:
First of all thanks to the community for interest and several proposed
solutions.
The suggestion received from Hubert based on cmd 'logname' could be
an easy way to solve my problem.
22:51 [sum...@bobtail ~]$ logname
logname: no login name
22:51
Ivan Warren wrote:
John Summerfield wrote:
I'm looking at CentOS5 on a PC. I'm running inside X (xorg). Oh, just in
case it matters, I'm running KDE. Who knows, it could be different in
GNOME.
08:42 [sum...@bobtail ~]$ \ls -l $(tty)
crw--- 1 summer tty 136, 17 Mar 4 20:24 /dev/pts/17
echo $SHLVL returns always 1 after a su - ..., but another value
after a su ... (without th dash). I thought, this was what you would like
to see.
There are several mechanism, to distinguish between the primary login shell
and a su ... shell:
I for one don't see why that might
Hubert Kleinmanns wrote:
echo $SHLVL returns always 1 after a su - ..., but another value after a su
... (without th dash). I thought, this was what you would like to see.
There are several mechanism, to distinguish between the primary login shell and a
su ... shell:
I for one don't see why
Good Morning all,
We are trying to install and get working ypserv on zLinux for the first
time.
It seems that a post install scritp keeps failing with the install.
Does anyone have ypserv installed on a RedHat 4.6 s390x system?
Here is what we see;
rpm -Uih ypserv-2.13-19.s390x.rpm
Ayer, Paul W wrote:
service ypserv does not support chkconfig
chkconfig is the rubric for installing startup scripts in the init.d
hierarchy.
Apparently the post-install in the rpm failed to set up the services for
boot startup,
noticed it and threw an exit code.
Probably the tools are
11 matches
Mail list logo