Re: admin password?

2012-12-31 Thread Mika Suomalainen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 31.12.2012 00:32, Tom H wrote:
 On Sun, Dec 30, 2012 at 12:42 AM, Chris Bannister 
 cbannis...@slingshot.co.nz wrote:
 On Sun, Dec 30, 2012 at 06:51:38AM +0200, Dionyssis Goulimis
 wrote:
 
 I downloaded the last edition of Debian yesterday but I
 can't remember my Admin password, what is the best way to
 stop using an Admin password?
 
 You mean the root password. It might be quicker to reinstall,
 and don't forget it this time! :)
 You can use the grub command-line, the rescue feature of d-i, or a 
 live CD to reset a root password. No need to reinstall.

If the problem is that account root has password set, it's easy to fix.

Ensure that you have sudo and account with permission to use sudo and
then you can run

sudo passwd -ld root

l locks the account and d removes the password.

- -- 
Mika Suomalainen
http://mkaysi.github.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Homepage: http://mkaysi.github.com/
Comment: Public key: http://mkaysi.github.com/PGP/0x82A46728.txt
Comment: gpg --fetch-keys http://mkaysi.github.com/PGP/0x82A46728.txt
Comment: Fingerprint = 24BC 1573 B8EE D666 D10A  AA65 4DB5 3CFE 82A4 6728
Comment: I have personal problem with PGP/MIME...
Comment: ...so signature *IS* long. See http://git.io/6FLzWg
Comment: Please remove PGP lines in replies. http://git.io/nvHrDg
Comment: Charset of this message should be UTF-8.
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJQ4VgQAAoJEE21PP6CpGconUMP/RA0G7JmRM7blOkatzzhSrQJ
IZhhHriDTVTRRkK1QujOr4ELPu29pOcJTT98c1YZVGBDga0vLJhmV7DoFrMBDmKm
6eVN38ztJbfZv65rStPtlNGaJNfIGIE8DOsR7xXxKaWJPDotCwHu4aYs6YCKTVQh
ACS4C0n06fVu4ncN0aq1f11fhETmx7/WQPuqBKGJMXEyimZtcJCgFciPY885Tb5M
B3M5SPSVs9wqro9aEzX2BP79+Ck3Wr34X0SLljLPjNkbhQogawmQuNh2/cI7Cq+t
v5/LqaBOKssEe8Jzlpo0KeTCSe2sGUNkqGq4El8DzKopjPARxOoEyd6uUp9kEanG
cIwdY3rdNgu99qIdrosKLOsS1U5qfxHxh6SMerb9zBuk1CoUOreuvUrI7TR8o+K6
eS5oyMNb4gHgpd15Y8DCBrHnVRpe4YQyhI/Q3y3L4pProW38bB8djXbG9QLQwGEr
sbgVgTvT3cpfnVGHAAaX6UcdZlZt+NHUdwwSfzdh53GbbyUAHT1OM/6vhj6Ke3wC
92lUQ9hj7wXAevw+dV/8EMi2lZVsOzNxbB4c9OsoaL0UDN6Do3qQEI1kZ5W04rxU
ngFqrfnVVJLtXqsGGREq5lhto3gY/Eg0/Q3ZFB9sfqiY6I0FAGa2YZ8cuDPe9kH/
W3P+stdmf5T2Gj6hCJqo
=h535
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50e15813.4080...@outlook.com



Re: admin password?

2012-12-31 Thread Mika Suomalainen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 31.12.2012 06:03, Osamu Aoki wrote:
 If you did not lock system with grub password, you can always
 login as root without password.
 
 Google with grub init=/bin/bash mount you get many howtos 
 describing:
 
 Boot with
 
 init=/bin/bash
 
 or
 
 init=/bin/sh
 
 for GRUB.  Then at root prompt
 
 mount -o remount,rw /
 
 to reset with passwd.

I recommend booting with rw init=/bin/bash. The rw removes the
need to run mount -o remount,rw /.

I would also like to add running command sync after changing the
password with passwd to ensure that the change gets written to disk.


- -- 
Mika Suomalainen
http://mkaysi.github.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Homepage: http://mkaysi.github.com/
Comment: Public key: http://mkaysi.github.com/PGP/0x82A46728.txt
Comment: gpg --fetch-keys http://mkaysi.github.com/PGP/0x82A46728.txt
Comment: Fingerprint = 24BC 1573 B8EE D666 D10A  AA65 4DB5 3CFE 82A4 6728
Comment: I have personal problem with PGP/MIME...
Comment: ...so signature *IS* long. See http://git.io/6FLzWg
Comment: Please remove PGP lines in replies. http://git.io/nvHrDg
Comment: Charset of this message should be UTF-8.
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJQ4VuVAAoJEE21PP6CpGco2nUP/1Za3dkQ70XckVthpQ73UO06
Uo12ph/4+cCiPTwH5na2VmJj/AlFdKiwvKJWaKLfantZjVp+/1lW6bGaOtUKLPKV
a0lBGBlV/0zPX1mzI5ukZ1288l1RACLj+1O8qH7mdTLH/ZjYImlAJJqs5g4qMQNZ
6ikWsP4jO5sjMRs+RaFSTl4rhFikZcBaDfMhk5PHD8yalkkGGpBCXfl4JYlquwKW
fWx2yJDjz1S39nj6QYC02s3LplXXZ35vJurArfrF1gtfF7l89h5pD/ekCgnD6Ocj
QZrUlIQ0I6H3sfONx0cSFiTQNXi8oqBMg+aU1b2dse8IdTSDUWsUOPFdHkI9NpJ5
oUh9gUFL3lGEOLjCKLbQTNVVs/zhPDRqfXCHwRmNEbh60aeFzDF7G5HcSUvn8+CE
PuxBIpp5ORBGJpBOFc3D/8UdnBj0Fo2oT0MUbhvVCtdrzQpaO+Ba9A4BhTXUiO7w
p9BGDU/NgdrLqESNKuPjFIH8v8njM6MOrcKeNmqz5Mik9jlPbCq/ROxAGlmbxflg
ykngSKIx64HRURi5OT1mI70BzQZ9x8aILNZGVMpgGcttMubVb85PeVDM20DXnH+F
p9gJD3LKOsyeSHHLsJk1iMeJmaUK/tEhwqa4UBUZ6DpTh7VpU7oKESwG9KKElykg
ez4kBTtEWV/vMSoE5juA
=IFLM
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50e15b98.8080...@outlook.com



Re: admin password?

2012-12-31 Thread Martin Steigerwald
Please do not top-post.

Am Sonntag, 30. Dezember 2012 schrieb Dionyssis Goulimis:
  On 12/30/12, Dionyssis Goulimis dionyssi...@gmail.com wrote:
  Hi,
  
  I downloaded the last edition of Debian yesterday but I can't remember
  my Admin password, what is the best way to stop using an Admin
  password?
  
  Best,
  
  Dionyssis Goulimis
  
  2012/12/30, Dionyssis Goulimis dionyssi...@gmail.com:
  Hi,
  
  I downloaded the last edition of Debian yesterday but I can't
  remember my Admin password, what is the best way to recover it?
[…]
 2012/12/30, Zenaan Harkness z...@freedbms.net:
  If your normal user is in /etc/sudoers, then run
  sudo su - root
  to become the root user. With sudo, you have to enter your normal
  password to use it.
  good luck
  
 but how do you run sudo su - root? from Grub?

- Add root=/bin/bash to kernel parameters in Grub (see legend at the bottom 
of screen on how to do that]

- Then if needed do: mount -o remount,rw /

- Then: passwd
  - Change root password

- Then: mount -o remount,ro /

- Then reboot (likely a hard reboot is required since init system is not up)

Your favorite search engine will likely output at least a dozen of howtos on 
this process.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201212311939.11338.mar...@lichtvoll.de



Re: admin password?

