Restricted Shell woes

2002-12-07 Thread Hella
What happened to the old fashioned rbash and rksh? I need to set some user login shells to a restricted shell, (which restricted shell I do not care) The current version of bash supports restricted mode but it is does not work properly, for one, the '-r' option will not work as a login shell i

Re: i'm new. anyone recommend P4 computer for linux?

2002-11-08 Thread Hella
Well, the components would be what you need to worry about: 1) Check video compatibility (most well known vender are supported) 2) If using a modem or non-standard netowrk adaptor, check for support 3) Check the support for your sound card 4) If using firewire, check support for your card Otherw

Re: Why are IDE drives so much slower in Linux?

2002-11-06 Thread Hella
A couple of things, I always try and place swap on a dedicated disk or a disk containing rarely used filesystems. Placing swap on the same disk as /var or any other logging locations is not a good idea. If you must cram everything on one disk, put swap on first, which will place the data close

Re: Bash Script Question

2002-11-06 Thread Hella
You want to use sed and awk for a truly robust solution. If you need further help, I can dig up examples of doing this. Generally, when I need to do text processing, I turn to perl. However, this can be done in bash, but larger tasks will get ugly in bash. -Chuck John H Darrah wrote: On Mon,

Re: NIS troubles

2002-11-06 Thread Hella
Did you make the appropriate changes to /etc/nsswitch.conf? At a minimum you will need this: passwd: files nis shadow: files nis group: files nis Red Hat comes default with nisplus configured (why I have no earthly idea) The easiest thing to do is make a backup copy and search and

Re: Shell Script Question || Check for set variable

2002-11-06 Thread Hella
There are several options but this one will work (Assuming bash or sh): if [ "$2" == "" ]; then Also, here is a very handy guide I use for those quick lookups when you get rusty. It is avail. in PDF and HTML. http://personal.riverusers.com/~thegrendel/abs-guide-1.6.tar.bz2 -Chuck MET wrote

Re: Why alway start to Xwindows even change the inittab ?

2002-11-06 Thread Hella
That should do it, with a reboot of course. Otherwise, look for links in /etc/rc[0-6].d for anything starting up gdm or kdm. -Chuck Kevin Chan wrote: > Dear all, > > I was change the /etc/inittab setting from id :5 to id:3 as below: > > id:3:initdefault: > and > x:3:respawn:/etc/X11/prefdm -n

Re: Minimum password length

2002-11-06 Thread Hella
This is configured in /etc/login.defs I am not usre what needs to be done, if anything, after this file is modified. -Chuck Rune Berge wrote: How do i change the minimum password length? I would like users to be able to have passwords with as few as 4 characters, but currently the minimum see

Re: Unable to ssh to redhat 7.3 server... strange

2002-11-05 Thread Hella
It is not an ssh problem as ssh seems to be doing it's job, once it get's to the point where it provides a login shell, it has already done everything it does. Do you see the motd of a new mail message before you are disconnected? At a minimum, the user's home directory must be owner executabl

Re: Mail Server for home network

2002-11-05 Thread Hella
Do you have a static IP with your dial-up connection? You need a static so that you can point the MX record for your domain to your Linux box. (unless you are queing the mail somewhere else and sucking it downstream) Once past this hurdle, it is pretty straight forward: Configure your MTA to a

Re: How to ban someone from running a program

2002-11-02 Thread Hella
In my experience these process accounting and quota systems are extremely cludgy and create a very large overhead for the administrators and are generally not worth the effort. I would suggest a wrapper script or even a simple company policy detailing what hours certain programs can be run, or

Re: Port scan question

2002-11-01 Thread Hella
linux power wrote: Why are more ports open when I scan the ports as root rather than as user? This is interesting, I am not sure. I tested this on my RH 8 machine and could not duplicate your results. My first guess was that a non-root user would not see the listening sockets on ports less th