LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: Geoffrey D. Bennett <g@netcraft.com.au>
To : luke <linuxsa@chipcity.com.au>
Date: Fri, 18 Jul 1997 18:59:23 +0930 (CST)
Re: logging on as me or root
> 1. Running Samba from my linux server, I've created a section in the
> smb.conf file:
> [lukesdir]
> comment = bla
> path = /
> valid users = luke
> public = no
> writable = yes
> printable = no
>
> When I try to log on from (dare I say it) a W95 machine, creating a mapped
> network drive from Windows Explorer, I type in my password *******, but it
> doesn't get me through.
Will it work if you take out the "valid users" line?
Anything relevant appear in the log files? It might be worthwhile
turning up the debug level.
> 2. Connecting from anywhere on the Internet to my own machine with telnet
> as root doesn't work.
> How do I do this? Anyone?
It's not meant to work. You are meant to log in as yourself, then
"su" to root. The reasoning behind this is that even if someone
discovers your root password they can't do anything unless they have
another account that they can log into first. Not that allowing
telnet access into your machine from anywhere on the Internet is a
good idea anyway (use ssh instead, get it from ftp.replay.com).
That said, if you *really* want to do it and you don't care about
security, then add ttyp0, ttyp1, ttyp2, etc to /etc/securetty. This
file contains the list of terminals on which root is allowed to login.
Regards,
--
Geoffrey D. Bennett (geoffrey@netcraft.com.au)
Computer Systems Manager, NetCraft Australia
http://www.netcraft.com.au/geoffrey/
Red Hat Linux Resellers: http://www.netcraft.com.au/redhat/
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page