2012-12-31 Thread Martin Steigerwald
Am Montag, 31. Dezember 2012 schrieb Mika Suomalainen:
 On 31.12.2012 06:03, Osamu Aoki wrote:
  If you did not lock system with grub password, you can always
  login as root without password.
  
  Google with grub init=/bin/bash mount you get many howtos
  describing:
  
  Boot with
  
  init=/bin/bash
  
  or
  
  init=/bin/sh
  
  for GRUB.  Then at root prompt
  
  mount -o remount,rw /
  
  to reset with passwd.
 
 I recommend booting with rw init=/bin/bash. The rw removes the
 need to run mount -o remount,rw /.
 
 I would also like to add running command sync after changing the
 password with passwd to ensure that the change gets written to disk.

Eh, always read complete thread first. Note taken. :)

Its all there already.

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201212311940.14990.mar...@lichtvoll.de



Re: admin password?

2012-12-31 Thread Hans-J. Ullrich
Hi!

I know two ways, how to crack a system with a lost root password.

1. Use a livefile-cd like knoppix and mount the partitition witrh /etc/shadow 
on.

Then remove everything at root between the first two ::

At next boot, you will not be asked for a root password.


2. Boot with kon-boot. Google for it and download the image. You can create 
a floppy- or a cd-image.



Good luck!

Hans 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201212311948.00773.hans.ullr...@loop.de



Re: admin password?

2012-12-30 Thread Dionyssis Goulimis
but how do you run sudo su - root? from Grub?

dionyssis

2012/12/30, Zenaan Harkness z...@freedbms.net:
 If your normal user is in /etc/sudoers, then run
 sudo su - root
 to become the root user. With sudo, you have to enter your normal
 password to use it.
 good luck

 On 12/30/12, Dionyssis Goulimis dionyssi...@gmail.com wrote:
 Hi,

 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to stop using an Admin password?

 Best,

 Dionyssis Goulimis

 2012/12/30, Dionyssis Goulimis dionyssi...@gmail.com:
 Hi,

 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to recover it?

 Best,

 Dionyssis Goulimis



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 http://lists.debian.org/cabx4qa8dsu4xew-x3thyv3aaobrwe_rj0sppx_i4leodrwk...@mail.gmail.com





-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CABx4qA_vUYch7TSxQ42yotdq6XG9Sau6Z_SCE0P08Rt4zqU3=g...@mail.gmail.com



Re: admin password?

2012-12-30 Thread Klearchos-Angelos Gkountras
supposing that you are Greek , I send u a email in Greek how to do
chroot ... :) good luck

Στις 30/12/2012 07:21 μμ, ο/η Dionyssis Goulimis έγραψε:
 but how do you run sudo su - root? from Grub?
 
 dionyssis
 
 2012/12/30, Zenaan Harkness z...@freedbms.net:
 If your normal user is in /etc/sudoers, then run
 sudo su - root
 to become the root user. With sudo, you have to enter your normal
 password to use it.
 good luck

 On 12/30/12, Dionyssis Goulimis dionyssi...@gmail.com wrote:
 Hi,

 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to stop using an Admin password?

 Best,

 Dionyssis Goulimis

 2012/12/30, Dionyssis Goulimis dionyssi...@gmail.com:
 Hi,

 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to recover it?

 Best,

 Dionyssis Goulimis



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 http://lists.debian.org/cabx4qa8dsu4xew-x3thyv3aaobrwe_rj0sppx_i4leodrwk...@mail.gmail.com



 
 


-- 
Klearchos-Angelos Gkountras
http://jemaduxblog.blogspot.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50e085f3.70...@gmail.com



Re: admin password?

2012-12-30 Thread Tom H
On Sun, Dec 30, 2012 at 12:42 AM, Chris Bannister
cbannis...@slingshot.co.nz wrote:
 On Sun, Dec 30, 2012 at 06:51:38AM +0200, Dionyssis Goulimis wrote:

 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to stop using an Admin password?

 You mean the root password. It might be quicker to reinstall, and don't
 forget it this time! :)

You can use the grub command-line, the rescue feature of d-i, or a
live CD to reset a root password. No need to reinstall.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=sxz8sfwzskdz1rkuuyqkp8fgsvjj9yhxc6a8pxxmzo...@mail.gmail.com



Re: admin password?

