HOWTO Restart LPD
Hi,
When cups has been activated for printing, then on rebooting lpd is not started anymore.
How can I restart lpd from the command line instead of using printtool or printconf-tui? I can't find anything in man lpd.
Thanks & regards
Signature · 7 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
hiding my hostname
I want to find out how to hide my hostname or IP address,
from viewing by other people by using who, finger, or w,
while i was connected to a server via remote login (like ssh or telnet).
can anybody help me ?
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: hiding my hostname
Quoted 6 lines · Jesse Armand
I want to find out how to hide my hostname or IP address,
from viewing by other people by using who, finger, or w,
while i was connected to a server via remote login (like ssh or telnet).
If you connect to a remote server, by any means, there is no way to hide from that server the apparent IP address you are connecting from. That is, the remote server will either know the IP address of the host you are connecting from, or the host you are connecting through (in the sense of, say, a NAT'ing firewall or perhaps a proxy server of some sort). It has to know that or it cannot maintain the connection.
Technically, there is no way for the remote server to know your actual hostname, in the sense of whatever your host happens to have in the file /etc/hostname . But if it can do a reverse-lookup of your IP address, it can, and usually will, know a FQN associated with your host.
In principle, if you have root privileges on the remote server, you can modify the applications who, finger, and w, so they do not display the FQN or IP-address data. How to edit and recompile these apps is not really a beginner question, so I won't go into detail here (and anyway, I don't know the source for any of these apps well enough to answer at that level without doing some work). But there is nothing you can do on the host you are connecting *from* to accomplish what you want.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: hiding my hostname (2)
well.. I think there is a way,
why ?
because i've just seen it.
when i'm logging in to a server,
i saw a client that hiding his hostname,
and it's not about the server not knowing my ip address, it's about hiding my ip address from viewing by other users.
I know a server must know an ip address of the client that connects to it.
when i use 'w' or 'who' command
the hostname table shows empty content
USER TTY FROM LOGIN@ IDLE WHAT woho p1 - 10:09AM - - (pine)
can u explain that ?
btw by using .nofinger i can hide myself from
fingering,
that's one way,
so anybody knows how to hide my hostname from 'who' and 'w'
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: hiding my hostname (2)
That is caused by someone being logged in through the console.
-Chris W.
Quoted 27 lines · Jesse Armand
well.. I think there is a way,
why ?
because i've just seen it.
when i'm logging in to a server,
i saw a client that hiding his hostname,
and it's not about the server not knowing my ip address, it's about hiding my ip address from viewing by other users.
I know a server must know an ip address of the client that connects to it.when i use 'w' or 'who' command
the hostname table shows empty contentUSER TTY FROM LOGIN@ IDLE WHAT woho p1 - 10:09AM - - (pine)can u explain that ?
btw by using .nofinger i can hide myself from
fingering,
that's one way,so anybody knows how to hide my hostname from 'who' and 'w'
Quoted 11 lines
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: hiding my hostname (3)
OK..someone being logged in, i know that,
but how does he hide his hostname information ?
Quoted 43 lines
That is caused by someone being logged in through
the console.-Chris W.
Quoted 7 lines · Jesse Armand
well.. I think there is a way,
why ?
because i've just seen it.
when i'm logging in to a server,
i saw a client that hiding his hostname,
and it's not about the server not knowing my ip
address, it's about hiding my ip address fromviewing
Quoted 2 lines
by other users.
I know a server must know an ip address of theclient
Quoted 8 lines
that connects to it.
when i use 'w' or 'who' command
the hostname table shows empty contentUSER TTY FROM LOGIN@ IDLE WHAT woho p1 - 10:09AM - - (pine)Quoted 7 lines
can u explain that ?
btw by using .nofinger i can hide myself from
fingering,
that's one way,so anybody knows how to hide my hostname from
'who'
Quoted 9 lines
and 'w'
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
-
To unsubscribe from this list: send the line
Quoted 9 lines
"unsubscribe linux-newbie" in
Quoted 2 lines
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 1 line
Please read the FAQ at
http://www.linux-learn.org/faqs
Quoted 2 lines
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: hiding my hostname (3)
Quoted 2 lines · Jesse Armand
OK..someone being logged in, i know that,
but how does he hide his hostname information ?
There is no hostname to hide. His login is LOCAL to the host on which you are running w, not remote from a different host. That's what "through the console" means.
Quoted 28 lines
Quoted 28 lines
That is caused by someone being logged in through
the console.-Chris W.
Quoted 7 lines · Jesse Armand
well.. I think there is a way,
why ?
because i've just seen it.
when i'm logging in to a server,
i saw a client that hiding his hostname,
and it's not about the server not knowing my ip
address, it's about hiding my ip address fromviewing
Quoted 2 lines
by other users.
I know a server must know an ip address of theclient
Quoted 10 lines
that connects to it.
when i use 'w' or 'who' command
the hostname table shows empty contentUSER TTY FROM LOGIN@ IDLE WHAT woho p1 - 10:09AM - - (pine)can u explain that ?
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
btw by using .nofinger i can hide myself from
fingering,
that's one way,so anybody knows how to hide my hostname from
'who'
Quoted 1 line
and 'w'
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: hiding my hostname (3)
In reply to Jesse ArmandSince he is logged in from the console there is no host information displayed.
-Chris W.
Quoted 60 lines · Jesse Armand
OK..someone being logged in, i know that,
but how does he hide his hostname information ?Quoted 43 lines
That is caused by someone being logged in through
the console.-Chris W.
Quoted 7 lines · Jesse Armand
well.. I think there is a way,
why ?
because i've just seen it.
when i'm logging in to a server,
i saw a client that hiding his hostname,
and it's not about the server not knowing my ip
address, it's about hiding my ip address fromviewing
Quoted 2 lines
by other users.
I know a server must know an ip address of theclient
Quoted 8 lines
that connects to it.
when i use 'w' or 'who' command
the hostname table shows empty contentUSER TTY FROM LOGIN@ IDLE WHAT woho p1 - 10:09AM - - (pine)Quoted 7 lines
can u explain that ?
btw by using .nofinger i can hide myself from
fingering,
that's one way,so anybody knows how to hide my hostname from
'who'
Quoted 9 lines
and 'w'
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
-
To unsubscribe from this list: send the lineQuoted 9 lines
"unsubscribe linux-newbie" in
Quoted 2 lines
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 1 line
Please read the FAQ at
http://www.linux-learn.org/faqs
Quoted 2 lines
Quoted 11 lines
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: hiding my hostname (2)
In reply to Jesse ArmandJesse,
Quoted 5 lines
the hostname table shows empty content
USER TTY FROM LOGIN@ IDLE WHAT woho p1 - 10:09AM - - (pine)can u explain that ?
From what I've seen, that dash in the "From" column usually means a local
(to that machine) login...
Jame
--- BBBS/LiI v4.01 Flag-4
* Origin: http://bbs.rocasa.org (1:120/546)
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: hiding my hostname (3)
Let me tell u again..
it's not connecting from local machine
but it's connecting from remote machine..
i know that
at first it's not empty, it shows
bs165.tpb.itb.ac.id
after i 'w' again
the 'from' is empty, and i'm definitely sure, because i see the person connecting in remote machine. but...
he don't know why that happen.. quite weird he said that it was set by his friend
and anybody knows how to set it up ???
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: hiding my hostname
In reply to Jesse ArmandSorry you can't do it. The machine you are connecting to will ALWAYS know the machines ip address of the machine you are connecting from.
Quoted 8 lines · Jesse Armand
I want to find out how to hide my hostname or IP
address,
from viewing by other people by using who, finger, or
w, while i was connected to a server via remote login (like ssh or telnet).can anybody help me ?
Quoted 12 lines
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Under RH 9.0 and most recent versions of RedHat as well as Mandrake, just use the script in /etc/init.d
For example...
/etc/init.d/lpd restart
The other scripts in /etc/init.d are helpful for other services. Most of the scripts take as an argument on of the following: start, stop, restart, and status. These are very helpful at times. I'm sure there are some other options as well, but I've never used them.
J
Quoted 8 lines · Peter
Hi,
When cups has been activated for printing, then on rebooting lpd is not started anymore.How can I restart lpd from the command line instead of using printtool or printconf-tui? I can't find anything in man lpd.
Thanks & regards
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
<<< No Message Collected >>>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Thanks!
Quoted 3 lines · [email protected] said:
just use the script in
/etc/init.d
For example.../etc/init.d/lpdrestart
That's the script used on booting where I get: Starting lpd: No Printers Defined
Doing "/etc/init.d/lpd start" from the command line I therefore get the same:
No Printers Defined.
Ergo before starting lpd a printer has to be defined first.
Can that be done from the command line?
Quoted 7 lines · Peter
Hi,
When cups has been activated for printing, then on rebooting lpd is not started anymore.How can I restart lpd from the command line instead of using printtool or printconf-tui? I can't find anything in man lpd.
Signature · 7 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
If your using CUPS then the service is "cups".
"service cups restart" will restart it. or "service cups start" will just start it.
for cups to start up automagically run this command:
chkconfig --add cups
Quoted 27 lines · Peter
Thanks!
Quoted 3 lines · [email protected] said:
just use the script in
/etc/init.d
For example.../etc/init.d/lpdrestartThat's the script used on booting where I get: Starting lpd: No Printers Defined
Doing "
/etc/init.d/lpdstart" from the command line I therefore get the same: No Printers Defined. Ergo before starting lpd a printer has to be defined first.Can that be done from the command line?
Quoted 7 lines · Peter
Hi,
When cups has been activated for printing, then on rebooting lpd is not started anymore.How can I restart lpd from the command line instead of using printtool or printconf-tui? I can't find anything in man lpd.
Signature · 10 lines
Bryan Whitehead SysAdmin - JPL - Interferometry and Large Optical Systems Phone: 818 354 2903 [email protected] - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs