running who command = no users! (+ bonus problem)

running who command = no users! (+ bonus problem)

Post by Leroy Banac » Fri, 13 Aug 1999 04:00:00



Here is a bit of background:

I'm running Red Hat flavored linux (kernel version 2.0.36).
My linux box sits in my laundry room and acts a file, ftp and http server.
Also, I use it for text processing (LaTex, perl, sed, awk, vi, etc..).  Its
connected to the 'net via a cable modem connected to a five port hub.  It
has its own static IP address.  Generally, no monitor is attached ...  all
work is done though telnet.

Ok, here's the funny thing.  Below is a "cut and paste" of a session I had
the other day ....

who gave NO users!

 10:56pm  up 47 days,  6:04,  0 users,  load average: 0.02, 0.02, 0.00

also, uptime gave 0 users!  (I assume both commands get the user info from
the same file)

Is this a known bug?  Do I have a configuration problem?  I'm really just
curious; usually this command works fine.

And, while I have the ears of some linux gurus :)  , here is the bonus
problem ... I've also have seemed to lost my motd.  The file is still there;
however, when I log in the message is no longer displayed (It worked for a
couple of days, then stopped!)  This is not critical, expect for the fact
that I spent some time creating some small ascii art that no one will see!
(well, my box only has four users, but still ...)  What other files (beside
individual users login scripts) will control the displaying of the motd.

*********************************************************************
Leroy Banack, Hydrogeologist            EBA Engineering Consultants Ltd.
Suite 550, Sun Life Plaza, 1100 Melville Street, Vancouver, B.C. V6E 4A6

Please remove <nospam> to email me.

 
 
 

running who command = no users! (+ bonus problem)

Post by Leroy Banac » Fri, 13 Aug 1999 04:00:00


Here is a bit of background:

I'm running Red Hat flavored linux (kernel version 2.0.36).
My linux box sits in my laundry room and acts a file, ftp and http server.
Also, I use it for text processing (LaTex, perl, sed, awk, vi, etc..).  Its
connected to the 'net via a cable modem connected to a five port hub.  It
has its own static IP address.  Generally, no monitor is attached ...  all
work is done though telnet.

Ok, here's the funny thing.  Below is a "cut and paste" of a session I had
the other day ....

who gave NO users!

 10:56pm  up 47 days,  6:04,  0 users,  load average: 0.02, 0.02, 0.00

also, uptime gave 0 users!  (I assume both commands get the user info from
the same file)

Is this a known bug?  Do I have a configuration problem?  I'm really just
curious; usually this command works fine.

And, while I have the ears of some linux gurus :)  , here is the bonus
problem ... I've also have seemed to lost my motd.  The file is still there;
however, when I log in the message is no longer displayed (It worked for a
couple of days, then stopped!)  This is not critical, expect for the fact
that I spent some time creating some small ascii art that no one will see!
(well, my box only has four users, but still ...)  What other files (beside
individual users login scripts) will control the displaying of the motd.

*********************************************************************
Leroy Banack, Hydrogeologist            EBA Engineering Consultants Ltd.
Suite 550, Sun Life Plaza, 1100 Melville Street, Vancouver, B.C. V6E 4A6

Please remove <nospam> to email me.

 
 
 

1. Problems running SSI system commands from 'user' directories

hi-

 Using:

SERVER_SOFTWARE=Apache/1.3.22 (Unix) (Red-Hat/Linux)
                mod_ssl/2.8.5 OpenSSL/0.9.6b DAV/1.0.2
                PHP/4.0.6 mod_perl/1.24_01

 I have Server Side Includes running fine from the 'root' /var/www/html
directories, but seem to have problems when run from user account
'/home/*/public_html' dirs.

 Running a command in the current directory works fine:

   <!--#exec cmd="./command" -->

 But running a command from a specific path does not:

   <!--#exec cmd="ls" -->    or
   <!--#exec cmd="/bin/ls" -->

 The above do nothing at all.

 is there a subtle, config option that I'm missing here ??

 Thanks-

ron

2. UUCP/telnet question

3. 12/2000 bonus CD and SYSV commands

4. Sound problem with Mandrake 7.2

5. running commands as other users from root account

6. Greater 256MB RAM on Blue G3

7. Letting user run a command as root...

8. mailtool and mime problem

9. Get rc.local to run command as different user?

10. Running commands from rc script as user other than root.

11. Running commands as a different user

12. Utility to allow users to run commands as root?

13. How do you make commands in ip-up.local run under different users?