2012-12-30 Thread Tom H
On Sun, Dec 30, 2012 at 12:58 AM, Zenaan Harkness z...@freedbms.net wrote:
 On 12/30/12, Dionyssis Goulimis dionyssi...@gmail.com wrote:
 2012/12/30, Dionyssis Goulimis dionyssi...@gmail.com:

 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to recover it?

 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to stop using an Admin password?

 If your normal user is in /etc/sudoers, then run
 sudo su - root
 to become the root user. With sudo, you have to enter your normal
 password to use it.


Please don't top post.


No need to run su with sudo.

sudo -i = sudo su -
sudo -s = sudo su


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=Sw9S2p4Mw+pyHKWbTq=9-prvump_nbbtxtadkffsu1...@mail.gmail.com



Re: admin password?

2012-12-30 Thread Osamu Aoki
Hi,

On Sun, Dec 30, 2012 at 06:50:20AM +0200, Dionyssis Goulimis wrote:
 Hi,
 
 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to recover it?

If you did not lock system with grub password, you can always login as
root without password.

Google with grub init=/bin/bash mount you get many howtos describing: 

Boot with 

 init=/bin/bash

or 

 init=/bin/sh 

for GRUB.  Then at root prompt

 mount -o remount,rw /

to reset with passwd.

Cheers,

Osamu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121231040341.GA24153@goofy.localdomain



Re: admin password?

2012-12-30 Thread Bob Proulx
 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to stop using an Admin password?

Use the install disk to boot into rescue mode.  This will allow you
to become root on the image.  Then change the password as other have
suggested.

Bob


signature.asc
Description: Digital signature


admin password?

2012-12-29 Thread Dionyssis Goulimis
Hi,

I downloaded the last edition of Debian yesterday but I can't remember
my Admin password, what is the best way to recover it?

Best,

Dionyssis Goulimis


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cabx4qa-xhxksmetf+32suvdb7hjgztj5ijwm6p-j43mex+e...@mail.gmail.com



Re: admin password?

2012-12-29 Thread Dionyssis Goulimis
Hi,

I downloaded the last edition of Debian yesterday but I can't remember
my Admin password, what is the best way to stop using an Admin password?

Best,

Dionyssis Goulimis

2012/12/30, Dionyssis Goulimis dionyssi...@gmail.com:
 Hi,

 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to recover it?

 Best,

 Dionyssis Goulimis



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cabx4qa8dsu4xew-x3thyv3aaobrwe_rj0sppx_i4leodrwk...@mail.gmail.com



Re: admin password?

2012-12-29 Thread Chris Bannister
On Sun, Dec 30, 2012 at 06:51:38AM +0200, Dionyssis Goulimis wrote:
 Hi,
 
 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to stop using an Admin password?

You mean the root password. It might be quicker to reinstall, and don't
forget it this time! :)

-- 
If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing. --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121230054203.GB13125@tal



Re: admin password?

2012-12-29 Thread Zenaan Harkness
If your normal user is in /etc/sudoers, then run
sudo su - root
to become the root user. With sudo, you have to enter your normal
password to use it.
good luck

On 12/30/12, Dionyssis Goulimis dionyssi...@gmail.com wrote:
 Hi,

 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to stop using an Admin password?

 Best,

 Dionyssis Goulimis

 2012/12/30, Dionyssis Goulimis dionyssi...@gmail.com:
 Hi,

 I downloaded the last edition of Debian yesterday but I can't remember
 my Admin password, what is the best way to recover it?

 Best,

 Dionyssis Goulimis



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 http://lists.debian.org/cabx4qa8dsu4xew-x3thyv3aaobrwe_rj0sppx_i4leodrwk...@mail.gmail.com




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caosgnsrlju7me9vgj-mqr79la6uwaiexmwklfornm_yp09h...@mail.gmail.com



Re: admin password?

2012-12-29 Thread Yaro Kasear
If that option doesn't work out, you can usually grab any old Linux live 
media of the same architecture as what you have installed and set up a 
chroot onto your install, which will get you root access onto your 
installed system.


Then you just run passwd to change it.

On 12/29/2012 11:58 PM, Zenaan Harkness wrote:

