Re: Debian for ISP

2004-11-16 Thread Stephen Gran
This one time, at band camp, Wouter Verhelst said:
> Op di, 16-11-2004 te 19:28 +0100, schreef David Schmitt:
> > On Tue, Nov 16, 2004 at 09:15:24AM -0700, Omar wrote:
> > > Also I want to ask if there is a way that I can check the user 
> > > Authentication? 
> > > Or get a list of users and their level? admin, regular user and so on.  I 
> > > believe
> > > that the previous admin used LDAP, is there a way I can look into the LDAP
> > > database and find out the users and their levels?
> > 
> > Try taking a look at getent. Calling "getent passwd" gives you a list of
> > system users.
> > 
> > For lowlevel access to the ldap slapcat is probably the easiest.
> 
> except that slapcat wants you to shut down the slapd for safe operation.
> You probably want ldapsearch instead.

It's not so much that you need to shut down slapd, as that you want to
make sure that slapd is not doing _write_ operations, or you'll get
inconsistent data.  Since the vast majority of LDAP operations are read
only, slapcat is generally fine.
-- 
 -
|   ,''`.Stephen Gran |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


pgpR2bKL24dzw.pgp
Description: PGP signature


Re: Debian for ISP

2004-11-16 Thread Wouter Verhelst
Op di, 16-11-2004 te 19:28 +0100, schreef David Schmitt:
> On Tue, Nov 16, 2004 at 09:15:24AM -0700, Omar wrote:
> > Also I want to ask if there is a way that I can check the user 
> > Authentication? 
> > Or get a list of users and their level? admin, regular user and so on.  I 
> > believe
> > that the previous admin used LDAP, is there a way I can look into the LDAP
> > database and find out the users and their levels?
> 
> Try taking a look at getent. Calling "getent passwd" gives you a list of
> system users.
> 
> For lowlevel access to the ldap slapcat is probably the easiest.

except that slapcat wants you to shut down the slapd for safe operation.
You probably want ldapsearch instead.

-- 
 EARTH
 smog  |   bricks
 AIR  --  mud  -- FIRE
soda water |   tequila
 WATER
 -- with thanks to fortune


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Debian for ISP

2004-11-16 Thread Darrel O'Pry
> -Original Message-
> From: Jacob S [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 16, 2004 11:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Debian for ISP
> 
> On Tue, 16 Nov 2004 09:15:24 -0700
> Omar <[EMAIL PROTECTED]> wrote:
> 
> > Hello all,
> >   I have just took over a network for an ISP that is running Debian, I
> >   am used to
> > using Cpanel/Whm and now I have to use the CLI.
> >
> > The ISP also provides Hosting services and it uses dbdns 1.03,
> > tinydns, xfrdns, I am having problems with tinydns, as I use the
> > add-ns and it worked for 4 domians, and then I can't add anymore?  Is
> > there another way around it?
> 
> 
> Try editing /service/tinydns/root/data with a text editor. It's not that
> hard to figure out:
> Lines starting with + is the equivalent of Bind's CNAME
> Lines starting with = are host declarations
> @ lines are for MXs
> ' for txt records
> . and & for dns records
> (More info available at http://cr.yp.to/djbdns.html)
> 
> After you're done editing the file, run 'make' from inside the
> /service/tinydns/root/ directory.
> 
> > Also I am thinking of installing webmin, so I can configure everything
> > over the web, if I do install it, will it recognize the current
> > system, and the current settings or will I have to take things in
> > manually.
> 
> I believe there's a webmin module for djbdns somewhere. A google search
> should be able to find it.
> 
> HTH,
> Jacob

check out http://www.vegadns.org/   for dns management with djbdns... 

Its does the job pretty well.

.darrel.

-- 
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.269 / Virus Database: 265.3.1 - Release Date: 11/15/2004
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian for ISP

2004-11-16 Thread David Schmitt
On Tue, Nov 16, 2004 at 09:15:24AM -0700, Omar wrote:
> Also I want to ask if there is a way that I can check the user 
> Authentication? 
> Or get a list of users and their level? admin, regular user and so on.  I 
> believe
> that the previous admin used LDAP, is there a way I can look into the LDAP
> database and find out the users and their levels?

Try taking a look at getent. Calling "getent passwd" gives you a list of
system users.

For lowlevel access to the ldap slapcat is probably the easiest.


Good luck, David
-- 
  * Customer: "My palmtop won't turn on."
  * Tech Support: "Did the battery run out, maybe?"
  * Customer: "No, it doesn't use batteries. It's Windows powered."
-- http://www.rinkworks.com/stupid/cs_power.shtml


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian for ISP

2004-11-16 Thread Jacob S
On Tue, 16 Nov 2004 09:15:24 -0700
Omar <[EMAIL PROTECTED]> wrote:

> Hello all,
>   I have just took over a network for an ISP that is running Debian, I
>   am used to
> using Cpanel/Whm and now I have to use the CLI.
> 
> The ISP also provides Hosting services and it uses dbdns 1.03,
> tinydns, xfrdns, I am having problems with tinydns, as I use the
> add-ns and it worked for 4 domians, and then I can't add anymore?  Is
> there another way around it?


Try editing /service/tinydns/root/data with a text editor. It's not that
hard to figure out:
Lines starting with + is the equivalent of Bind's CNAME
Lines starting with = are host declarations
@ lines are for MXs
' for txt records
. and & for dns records
(More info available at http://cr.yp.to/djbdns.html)

After you're done editing the file, run 'make' from inside the
/service/tinydns/root/ directory.

> Also I am thinking of installing webmin, so I can configure everything
> over the web, if I do install it, will it recognize the current
> system, and the current settings or will I have to take things in
> manually.

I believe there's a webmin module for djbdns somewhere. A google search
should be able to find it. 

HTH,
Jacob
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian for ISP

2004-11-16 Thread Gerhard Venter
Omar wrote:
Also I am thinking of installing webmin, so I can configure everything over the
web, if I do install it, will it recognize the current system, and the current
settings or will I have to take things in manually.
 


Not sure about the other questions, but Webmin will recognise your 
current configurations.  Be sure to install it the Debian way:
apt-get install webmin
(and the same for the modules you intend to use)

Gerhard
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]