Add /bin/false to the /etc/shells file and use that instead of /dev/null.
Thats what I do.
Chris
> /dev/null is there - /bin/false is not. I had tried the /sbin/nologin,
> but my users couldn't connect with it set to that.
>
> Eric Wood wrote:
>
>> Make sure /dev/nu
> After upgrading to 8.0, I get an error message telling me that /dev/null
> is not executable when I try to enter that with a chsh command. We use
Could you do the following and reply with the output file
(chsh_strace.txt)?
$ strace -o chsh_strace.txt chsh
It will tell us some
/dev/null is there - /bin/false is not. I had tried the /sbin/nologin,
but my users couldn't connect with it set to that.
Eric Wood wrote:
Make sure /dev/null and/or /bin/false is in your /etc/shells file
upgrade probably removed it
-eric
Make sure /dev/null and/or /bin/false is in your /etc/shells file
upgrade probably removed it
-eric wood
Dana Holland wrote:
> After upgrading to 8.0, I get an error message telling me that
> /dev/null is not executable when I try to enter that with a chsh
> command. We use
Around Mon,Sep 15 2003, at 02:36, Dana Holland, wrote:
>After upgrading to 8.0, I get an error message telling me that /dev/null
>is not executable when I try to enter that with a chsh command. We use
>this when setting up ftp accounts for access to our web server. I can
>still
After upgrading to 8.0, I get an error message telling me that /dev/null
is not executable when I try to enter that with a chsh command. We use
this when setting up ftp accounts for access to our web server. I can
still go into /etc/passwd and manually enter that - and it works. So,
if
Dear all,
Haruo> When I installed Red Hat ES 2.1(kernel 2.4.9-e.12) for my PC,
Haruo> the issue of NULL pointer dereference in
Haruo> ide_revalidate_disk() occurred.
Haruo> If it understands about the root cause of this issue,
Haruo> Please let me know your idea.
I found the
Dear all,
When I installed Red Hat ES 2.1(kernel 2.4.9-e.12) for my PC,
the issue of NULL pointer dereference in ide_revalidate_disk() occurred.
If it understands about the root cause of this issue,
Please let me know your idea.
if (DRIVER(drive)->revalidate) <==
From: "Tom Bentley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: FTP to NT system appends two null bytes SOLVED
Date: Monday, November 25, 2002 12:12 PM
Thanks to everyone for their input--this has been solved. Frequent mention
of "ascii" and "b
> jesse jacobs said:
>
>
>> I've read that ncftp is a broken client not properly shutting down the
>> connection after "exit". I personally haven't noticed anything (as
>> this has been my fav client for a few yrs.) but my ftp will logout u
>> out after 5 min of inactivity.
>
> I can't speak to y
jesse jacobs said:
> I've read that ncftp is a broken client not properly shutting down the
> connection after "exit". I personally haven't noticed anything (as this
> has been my fav client for a few yrs.) but my ftp will logout u out after
> 5 min of inactivity.
I can't speak to your first po
> Tom Bentley said:
>> Hello,
>>
>> I've got a wierd situation with ftp. When transferring files to an NT
>> server, two bytes get appended to the end of the file. These two
>> bytes are empty (00 value). Ftp reports a number of bytes sent two
>> bytes larger that the original file, and the rec
Tom Bentley said:
> Hello,
>
> I've got a wierd situation with ftp. When transferring files to an NT
> server, two bytes get appended to the end of the file. These two bytes
> are empty (00 value). Ftp reports a number of bytes sent two bytes larger
> that the original file, and the received fil
Hello,
I've got a wierd situation with ftp. When transferring files to an NT
server, two bytes get appended to the end of the file. These two bytes are
empty (00 value). Ftp reports a number of bytes sent two bytes larger that
the original file, and the received file is actually 2 bytes larger
I had everything installed and working for days, until the laptop went
to "sleep" once and when it woke up the screen was all messed up, so I
shut it down. Now it freezes on booting after the following:
Starting pcmcia: Yenta IRQ list 06b8, PCI irq11
Socket status: 3006
Yenta IRQ list 06b8,
Try limbo-list or null-list...either one @redhat.com
On Tue, 24 Sep 2002, Oliver Aaltonen wrote:
> I had everything installed and working for days, until the laptop went
> to "sleep" once and when it woke up the screen was all messed up, so I
> shut it down. Now it freezes o
I had everything installed and working for days, until the laptop went
to "sleep" once and when it woke up the screen was all messed up, so I
shut it down. Now it freezes on booting after the following:
Starting pcmcia: Yenta IRQ list 06b8, PCI irq11
Socket status: 3006
Yenta IRQ list 06b8,
..disappointing
Shaun
-Original Message-
From: Furnish, Trever G [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 23, 2002 11:41 AM
To: '[EMAIL PROTECTED]'
Subject: RE: NULL
Hmmm... I thought the correct answer was always "when it's ready". Now
they ha
Carter, Shaun G [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 23, 2002 9:39 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: NULL
> >
> >
> > (null) was released quite a while ago. (null) is the current beta for
> > redhat and is coming
http://www.amazon.com/exec/obidos/ASIN/B6LS9B/002-8821272-0052817
On Mon, 2002-09-23 at 08:40, Furnish, Trever G wrote:
> Hmmm... I thought the correct answer was always "when it's ready". Now
> they have pre-announced shipping dates for products still in beta? Seems
> ... disappointing.
er 23, 2002 9:39 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: NULL
>
>
> (null) was released quite a while ago. (null) is the current beta for
> redhat and is coming to a close now, I can only surmise you
> mean "when is
> Redhat 8.0 planned for release".
(null) was released quite a while ago. (null) is the current beta for
redhat and is coming to a close now, I can only surmise you mean "when is
Redhat 8.0 planned for release". For that info, look here
http://www.amazon.com/exec/obidos/tg/detail/-/B6LS9B
http://www.amazon.com/e
When the release of Redhat null is planned?
Thanks
No you should be asking in the limbo list.
On Mon, 2002-08-26 at 17:38, Hesty P wrote:
> Hello all,
>
> I'm wondering whether this is the correct channel to
> get help/complain about the current Null beta. I've
> run into several problems since installing Null such
Hello all,
I'm wondering whether this is the correct channel to
get help/complain about the current Null beta. I've
run into several problems since installing Null such
as /dev/dsp being busy sometimes (when running
mplayer), up2date stalling when there is no package to
install, etc
On Mon, Aug 19, 2002 at 04:32:30PM -0600, Ashley M. Kirchner wrote:
> Bill Nottingham wrote:
>
> > The (null) beta of Red Hat Linux has been updated. New in this release include:
>
> Since we got this message twice now, there has to be a version called (null),
> no?
Bill Nottingham wrote:
> The (null) beta of Red Hat Linux has been updated. New in this release include:
Since we got this message twice now, there has to be a version called (null),
no?
--
W | I haven't lost my mind; it's backed up on t
The (null) beta of Red Hat Linux has been updated. New in this release include:
- gcc-3.2 - gcc-3.2 allows for better ABI compatibility going forward.
Note that C++ apps compiled on the first beta will not run on this beta.
- lots-o-bugfixes
Please report issues via Bugzilla at http
I'm writing a serial application that connects to
another one through a null-modem cable. I want to run
both on the same system while I'm developing it, but
don't want to have to tie up my serial ports with a
null-modem cable. Is there any kind of tty-like device
under Linux
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 13-Aug-2002/17:10 +0200, cana rich <[EMAIL PROTECTED]> wrote:
>
>Hello,
> I've writen a script like this :
>#!/usr/bsh
>file='ls -1 /home/directory/*'
>echo $file
Try this:
file=`ls -1 /home/directory`
>Meanwhile, when there is nothing in
6:10
PM
Subject: HowTo : skip a null ls and not
be blocked
Hello,
I've writen a script
like this :
#!/usr/bsh
file='ls -1
/home/directory/*'
echo $file
Meanwhile, when there is nothing in this
directory, the script is blocked. I'v
ied to put :
>
> file='ls -1 /home/directory/*' >> /dev/null
>
> but it doesn't work.
>
> Can you help me please?
If there is nothing in the directory, then $file=="".
Use an if statement to see if there is something in the
Hello,
I've writen a script like this :
#!/usr/bsh
file='ls -1 /home/directory/*'
echo $file
Meanwhile, when there is nothing in this directory, the script is blocked. I've tried to put :
file='ls -1 /home/directory/*' >> /dev/null
but it doesn
On Sat, 8 Jun 2002, Jason Costomiris wrote:
> On Thu, Jun 06, 2002 at 05:04:57PM -0700, The Gyzmo wrote:
> : Why do you have to put '2>&1' after '/dev/null' when
> : piping something to /dev/null, like this:?
> :
> : [command] > /dev/null 2>&
On Thu, Jun 06, 2002 at 05:04:57PM -0700, The Gyzmo wrote:
: Why do you have to put '2>&1' after '/dev/null' when
: piping something to /dev/null, like this:?
:
: [command] > /dev/null 2>&1
You've got it backwards.
[command] 2>&1 > /dev/
Thanks all, I understand now.
--- Javier Gostling <[EMAIL PROTECTED]> wrote:
> On Thu, 2002-06-06 at 20:04, The Gyzmo wrote:
> > Why do you have to put '2>&1' after '/dev/null'
> when
> > piping something to /dev/null, like this:?
> &
02 2:33 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Serial console login / null modem?
On 2002.06.06 11:33 "Furnish, Trever G" wrote:
> I'm trying to get a working login on my serial port and I'm running into
> a
> problem that I initially thought was becaus
On 2002.06.06 11:33 "Furnish, Trever G" wrote:
> I'm trying to get a working login on my serial port and I'm running into
> a
> problem that I initially thought was because of a mis-wired null-modem,
> but
> now I think it's because of something I'
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Serial console login / null modem?
On Thu, 2002-06-06 at 12:33, Furnish, Trever G wrote:
> I'm trying to get a working login on my serial port and I'm running into a
> problem that I initially thought was because of a mis-wir
On Thu, 2002-06-06 at 12:33, Furnish, Trever G wrote:
> I'm trying to get a working login on my serial port and I'm running into a
> problem that I initially thought was because of a mis-wired null-modem, but
> now I think it's because of something I've missed in m
> > I'm using a redhat 7.2 system as the server, with /dev/ttyS0. I haven't
> > changed any devices or other setups - this is just minicom on the server
> > side talking to hyperterminal on the client side. Minicom can send text to
> > hyperterminal but hypertrm can't send back. The settings a
:
> I'm trying to get a working login on my serial port and I'm running into a
> problem that I initially thought was because of a mis-wired null-modem, but
> now I think it's because of something I've missed in my linux configuration.
> Help???
>
> I've t
On Thu, 2002-06-06 at 20:04, The Gyzmo wrote:
> Why do you have to put '2>&1' after '/dev/null' when
> piping something to /dev/null, like this:?
>
> [command] > /dev/null 2>&1
The "> /dev/null" redirects file descriptor 1 (stdout)
The Gyzmo <[EMAIL PROTECTED]> writes:
> Why do you have to put '2>&1' after '/dev/null' when
> piping something to /dev/null, like this:?
>
> [command] > /dev/null 2>&1
You only need that to capture any output on file descriptor 2 (std
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 06-Jun-2002/17:04 -0700, The Gyzmo <[EMAIL PROTECTED]> wrote:
>Why do you have to put '2>&1' after '/dev/null' when
>piping something to /dev/null, like this:?
>
>[command] > /dev/null 2>&am
This redirects stderr as well.
> redirects standard output. However, this is only file descriptor 1.
File descriptor 2, standard error, is still going to your screen. So, you
could do this:
[command] >/dev/null 2>/dev/null
However, to save typing, people put 2>&1, because th
Why do you have to put '2>&1' after '/dev/null' when
piping something to /dev/null, like this:?
[command] > /dev/null 2>&1
=
+--+
|This message is from Serban Giuroiu,
I'm trying to get a working login on my serial port and I'm running into a
problem that I initially thought was because of a mis-wired null-modem, but
now I think it's because of something I've missed in my linux configuration.
Help???
I've tried a commercially made
ource
[EMAIL PROTECTED]
On Mon, 11 Sep 2000, Dan Browning wrote:
> OK, I've got a command (or two) that will remove all NOT NULL strings from a
> given file.
>
> cat filename | perl -pi -e "s/NOT NULL//g" > filename
>
> But how do I run that command o
On Thu, Sep 21, 2000 at 03:37:43PM +1100, Cameron Simpson wrote:
> On Wed, Sep 20, 2000 at 06:36:52PM +0100, Thomas Ribbrock wrote:
> | Or shorter:
> | sed -n 's/NOT NULL//g' infile > outfile
[...]
> Indeed, but drop the -n.
DUH! s/-n/-e/ :-}
(though you really only ne
On Wed, Sep 20, 2000 at 06:36:52PM +0100, Thomas Ribbrock wrote:
| On Mon, Sep 11, 2000 at 07:28:46AM -0700, Rick Warner wrote:
| > Use sed, e.g.,
| > cat infile | sed -n 's/NOT NULL//g' > outfile
| Or shorter:
| sed -n 's/NOT NULL//g' infile > outfile
| No cat
On Mon, Sep 11, 2000 at 07:28:46AM -0700, Rick Warner wrote:
>
>
> Use sed, e.g.,
>
>
> cat infile | sed -n 's/NOT NULL//g' > outfile
Or shorter:
sed -n 's/NOT NULL//g' infile > outfile
No cat needed.
Cheerio,
Thomas
--
"
On Wed, 13 Sep 2000, Charles Galpin wrote:
> Do you want to remove the entire line if they *begin with those
> characters? If so, creating the following file, making it executable and
> running it will do this.
>
> #!/usr/local/bin/perl -ni
> # convert.pl
> # usage: ./convert.pl file1 file2 file
On Wed, 13 Sep 2000, Chris S wrote:
> what if i have other strings in a file other than "NOT NULL" that i want to
> get rid of? can i still get away with one command or do i have to use a
> separate command for each string?
> in my file i want to get rid of al
n a file other than "NOT NULL" that i want to
> get rid of? can i still get away with one command or do i have to use a
> separate command for each string?
> in my file i want to get rid of all lines beginning with:
> ;
> blank space
> .com
> .ROOT-
> .GTLD-
&
what if i have other strings in a file other than "NOT NULL" that i want to
get rid of? can i still get away with one command or do i have to use a
separate command for each string?
in my file i want to get rid of all lines beginning with:
;
blank space
.com
.ROOT-
.GTLD-
than
On Mon, 11 Sep 2000, Dan Browning wrote:
> cat filename | perl -pi -e "s/NOT NULL//g" > filename
>
> But how do I run that command on every file in a directory, successively?
perl -i -pe 's/NOT NULL//g' *
The -i is doing the replacement in place so
The easiest thing is probably to use vi. Then write
:s/"NOT NULL"/""/gc
the `g' will do each occurence, and the `c' will ask
for confirmation. Once you are sure everything will
be fine, let it do `all'.
Otherwise, you can use `sed', but that
Try this:
find /path/to/files -type f -exec perl -pi -e "s/NOT NULL//g" {} \;
Check the find(1) manpage for an explanation of the -exec directive.
HTH,
-m
On Mon, Sep 11, 2000 at 08:02:17PM -0400, rpjday wrote:
> On Mon, 11 Sep 2000, Dan Browning wrote:
>
> > OK, I
On Mon, 11 Sep 2000, Dan Browning wrote:
> OK, I've got a command (or two) that will remove all NOT NULL strings from a
> given file.
>
> cat filename | perl -pi -e "s/NOT NULL//g" > filename
>
> But how do I run that command on every file in a di
OK, I've got a command (or two) that will remove all NOT NULL strings from a
given file.
cat filename | perl -pi -e "s/NOT NULL//g" > filename
But how do I run that command on every file in a directory, successively?
(In case you're wondering, I'm workin
Use sed, e.g.,
cat infile | sed -n 's/NOT NULL//g' > outfile
On Mon, 11 Sep 2000, Dan Browning wrote:
> what command do I use to substitute all occurences of a certain string (say,
> "NOT NULL") with another arbitrary string, (e.g. "")? I've
> what command do I use to substitute all occurences of a certain string (say,
> "NOT NULL") with another arbitrary string, (e.g. "")? I've tried grep and
> tr, but can't figure it out.
Give this one a try:
ca
On Mon, 11 Sep 2000, Dan Browning wrote:
> what command do I use to substitute all occurences of a certain string (say,
> "NOT NULL") with another arbitrary string, (e.g. "")? I've tried grep and
> tr, but can't figure it out.
perl -pi -e "s/NOT NUL
what command do I use to substitute all occurences of a certain string (say,
"NOT NULL") with another arbitrary string, (e.g. "")? I've tried grep and
tr, but can't figure it out.
Thanks,
Dan Browning
Network & Database Admi
-Original Message-
From: Pete Lancashire <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Saturday, September 02, 2000 9:06 PM
Subject: dummy or /dev/null printer for lpr
>I tried to create a dummy printer.
>
>I used printtool and made the device
I tried to create a dummy printer.
I used printtool and made the device /dev/null
After creating the printer, lpr replies that it can
not communicate with the device, any comments
on what I am doing wrong ?
Error message (from lpc)
lp2:
cannot open lock file
lp2:
lpc: connect
I'm
> > looking for, but didn't find it. Anyway, here is it.
> >
> >
> > -rw-r--r-- 1 root system 0 Apr 13 13:55 /dev/nul
> > crw-rw-rw- 1 root system 2, 2 Aug 09 22:04 /dev/null
> > crw-rw-rw- 1 root system13, 27 Dec 1
This is a special device file, called a device node. The 'c' indicates that
it's a character type device (in this case, writing characters to /dev/null
makes them disappear forever, reading from /dev/null only returns End Of
File). There are also 'b' block type devices,
Apr 13 13:55 /dev/nul
>crw-rw-rw- 1 root system 2, 2 Aug 09 22:04 /dev/null
>crw-rw-rw- 1 root system13, 27 Dec 11 1999 /dev/nuls
>crw-rT 1 root system 3, 0 Dec 11 1999 /dev/nvram
>^
>|
>|
>| What is that c for? What does it do? Does it
crw-rw-rw- 1 root system 2, 2 Aug 09 22:04 /dev/null
crw-rw-rw- 1 root system13, 27 Dec 11 1999 /dev/nuls
crw-rT 1 root system 3, 0 Dec 11 1999 /dev/nvram
^
|
|
| What is that c for? What does it do? Does it keep anything from being
written to these f
the day recommendations to
someone now gone for one year. But those I can deal with due to their low
volume.
Maybe I will un-'dev/null' the account and let the list-gods sort it out.
--
Ed Marczak
[EMAIL PROTECTED]
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.
nwell Globalnet
www.bonwell.com
-Original Message-
From: John J. Donohue <[EMAIL PROTECTED]>
To: Edward Marczak <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, June 12, 2000 1:23 PM
Subject: Re: Forwarding mail to /dev/null?
>On Mon, 12 Jun
On Mon, 12 Jun 2000, Edward Marczak wrote:
> > IS there a way to get Sendmail to forward mail for certain
> > email addresses to /dev/null?
>
> "Fred" used to work at my company. He subscribed to many a mailing list.
> He didn't unsub when he left. My many
9/6/00 4:09 PM, John Aldrich a écrit:
> IS there a way to get Sendmail to forward mail for certain
> email addresses to /dev/null?
"Fred" used to work at my company. He subscribed to many a mailing list.
He didn't unsub when he left. My many attempts to email list adm
At 16:09 2000-06-09 -0400, John Aldrich wrote:
>IS there a way to get Sendmail to forward mail for certain
>email addresses to /dev/null?
The way to do this is with a global procmail recipe (/etc/procmailrc) that
looks like this:
:0
* From:.*[EMAIL PROTECTED]
/dev/null
Tony
--
Ant
IS there a way to get Sendmail to forward mail for certain
email addresses to /dev/null? I tried telling Sendmail to
pipe mail for [EMAIL PROTECTED] to /dev/null in both virtual user
table and in /etc/aliases, but when I tried to send myself
a test message, Sendmail refused.
I'd *like* to
77 matches
Mail list logo