If your normal user is in /etc/sudoers, then run
sudo su - root
to become the root user. With sudo, you have to enter your normal
password to use it.
good luck

On 12/30/12, Dionyssis Goulimis dionyssi...@gmail.com wrote:

Hi,

I downloaded the last edition of Debian yesterday but I can't remember
my Admin password, what is the best way to stop using an Admin password?

Best,

Dionyssis Goulimis

2012/12/30, Dionyssis Goulimis dionyssi...@gmail.com:

Hi,

I downloaded the last edition of Debian yesterday but I can't remember
my Admin password, what is the best way to recover it?

Best,

Dionyssis Goulimis



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
Archive:
http://lists.debian.org/cabx4qa8dsu4xew-x3thyv3aaobrwe_rj0sppx_i4leodrwk...@mail.gmail.com







--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50dfdc8c.3090...@marupa.net



Re: admin password?

2012-12-29 Thread Go Linux
--- On Sat, 12/29/12, Dionyssis Goulimis dionyssi...@gmail.com wrote:

 From: Dionyssis Goulimis dionyssi...@gmail.com
 Subject: admin password?
 To: debian-user@lists.debian.org
 Date: Saturday, December 29, 2012, 10:50 PM
 Hi,
 
 I downloaded the last edition of Debian yesterday but I
 can't remember
 my Admin password, what is the best way to recover it?
 
 Best,
 
 Dionyssis Goulimis
 

This has saved me more than once:

http://forums.debian.net/viewtopic.php?f=16t=52993

No need to reinstall etc.

 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/cabx4qa-xhxksmetf+32suvdb7hjgztj5ijwm6p-j43mex+e...@mail.gmail.com
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1356849146.5522.yahoomailclas...@web163406.mail.gq1.yahoo.com



Re: Admin password (cn=admin,dc=config) for OpenLDAP in Debian Squeeze

2011-02-02 Thread Rob Owens
On Mon, Jan 31, 2011 at 05:05:56PM +0200, Razvan Deaconescu wrote:
 Hi!
 
 I've browsed the configuration page for slapd[1] and it mentions that,
 for starting from version 2.3, The LDAP configuration engine allows all
 of slapd's configuration options to be changed on the fly, generally
 without requiring a server restart for the changes to take effect.
 
 I'm using slapd 2.4.23-7 on a Debian Squeeze (testing). Trying to
 configure TLS support I've found this page[2] mentions using the
 cn=admin,dc=config account and a password for it. What is the user and
 password required to update the LDAP configuration database in a
 Debian-based configuration?
 
Do you have a file called /etc/libnss-ldap.secret or /etc/pam_ldap.secret?
Sometimes the password is stored there.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110202152459.ga7...@aurora.owens.net



Re: Admin password (cn=admin,dc=config) for OpenLDAP in Debian Squeeze

2011-02-02 Thread Razvan Deaconescu
On 02/02/2011 05:24 PM, Rob Owens wrote:
 On Mon, Jan 31, 2011 at 05:05:56PM +0200, Razvan Deaconescu wrote:
 Hi!

 I've browsed the configuration page for slapd[1] and it mentions that,
 for starting from version 2.3, The LDAP configuration engine allows all
 of slapd's configuration options to be changed on the fly, generally
 without requiring a server restart for the changes to take effect.

 I'm using slapd 2.4.23-7 on a Debian Squeeze (testing). Trying to
 configure TLS support I've found this page[2] mentions using the
 cn=admin,dc=config account and a password for it. What is the user and
 password required to update the LDAP configuration database in a
 Debian-based configuration?

 Do you have a file called /etc/libnss-ldap.secret or /etc/pam_ldap.secret?
 Sometimes the password is stored there.

Both the /etc/libnss-ldap.conf and the /etc/pam_ldap.conf files mention
that the *.secret files are to be used as password files for the LDAP
account to be used by root:
---
# grep -C 3 secret /etc/pam_ldap.conf

# The credentials to bind with.
# Optional: default is no credential.
#bindpw secret

# The distinguished name to bind to the server with
# if the effective user ID is root. Password is
# stored in /etc/pam_ldap.secret (mode 600)
rootbinddn cn=manager,dc=example,dc=net

# The port.
---

I think this is only used for the client side and is not a server
configuration.

Razvan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d4992cd.5020...@rosedu.org



Admin password (cn=admin,dc=config) for OpenLDAP in Debian Squeeze

2011-01-31 Thread Razvan Deaconescu
Hi!

I've browsed the configuration page for slapd[1] and it mentions that,
for starting from version 2.3, The LDAP configuration engine allows all
of slapd's configuration options to be changed on the fly, generally
without requiring a server restart for the changes to take effect.

I'm using slapd 2.4.23-7 on a Debian Squeeze (testing). Trying to
configure TLS support I've found this page[2] mentions using the
cn=admin,dc=config account and a password for it. What is the user and
password required to update the LDAP configuration database in a
Debian-based configuration?

I found out the password should be stored as olcRootPW in the
olcDatabase={0}config. However, the default configuration lacks this
password:

---
# slapcat -n0 | grep -C 5 '^\(olcRootDN\|olcRootPW\)'
olcAccess: {0}to *  by * none
olcAddContentAcl: TRUE
olcLastMod: TRUE
olcMaxDerefDepth: 15
olcReadOnly: FALSE
olcRootDN: cn=config
olcSyncUseSubentry: FALSE
olcMonitoring: FALSE
structuralObjectClass: olcDatabaseConfig
entryUUID: ed743d3a-adc6-102f-9a18-f1967b980507
creatorsName: cn=config
---

I found the easiest way was to add a olcRootPW option to the
olcDatabase={0}config file (password generated using slappasswd) and
then restarting the server. However, manually editing these files is
discouraged, but I didn't find a better way.

How should this be handled. Is there a specialized way of configuring
the above mentioned password?

Razvan

[1] http://www.openldap.org/doc/admin24/slapdconf2.html
[2] http://ilostmynotes.blogspot.com/2009/04/openldap-24-and-tls.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d46cfd4.4000...@rosedu.org



Re: update manager wants admin password

2010-12-06 Thread Camaleón
El 2010-12-05 a las 17:27 -0500, John Lindsay escribió:

(resending to the list)

 Camaleón wrote:
 On Sun, 05 Dec 2010 08:20:33 -0500, John Lindsay wrote:

   
 All of a sudden I am getting the following message when I click on the
 update manager icon ---
 

 (...)

 I always get asked for root password when there are updates available 
 in the update manager icon. If you get a keyring unlock message maybe 
 is because you are using sudo instead plain su and then you have to 
 provide your user password, not root's one.

 BTW, I'd be worried if the update manager does not ask me for the root  
 password ;-)

   
 Hi Camaleon

 Yes, when I did an upgrade via update manager I always got the request  
 for my admin password. It was this 'keyring unlock' popup that through  
 me. When I went system-admin-update manager
 from the toolbar I got the request for password as I normally did. Like  
 I said, update icon that shows up in the toolbar after the system checks  
 for update had that new popup which I never saw before.
 I've done the upgrade so now to see what the next upgrade brings with  
 respect to the 'keyring unlock' popup.

Maybe it was a hiccup. GNOME keyring should unlock when the system starts 
and then just asks for user's password when using NM connections or 
accessing to network shares, but I've never seen it to ask for root's 
password in update manager :-?

Yep, I would also wait and see for the next update available.

Greetings,

-- 
Camaleón 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101206095732.gb3...@stt008.linux.site



update manager wants admin password

2010-12-05 Thread John Lindsay
All of a sudden I am getting the following message when I click on the 
update manager icon ---


| enter password for keyring 'default' to unlock
| the application 'gksu' (/usr/bin/gksu) wants access to the keyring 
'default' but it is locked


I can do two actions -- enter the admin password and click OK or click deny

If I click deny I get a popup that say enter the administrator password 
and the statement


the application 'update manager' lets you modify essential parts of 
your system.

Remember Password is checked.
Save in keyring is checked.

Did I get 'hit' by some keystroke/phishing malware?  Is this some new 
security that has been implemented?
I'm running Debian Lenny and this is something that has recently 
occurred. Before I enter my password to
do the updates I want to be sure its not someone thats hacked into my 
system.


Thanks


John



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cfb91a1.6020...@sentex.net



Re: update manager wants admin password

2010-12-05 Thread Camaleón
On Sun, 05 Dec 2010 08:20:33 -0500, John Lindsay wrote:

 All of a sudden I am getting the following message when I click on the
 update manager icon ---

(...)

I always get asked for root password when there are updates available in 
the update manager icon. If you get a keyring unlock message maybe is 
because you are using sudo instead plain su and then you have to 
provide your user password, not root's one.

BTW, I'd be worried if the update manager does not ask me for the root 
password ;-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.05.16.07...@gmail.com



LDAP admin password configuring libnss-ldap and libpam-ldap

2008-04-21 Thread Juan Asensio Sánchez
Hi

I have setup a server with LDAP and Samba. Now i want to LDAP hosts
authenticate with the LDAP server too, so i have installed in each
host libnss-ldap, libpam-ldap and nscd. Everything works fine, but I
don't know why these packages need the ldap admin password. Although
the ldap.secret file is not world readable, i don't want the users
could see it with sudo. And what would happen if i change the ldap
admin password? Do I have to change it in every host?

NB: I have configured libnss-ldap without the needing of the
passwords, but I couldn't configure libpam-ldap to not use it.

Thanks in advance.


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



Re: LDAP admin password configuring libnss-ldap and libpam-ldap

2008-04-21 Thread Alex Samad
On Mon, Apr 21, 2008 at 09:30:41PM +0200, Juan Asensio Sánchez wrote:
 Hi
 
 I have setup a server with LDAP and Samba. Now i want to LDAP hosts
 authenticate with the LDAP server too, so i have installed in each
 host libnss-ldap, libpam-ldap and nscd. Everything works fine, but I
 don't know why these packages need the ldap admin password. Although
 the ldap.secret file is not world readable, i don't want the users
 could see it with sudo. And what would happen if i change the ldap
 admin password? Do I have to change it in every host?

it is only used to simulate root access to accounts

can I also suggest looking at libnss-ldapd instead off libnss-ldap,
I have experienced some group resolution errors with the later,
especially with the recent move to gnutls away from openssl


 
 NB: I have configured libnss-ldap without the needing of the
 passwords, but I couldn't configure libpam-ldap to not use it.
 
 Thanks in advance.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 

-- 
I think --tide turning --see, as I remember --I was raised in the desert, but 
tides kind of --it's easy to see a tide turn --did I say those words?

- George W. Bush
06/14/2006
Washington, DC
in response to the question Is the tide turning in Iraq?


signature.asc
Description: Digital signature


Re: LDAP admin password configuring libnss-ldap and libpam-ldap

2008-04-21 Thread Predrag Gavrilovic
It is needed for actions where local user is root, so local root
could, if necessary change users passwords in LDAP.
If that is not desirable, you do not have to use it. You can put same
name/password that you have put for ordinary lookups.


On Mon, Apr 21, 2008 at 9:30 PM, Juan Asensio Sánchez [EMAIL PROTECTED] wrote:
 Hi

  I have setup a server with LDAP and Samba. Now i want to LDAP hosts
  authenticate with the LDAP server too, so i have installed in each
  host libnss-ldap, libpam-ldap and nscd. Everything works fine, but I
  don't know why these packages need the ldap admin password. Although
  the ldap.secret file is not world readable, i don't want the users
  could see it with sudo. And what would happen if i change the ldap
  admin password? Do I have to change it in every host?

  NB: I have configured libnss-ldap without the needing of the
  passwords, but I couldn't configure libpam-ldap to not use it.

  Thanks in advance.


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




Re: ldap admin password

2005-05-19 Thread B S Srinidhi
On Wed, 2005-05-18 at 22:36 -0700, Lars Jensen wrote:
 Don't I need a rootpw statement to run the ldaptools?
 

Yes. You need the 'rootpw' statement in your slapd.conf.

Srinidhi.
-- 
B S Srinidhi [EMAIL PROTECTED]
DeepRoot Linux Pvt. Ltd.


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



Re: ldap admin password

2005-05-19 Thread B S Srinidhi
On Wed, 2005-05-18 at 22:36 -0700, Lars Jensen wrote:
 Don't I need a rootpw statement to run the ldaptools?
 

Yes. You need the 'rootpw' statement in your slapd.conf.

Srinidhi.
-- 
B S Srinidhi [EMAIL PROTECTED]
DeepRoot Linux Pvt. Ltd.


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



Re: ldap admin password

2005-05-19 Thread Mohammad Halawah
On Thursday 19 May 2005 07:36, Lars Jensen wrote:
 Hi,

 Where is the ldap admin password. I'm trying to set up ldap and are
 getting some authentication errors when running the migrationtools. I
 noticed that there's no rootpw statement in slapd.conf.

 Don't I need a rootpw statement to run the ldaptools?

 Thanks.

 Lars.

 --
 Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
 Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]

Of course you need one ,
so just insert a line like this one 

rootdn  cn=admin,dc=example,dc=com
rootpw  secret

of cource for better security you can hide the secret using its has value 
instead of the plaintext.

cheers
Mohammad


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



ldap admin password

2005-05-18 Thread Lars Jensen
Hi,

Where is the ldap admin password. I'm trying to set up ldap and are
getting some authentication errors when running the migrationtools. I
noticed that there's no rootpw statement in slapd.conf.

Don't I need a rootpw statement to run the ldaptools?

Thanks.

Lars.

--
Lars Jensen, Truckee Meadows Community College, Reno NV 89512-3999.
Tel: 775.673.7113 E-mail: [EMAIL PROTECTED]


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



Cyrus refuses admin password

2001-01-12 Thread Chris Mason
I just installed cyurs imapd and admin packages. After I edited
/etc/imapd.conf to add the line:
admins: cyrus root

I tried to create accounts using
cyradm -user root localhost
but was refused with:
application-specific initialization failed: authentication failed
I have shadow passwords installed.
Can anyone help me work out how too make this work?


Chris Mason
Box 340, The Valley, Anguilla, British West Indies
Tel: 264 497 5670 Fax: 264 497 8463
USA Fax (561) 382-7771
Take a virtual tour of the island
http://net.ai/ The Anguilla Guide
Find out more about NetConcepts
www.netconcepts.ai
Talk to me in real time with Instant Messenger: [EMAIL PROTECTED]




Re: Cyrus refuses admin password

2001-01-12 Thread Nate Amsden
Chris Mason wrote:
 
 I just installed cyurs imapd and admin packages. After I edited
 /etc/imapd.conf to add the line:
 admins: cyrus root
 
 I tried to create accounts using
 cyradm -user root localhost

try doing it as non root ...on my mail servers i have a common
account called 'admin' for the admins, and i have that as the
admin for cyrus and i do

cyradm localhost

and it prompts for localhost username and password ...

maybe its something specific to the root account(i wouldn't
be suprised)

nate

-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]



RE: Cyrus refuses admin password

2001-01-12 Thread Chris Mason
That's hasn't fixed it, but thanks for the advice. I suspect it's a shadow
password issue.

Chris Mason
Box 340, The Valley, Anguilla, British West Indies
Tel: 264 497 5670 Fax: 264 497 8463
USA Fax (561) 382-7771
Take a virtual tour of the island
http://net.ai/ The Anguilla Guide
Find out more about NetConcepts
www.netconcepts.ai
Talk to me in real time with Instant Messenger: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, January 12, 2001 1:11 PM
To: Chris Mason
Cc: Debian-User
Subject: Re: Cyrus refuses admin password


Chris Mason wrote:

 I just installed cyurs imapd and admin packages. After I edited
 /etc/imapd.conf to add the line:
 admins: cyrus root

 I tried to create accounts using
 cyradm -user root localhost

try doing it as non root ...on my mail servers i have a common
account called 'admin' for the admins, and i have that as the
admin for cyrus and i do

cyradm localhost

and it prompts for localhost username and password ...

maybe its something specific to the root account(i wouldn't
be suprised)

nate

--
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]