Re: root account inaccessible, was 'login problems on change of default shell'

2014-10-07 Thread Andrei POPESCU
On Lu, 06 oct 14, 10:23:28, John Aten wrote:
 I booted up the broken system and attempted to get the device name 
 looking at /etc/fstab, mount and fdisk -l. I got a device name 
 (/dev/sda1) and a UUID. 

You should use 'fdisk -l' or 'blkid' only after you boot with your 
rescue disk/usb/whatever, because device names may change (as you found 
out).

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: root account inaccessible, was 'login problems on change of default shell'

2014-10-06 Thread John Aten
On Oct 5, 2014, at 8:10 PM, William Unruh wrote:

 Log on as oot. the system does not care what the name is. All it cares
 about is the uid (0) You could call uid 0 donduck and your system would
 not care, as long as you used that name to log on. 
 Of course this does not mean you should leave it like that. It maybe
 that some script uses the name root, instead of uid 0. 

I tried this, and got: 

sudo: unknown user: root
sudo: unable to initialize policy plugin

Sudo seems completely unusable by my regular user account, even though it has 
all privileges in the sudoers file.

On Oct 5, 2014, at 8:06 PM, John Hasler wrote:

 Ok, then you have to boot the CD and mount the disk.  Then just edit the
 file with a text editor.

I have tried to do this, using instructions adapted from here: 
http://www.debianhelp.co.uk/root.htm (solution 2) and here: 
http://www.linuxquestions.org/questions/linux-newbie-8/mounting-hard-drive-on-ubuntu-live-cd-563007/
 . I booted up the broken system and attempted to get the device name looking 
at /etc/fstab, mount and fdisk -l. I got a device name (/dev/sda1) and a UUID. 
I booted in from the usb again, and when I try to mount /dev/sda1, it says that 
the device is already mounted, because the live usb has named the root 
filesystem on the usb /dev/sda1. I looked at several web pages supposedly 
describing how to mount by UUID, but they all describe how to find the UUID and 
don't give specific instructions on how to formulate the mount command. I 
looked at the man page for mount, and my best guess was to type: 

sudo mount -U uuidnumber mountpoint 

This returns: 

mount: no such partition found

I don't know what I am doing wrong.

J

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/9eb3f367-da82-40ab-8ccf-d00b23da4...@gmail.com



login problems on change of default shell

2014-10-05 Thread John Aten
Hi all,

I just built bash 4.3.29 from source. I wanted to change my root and one user 
account to use it as the default shell. I ran sudo chsh and entered 
/usr/local/bin/bash, and everything was fine. I could log in and out, run 
commands, and the $SHELL and $BASH_VERSION environment variables confirmed the 
change. 

Things got hinky, though when I tried to change my regular, non-root user 
account. While logged in as my regular user, I entered chsh, but when I typed 
in the path, it says that I had entered an invalid shell. I tried sudo chsh, 
and the same. I was perplexed by this, as it seemed perfectly valid when I ran 
it as this user by typing the path into the command line of the previous 
default shell. Commands run normally, and $BASH_VERSION returns the right 
number. I tried to change my regular user's shell again and got the same error. 
I triple checked the path, and tried again, this time while logged in as root. 
It then returned:

chsh: PAM: Authentication failure

I logged in as root and changed the shell for my regular user account in 
/etc/passwd, but after this I couldn't log in to my regular user account at 
all. At first it gave me a 'login incorrect' error, but on repeated attempts it 
would give what looks like a 10 or 15 line message, but the screen clears so 
quickly I can't read it. I logged in as root and changed my regular user's 
default shell back to the previous /bin/bash, and now it works fine.

Any thoughts?

J

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/35748f17-f4a3-43f6-992b-b9bfaf12a...@gmail.com



login problems on change of default shell

2014-10-05 Thread John Aten
Hi all,

I just built bash 4.3.29 from source. I wanted to change my root and one user 
account to use it as the default shell. I ran sudo chsh and entered 
/usr/local/bin/bash, and everything was fine. I could log in and out, run 
commands, and the $SHELL and $BASH_VERSION environment variables confirmed the 
change. 

Things got hinky, though when I tried to change my regular, non-root user 
account. While logged in as my regular user, I entered chsh, but when I typed 
in the path, it says that I had entered an invalid shell. I tried sudo chsh, 
and the same. I was perplexed by this, as it seemed perfectly valid when I ran 
it as this user by typing the path into the command line of the previous 
default shell. Commands run normally, and $BASH_VERSION returns the right 
number. I tried to change my regular user's shell again and got the same error. 
I triple checked the path, and tried again, this time while logged in as root. 
It then returned:

chsh: PAM: Authentication failure

I logged in as root and changed the shell for my regular user account in 
/etc/passwd, but after this I couldn't log in to my regular user account at 
all. At first it gave me a 'login incorrect' error, but on repeated attempts it 
would give what looks like a 10 or 15 line message, but the screen clears so 
quickly I can't read it. I logged in as root and changed my regular user's 
default shell back to the previous /bin/bash, and now it works fine.

Any thoughts?

J

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/a1d0baad-a8ba-46df-9587-db08c4122...@gmail.com



Re: login problems on change of default shell

2014-10-05 Thread Nemeth Gyorgy
2014-10-05 19:42 keltezéssel, John Aten írta:

 I just built bash 4.3.29 from source. I wanted to change my root and one user 
 account to use it as the default shell. I ran sudo chsh and entered 
 /usr/local/bin/bash, and everything was fine. I could log in and out, run 
 commands, and the $SHELL and $BASH_VERSION environment variables confirmed 
 the change. 
 
 Things got hinky, though when I tried to change my regular, non-root user 
 account. While logged in as my regular user, I entered chsh, but when I typed 
 in the path, it says that I had entered an invalid shell. I tried sudo chsh, 
 and the same. I was perplexed by this, as it seemed perfectly valid when I 
 ran it as this user by typing the path into the command line of the previous 
 default shell. Commands run normally, and $BASH_VERSION returns the right 
 number. I tried to change my regular user's shell again and got the same 
 error. I triple checked the path, and tried again, this time while logged in 
 as root. It then returned:
 
 chsh: PAM: Authentication failure
 
 I logged in as root and changed the shell for my regular user account in 
 /etc/passwd, but after this I couldn't log in to my regular user account at 
 all. At first it gave me a 'login incorrect' error, but on repeated attempts 
 it would give what looks like a 10 or 15 line message, but the screen clears 
 so quickly I can't read it. I logged in as root and changed my regular user's 
 default shell back to the previous /bin/bash, and now it works fine.
 
 Any thoughts?

from man chsh:
The only restriction placed on the login shell is that the command name
must be listed in /etc/shells, unless the invoker is the superuser, and
then any value may be added.

So put /usr/local/bin/bash into /etc/shells

Hope, this helps.

-- 
--- Friczy ---
'Death is not a bug, it's a feature'


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5431b650.7030...@freemail.hu



root account inaccessible, was 'login problems on change of default shell'

2014-10-05 Thread John Aten

On Oct 5, 2014, at 4:21 PM, Nemeth Gyorgy wrote:

 2014-10-05 19:42 keltezéssel, John Aten írta:
 
 I just built bash 4.3.29 from source. I wanted to change my root and one 
 user account to use it as the default shell. I ran sudo chsh and entered 
 /usr/local/bin/bash, and everything was fine. I could log in and out, run 
 commands, and the $SHELL and $BASH_VERSION environment variables confirmed 
 the change. 
 
 Things got hinky, though when I tried to change my regular, non-root user 
 account. While logged in as my regular user, I entered chsh, but when I 
 typed in the path, it says that I had entered an invalid shell. I tried sudo 
 chsh, and the same. I was perplexed by this, as it seemed perfectly valid 
 when I ran it as this user by typing the path into the command line of the 
 previous default shell. Commands run normally, and $BASH_VERSION returns the 
 right number. I tried to change my regular user's shell again and got the 
 same error. I triple checked the path, and tried again, this time while 
 logged in as root. It then returned:
 
 chsh: PAM: Authentication failure
 
 I logged in as root and changed the shell for my regular user account in 
 /etc/passwd, but after this I couldn't log in to my regular user account at 
 all. At first it gave me a 'login incorrect' error, but on repeated attempts 
 it would give what looks like a 10 or 15 line message, but the screen clears 
 so quickly I can't read it. I logged in as root and changed my regular 
 user's default shell back to the previous /bin/bash, and now it works fine.
 
 Any thoughts?
 
 from man chsh:
 The only restriction placed on the login shell is that the command name
 must be listed in /etc/shells, unless the invoker is the superuser, and
 then any value may be added.
 
 So put /usr/local/bin/bash into /etc/shells
 
 Hope, this helps.

I think this will work, but I have since gotten myself into real trouble. At 
some point in my editing of /etc/passwd, I unwittingly deleted the 'r' from the 
entry for root. My first user listed is now 'oot'. I now, of course, cannot do 
anything that relies on the root account. I tried logging in as 'oot' to change 
/etc/passwd, but the I get an 'incorrect login' error. I downloaded the live cd 
image and made a bootable usb stick, but I can only pull up the live system's 
/etc/passwd, not the file for the already installed system. I have poked around 
some and but it doesn't appear to see the HD at all. I tried rebooting from the 
hd and getting the device name with mount or fdisk -l, but when I tried to 
reboot with the usb and mount this device it couldn't find it. How do I get 
access to the installed /etc/passwd ?

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/f59e7fc0-58a9-4822-a563-2af9e0a45...@gmail.com



Re: root account inaccessible, was 'login problems on change of default shell'

2014-10-05 Thread John Hasler
John Aten writes:
 How do I get access to the installed /etc/passwd ?

sudo vipw
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87ppe6xg9x@thumper.dhh.gt.org



Re: root account inaccessible, was 'login problems on change of default shell'

2014-10-05 Thread John Aten

On Oct 5, 2014, at 6:42 PM, John Hasler wrote:

 This brings up the /etc/passwd of the live system, not the broken
 /etc/passwd on the hard drive.
 
 Boot up the broken system.  Log into your own account.  
 
 sudo vipw
 
 Fix the root acount entry.

I tried that, and it returns:

sudo: unknown user: root
sudo: unable to initialize policy plugin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/f2defb98-8a0d-4b79-bdab-d83979c71...@gmail.com



Re: root account inaccessible, was 'login problems on change of default shell'

2014-10-05 Thread John Hasler
John Aten writes:
 sudo: unknown user: root sudo: unable to initialize policy plugin

Ok, then you have to boot the CD and mount the disk.  Then just edit the
file with a text editor.

-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87h9zixb0c@thumper.dhh.gt.org



login problems after permission change: unable to cd to home

2010-01-20 Thread koen . news
Problems started yesterday. I think when changing permission on root dir.
Debian Etch

Root login is no problem. I checked the permission of /etc / /root and set
them right according to a debian with same version.

Strace of login koenl says where all goes wrong:

3234  fchown32(0, 1008, 5)  = 0
3234  fchmod(0, 0600)   = 0
3234  rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
3234  clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7dd7708) = 3235
3234  wait4(-1,  unfinished ...
3235  getppid() = 3234
3235  setuid32(1008)= 0
3235  chdir(/data/home/koenl) = -1 EACCES (Permission denied)
3235  chdir(/)= -1 EACCES (Permission denied)
3235  write(2, Unable to cd to \'/data/home/koenl\'\n, 35) = 35
3235  time([1263977226])= 1263977226
3235  stat64(/etc/localtime, 0xbf89dae8) = -1 EACCES (Permission denied)
3235  open(/etc/localtime, O_RDONLY)  = -1 EACCES (Permission denied)
3235  open(/etc/localtime, O_RDONLY)  = -1 EACCES (Permission denied)
3235  open(/etc/localtime, O_RDONLY)  = -1 EACCES (Permission denied)
3235  send(5, 84Jan 20 09:47:06 login[3235]: unable to cd to
`/data/home/koenl\' for user `koenl\'\n, 85, MSG_NOSIGNAL) = 85
3235  close(5)  = 0
3235  munmap(0xb7f4b000, 4096)  = 0
3235  exit_group(1) = ?
3234  ... wait4 resumed NULL, 0, NULL) = 3235
3234  --- SIGCHLD (Child exited) @ 0 (0) ---


Any idea what to correct? Because of this samba fileserver and bind9 also
have problems. Any way to create rescue disk from other debian? i could
access that system with rsync from this one.

Koen




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



Re: login problems after permission change: unable to cd to home

2010-01-20 Thread Alexey Salmin
May be it's worth it to post here those permissions?

Btw, don't forget that to access a file you need an 'x' flag set on
all directories in the path to that file including the '/' directory.
You also need an 'x' permission on a directory to be able to do chdir
to those directory (and also an 'x' on all directories in the path).

Alexey

On Wed, Jan 20, 2010 at 3:42 PM,  koen.n...@koca.be wrote:
 Problems started yesterday. I think when changing permission on root dir.
 Debian Etch

 Root login is no problem. I checked the permission of /etc / /root and set
 them right according to a debian with same version.

 Strace of login koenl says where all goes wrong:

 3234  fchown32(0, 1008, 5)              = 0
 3234  fchmod(0, 0600)                   = 0
 3234  rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
 3234  clone(child_stack=0,
 flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
 child_tidptr=0xb7dd7708) = 3235
 3234  wait4(-1,  unfinished ...
 3235  getppid()                         = 3234
 3235  setuid32(1008)                    = 0
 3235  chdir(/data/home/koenl)         = -1 EACCES (Permission denied)
 3235  chdir(/)                        = -1 EACCES (Permission denied)
 3235  write(2, Unable to cd to \'/data/home/koenl\'\n, 35) = 35
 3235  time([1263977226])                = 1263977226
 3235  stat64(/etc/localtime, 0xbf89dae8) = -1 EACCES (Permission denied)
 3235  open(/etc/localtime, O_RDONLY)  = -1 EACCES (Permission denied)
 3235  open(/etc/localtime, O_RDONLY)  = -1 EACCES (Permission denied)
 3235  open(/etc/localtime, O_RDONLY)  = -1 EACCES (Permission denied)
 3235  send(5, 84Jan 20 09:47:06 login[3235]: unable to cd to
 `/data/home/koenl\' for user `koenl\'\n, 85, MSG_NOSIGNAL) = 85
 3235  close(5)                          = 0
 3235  munmap(0xb7f4b000, 4096)          = 0
 3235  exit_group(1)                     = ?
 3234  ... wait4 resumed NULL, 0, NULL) = 3235
 3234  --- SIGCHLD (Child exited) @ 0 (0) ---


 Any idea what to correct? Because of this samba fileserver and bind9 also
 have problems. Any way to create rescue disk from other debian? i could
 access that system with rsync from this one.

 Koen




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




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



New Dell netbook Ubuntu,Debian,login problems-part 2.

2009-06-29 Thread luis_a_maceira

Thanks to all who promptly have responded to my first question.Now I have a
more effective knowledge about some of the differences between the two worlds
in terms of power accounts,but I now see that my problem is:
I do not know what is my Ubuntu user password,it do not come with the netbook
package(I purchased the netbook with a great discount price possibly from a
returned buy from another person,I do not see any card or so with login
information).When I turn on the netbook I get automatically into the d1ell
account of which I do not know the password.Anyway,this user name d1ell seems
pretty standard to me,so are there probably any standard password?I tried
dell but it do not work.Have anyone experienced something similar buying a
new laptop?



  


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



Re: New Dell netbook Ubuntu,Debian,login problems-part 2.

2009-06-29 Thread Daryl Styrk
On Mon, Jun 29, 2009 at 11:27:28AM -0700, luis_a_mace...@yahoo.com wrote:
 
 Thanks to all who promptly have responded to my first question.Now I have a
 more effective knowledge about some of the differences between the two worlds
 in terms of power accounts,but I now see that my problem is:
 I do not know what is my Ubuntu user password,it do not come with the netbook
 package(I purchased the netbook with a great discount price possibly from a
 returned buy from another person,I do not see any card or so with login
 information).When I turn on the netbook I get automatically into the d1ell
 account of which I do not know the password.Anyway,this user name d1ell seems
 pretty standard to me,so are there probably any standard password?I tried
 dell but it do not work.Have anyone experienced something similar buying a
 new laptop?

I recommend booting into single-user mode and changing the root password.
http://aplawrence.com/Linux/lostlinuxpassword.html
Once you have established the root password, su to root then add a new
user account for yourself.  After you have your account made run 'visudo'
as root and add yourself to the sudoers file.  See the man page for better
reference but you could add something like the following to the file.

# User privilege specification
rootALL=(ALL) ALL
luisALL=(ALL) ALL

Once you have yourself added to the sudoers file you can then select a
random password for root in the User and Group option in
SystemAdministrationUsers and Groups.  
Log out and log back in as luis (or whatever you created) and you should
be all set.  

Something else you may want to try is simply sudo su to see if you become
root as you would in either knoppix or dsl.

-- 
Daryl Styrk
Naples FL, USA


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



Re: Re: Reiserfs corruption and KDM login problems

2006-11-30 Thread David Bruce

  Is there a quick fix I can do to get her into her email for today?

 Use mutt.

Actually, it is even easier - I also have Gnome but never use it - she can log 
into a Gnome session and use Icedove with no problems.

 As a temp fix I suppose you could move her data but if the reiserfs on
 which home is built is partially corrupt then you're building a brick
 wall on a house of cards.

 If you have a spare partition or drive, make one with JFS and copy the
 data to that.

Certainly - I plan to pick up another drive (or two) today and move everything 
away from the troubled filesystem while I still can.

Thanks.

-- 
David Bruce


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



Reiserfs corruption and KDM login problems

2006-11-29 Thread David Bruce
I have a problem with my Sid system after an unplanned reboot due to a power 
outage.  The reiserfsck fails to fix my /home (I have an LVM/raid1 setup) and 
says I need to do it manually using reiserfsck --rebuild-tree, which also 
fails, saying I need to use reiserfs --rebuild-sb, which also fails.   I 
think I may need to migrate my /home to ext3 or something.

Anyway, after resuming the boot sequence, the system seems to come up normally 
and I can log in without problems.  However, my wife's login is hosed.  KDM 
displays a dialog saying:

 Could not start kstartupconfig. Check your installation

It seems her ~/.kde directory has problems with corrupted file permissions.

debian:/home/janis/.kde# ls -l
total 0
?- ? ? ? ?? Autostart
?- ? ? ? ?? cache-debian
?- ? ? ? ?? share
?- ? ? ? ?? socket-debian
?- ? ? ? ?? tmp-debian

Is there a quick fix I can do to get her into her email for today?  I tried 
copying my own .kde into her home and changing the ownership, but KDM locked 
up when I tried to log in as her.  Maybe I should create a new user account 
for her and manually move data from her home dir? Any suggestions would be 
appreciated.

David Bruce


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



Re: Reiserfs corruption and KDM login problems

2006-11-29 Thread Douglas Tutty
On Wed, Nov 29, 2006 at 08:51:55AM -0500, David Bruce wrote:
 I have a problem with my Sid system after an unplanned reboot due to a power 
 outage.  The reiserfsck fails to fix my /home (I have an LVM/raid1 setup) and 
 says I need to do it manually using reiserfsck --rebuild-tree, which also 
 fails, saying I need to use reiserfs --rebuild-sb, which also fails.   I 
 think I may need to migrate my /home to ext3 or something.

There was a thread not that long ago about this very issue.  I have
unreliable power without UPS.  I migrated from ext3 due to power-failure
induced corruption and I moved from reiserfs to JFS for the same reason.
I have had absolutly no problems with JFS.  

On the other hand, Sid is by definition unstable.  Perhaps there's a bug
in your version of reiserfsck.

Search the archives for entries containing both reiserfs and jfs; it may
prove usefull.

 
 Anyway, after resuming the boot sequence, the system seems to come up 
 normally 
 and I can log in without problems.  However, my wife's login is hosed.  KDM 
 displays a dialog saying:
 
  Could not start kstartupconfig. Check your installation
 
 It seems her ~/.kde directory has problems with corrupted file permissions.
 
 debian:/home/janis/.kde# ls -l
 total 0
 ?- ? ? ? ?? Autostart
 ?- ? ? ? ?? cache-debian
 ?- ? ? ? ?? share
 ?- ? ? ? ?? socket-debian
 ?- ? ? ? ?? tmp-debian
 
 Is there a quick fix I can do to get her into her email for today?  

Use mutt.

I tried copying my own .kde into her home and changing the ownership,
but KDM locked up when I tried to log in as her.  Maybe I should create
a new user account for her and manually move data from her home dir?
Any suggestions would be appreciated.
 

I hope you have good backups.  If you don't make one with the data you
have now.

As a temp fix I suppose you could move her data but if the reiserfs on
which home is built is partially corrupt then you're building a brick
wall on a house of cards.

If you have a spare partition or drive, make one with JFS and copy the
data to that.

Good luck.

Doug.


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



RE: exim/courier-imap login problems

2002-09-24 Thread Jonas Persson

I am using courier-imap with the following settings and it works perfectly. Do you get 
any error
messages while trying to connect to imapd ? to set up an account i simply add a 
standard linux user
and run maildirmake ~account/Maildir and after that it's possible for the user to 
login to the imap
server with his linux login/pw. I am using Exim as MTA.

/Jonas

/etc/courier/authdaemonrc

authmodulelist=authpam
authmodulelistorig=authcustom authcram authuserdb authldap authmysql authpam
daemons=5
version=
authdaemonvar=/var/run/courier/authdaemon

/etc/courier/imapd

ADDRESS=0
PORT=143
MAXDAEMONS=40
MAXPERIP=4
PIDFILE=/var/run/courier/imapd.pid
TCPDOPTS=-nodnslookup -noidentlookup
AUTHMODULES=authdaemon
AUTHMODULES_ORIG=authdaemon
IMAP_CAPABILITY=IMAP4rev1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
SORT
IMAP_CAPABILITY_ORIG=IMAP4rev1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES SORT AUTH=CRAM
-MD5 AUTH=CRAM-SHA1 IDLEIMAP_IDLE_TIMEOUT=60
IMAP_CAPABILITY_TLS=$IMAP_CAPABILITY AUTH=PLAIN
IMAP_DISABLETHREADSORT=0IMAP_DISABLETHREADSORT=0
IMAP_IDLE_TIMEOUT=60IMAP_CHECK_ALL_FOLDERS=0
IMAP_OBSOLETE_CLIENT=0IMAP_OBSOLETE_CLIENT=0
IMAP_ULIMITD=65536IMAP_ULIMITD=65536
IMAP_USELOCKS=0IMAP_USELOCKS=0
IMAP_EMPTYTRASH=Trash:7IMAP_EMPTYTRASH=Trash:7
IMAP_MOVE_EXPUNGE_TO_TRASH=0
IMAPDSTART=YESIMAPDSTART=YES
IMAP_EMPTYTRASH=Trash:7

-Original Message-
From: Brendan J Simon [mailto:[EMAIL PROTECTED]]
Sent: den 24 september 2002 07:51
To: [EMAIL PROTECTED]
Subject: exim/courier-imap login problems



I'm currently running exim MTA for a small group.  Most are using POP 
cleints but I prefer to use IMAP.  I would also like to use IMAP with 
SSL/TLS support.  I have been running the package called imap and it 
has been working fine except that it takes up 70MB of memory.  I'm not 
sure whiy but maybe it's got something to do with Exim storing files in 
MBOX format ???  My inbox (/var/mail/bjsimon) is 14MB.

 From reading some of the posts on this list, I think I can configure 
Exim to use maildir format.  Does anyone know if this will reduce the 
memory used for imapd ?

Will my exisiting mail still be available ?  If so, do I have to do 
anything special ?

 From the debian package information and courier docs, it seems that 
courier is quite big and well thoguht out.  Can anyone shed some light 
on how it compares with Exim as an MTA ?  Is it better, faster, more 
scaleable than Exim.  What are the pros and cons (briefly).

I tried the courier-imap and courier-imap-ssl packages but could not get 
any of them to work.  My mail client couldn't login.  I believe I am 
using the PAM authentication module so I shouldn't need the /etc/userdb 
file, right ??  It should just work using the standard user logins right ???

Thanks for any help (ps, I'm using Debian 3.0 on PowerPC and Intel systems)
Kind regards,
Brendan Simon.


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


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




exim/courier-imap login problems

2002-09-23 Thread Brendan J Simon


I'm currently running exim MTA for a small group.  Most are using POP 
cleints but I prefer to use IMAP.  I would also like to use IMAP with 
SSL/TLS support.  I have been running the package called imap and it 
has been working fine except that it takes up 70MB of memory.  I'm not 
sure whiy but maybe it's got something to do with Exim storing files in 
MBOX format ???  My inbox (/var/mail/bjsimon) is 14MB.

 From reading some of the posts on this list, I think I can configure 
Exim to use maildir format.  Does anyone know if this will reduce the 
memory used for imapd ?

Will my exisiting mail still be available ?  If so, do I have to do 
anything special ?

 From the debian package information and courier docs, it seems that 
courier is quite big and well thoguht out.  Can anyone shed some light 
on how it compares with Exim as an MTA ?  Is it better, faster, more 
scaleable than Exim.  What are the pros and cons (briefly).

I tried the courier-imap and courier-imap-ssl packages but could not get 
any of them to work.  My mail client couldn't login.  I believe I am 
using the PAM authentication module so I shouldn't need the /etc/userdb 
file, right ??  It should just work using the standard user logins right ???

Thanks for any help (ps, I'm using Debian 3.0 on PowerPC and Intel systems)
Kind regards,
Brendan Simon.


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




KDE Login problems

2001-12-04 Thread Jeff Vincent
Hey all,

I have two machines running Debian (woody - testing) and both are
seemingly up-to-date.  One was installed by me, the other by my
co-worker.  They both have kdm as the desktop (or is it display?) 
manager and kde installed.

On his machine however, when attempting to log into an X session using
KDE, it gets to the Initializing peripherals . . . portion of th KDE
startup and then it seems that the Xserver spontaneously restarts and I
am back at the login prompt.  I can't find any core dumps nor do the
messages in /var/log/XFree86.0.log or ~/.xsession.errors seem to point
to anything specific.  (Contents of both files pasted below - sorry if
it is too long.)

GNOME over kdm seems to work.   I have searched the archives and have
seen suggestions that the /etc/X11/Xsession.d/99xfree96-common_start
should have line that looks like exec $REALSTARTUP which mine does (no
quotes in the actual file ;-)

I have done the following:

- removed ALL KDE/KDM related components using 'apt-get remove'.
- used 'dpkg --purge' on all packages that were uninstalled
- reinstalled kdm using 'apt-get install kdm'
- reinstalled kdebase

At this point I can log in w/ KDE.  

- I then ran  'apt-get install konsole' that installed both 'konsole'
and it's dependency 'kdebase-libs'.  

Things stopped working again.  

-  I then uninstalled 'konsole' and still nothing.
-  I uninstalled 'kdebase-libs', it works again.  The version I am
using for the kdebase and kdebase-libs packages is 2.2.1.0-6 on both
machines.

Anyone know what other components/applications would cause
conflicts/problems with kdebase-libs?

Thanks,

Jeff

// from .xsession.errors 
xsession-errors: unmodified: line 1ICE-unix should be set to root
DCOPServer up and running.
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
KLauncher: Exiting on signal 1
kdeinit: sending SIGTERM to children.
kdeinit: Exit.
//End .xsession.errors

//From /var/log/XFree86.0.log
This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86@XFree86.Org and patches
submitted
to [EMAIL PROTECTED]  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: xx August 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.13 i686 [ELF] 
Module Loader present
(==) Log file: /var/log/XFree86.0.log, Time: Tue Dec  4 13:42:12
2001
(==) Using config file: /etc/X11/XF86Config-4
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout Default Layout
(**) |--Screen Default Screen (0)
(**) |   |--Monitor Generic Monitor
(**) |   |--Device Generic Video Card
(**) |--Input Device Generic Keyboard
(**) Option XkbRules xfree86
(**) XKB: rules: xfree86
(**) Option XkbModel pc104
(**) XKB: model: pc104
(**) Option XkbLayout us
(**) XKB: layout: us
(==) Keyboard: CustomKeycode disabled
(**) |--Input Device Configured Mouse
(WW) The directory /usr/lib/X11/fonts/cyrillic does not exist.
Entry deleted from font path.
(**) FontPath set to
unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi
(==) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(++) using VT number 7

(WW) Cannot open APM
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.4
XFree86 XInput driver : 0.2
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
compiled for 4.1.0.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=The XFree86 Project
compiled for 4.1.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,71a2 card , rev 00 class 06,00,00
hdr 00
(II) PCI: 00:03:0: chip 1014,002e card , rev 04 class 01,00,00
hdr 00
(II) PCI: 00:04:0: chip 1014,0022 card 

root login problems

2001-12-01 Thread jerry
after upgrading from progeny to woody over the last few days, I am 
unable to log into the computer as root user, fails as auth failure, I 
can login as regular user and then SU to root, the password is accepted 
and I am root  with all priveledges. I have run passwd root and entered 
the new password with the verification being accepted, so I think that's 
not the problem, but I don't know. I am looking for some place to start 
troubleshooting

Thank you
Jerry



Re: root login problems

2001-12-01 Thread Robert Walker

You could have a look at the /etc/securetty file. The file contains the
list of the tty's root is allowed to use to login directly.

$ man securetty
could be helpful.

Robert Walker.

On Sat, 1 Dec 2001, jerry wrote:

 after upgrading from progeny to woody over the last few days, I am
 unable to log into the computer as root user, fails as auth failure, I
 can login as regular user and then SU to root, the password is accepted
 and I am root  with all priveledges. I have run passwd root and entered
 the new password with the verification being accepted, so I think that's
 not the problem, but I don't know. I am looking for some place to start
 troubleshooting
 Thank you
 Jerry


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




Re: root login problems

2001-12-01 Thread Jerome Acks Jr

jerry wrote:

after upgrading from progeny to woody over the last few days, I am 
unable to log into the computer as root user, fails as auth failure, I 
can login as regular user and then SU to root, the password is accepted 
and I am root  with all priveledges. I have run passwd root and entered 
the new password with the verification being accepted, so I think that's 
not the problem, but I don't know. I am looking for some place to start 
troubleshooting

Thank you
Jerry




If you are trying to login as root through gdm , look at the 
/etc/gdm/gdm.conf file. Root login is disallowed for security reasons. 
Also the same for xdm and kdm, I think.


Can you login as root using one of the virtual terminals?

--
Jerome



Re: xdm login problems

2001-08-01 Thread Debian GNU

Hi

I also got the same error when I uninstalled xdm,  and
re-installed it later. I couldn't find any solution
till now and I am also interested in a solution. I
installed gdm as a substitute for temporary operation.

Rds,

Deb
--- Pedro Quaresma de Almeida [EMAIL PROTECTED] wrote:
 Andy Saxena writes:
   On Monday July 30 2001 14:46, Pedro Quaresma de
 Almeida wrote:
Hi
   
my xdm setup is broken... :(
   
When I try to run xdm, it starts nicely showing
 the login-screen but
when I try to login it fails returning to the
 xdm login-screen.
   
Whats the problem?
   
Can you help me? Thank you.
   
   You need to provide more details. When you say
 it fails exactly what 
   happens? Does the login screen reappear after
 disappearing for a second? Or 
   do you get another message?
   
   -Andy
   
 
 Trying to provide more info.
 
 i) xdm starts and show the login/password screen :)
 
 ii) I provide my username and password :)
 
 iii) the login/password screen disappears :)
 
 iv) the user's X session does not begin, instead the
 X servers is
  initialised (it seems like that) and the
 login/password screen
  reappears :(
 
 I am trying to look in the /etc/X11/xdm/ files for
 something wrong but
 without any luck...
 
 The end of the file /etc/X11/xdm/xdm-errors looks
 like this
 
  AUDIT: Tue Jul 31 10:28:47 2001: 2324 X: client 3
 rejected from local host
Auth name: XDM-AUTHORIZATION-1 ID: -1
  Xlib: connection to :0.0 refused by server
  Xlib: Client is not authorized to connect to Server
  xmodmap:  unable to open display ':0'
  (--) SVGA: Read OPTION 0x40079121
  xdm error (pid 2371): fatal IO error 32 (Broken
 pipe)
 
 Thanks.
 
 -- 
 
 Pedro Quaresma de Almeida
 e-mail: [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Re: xdm login problems

2001-08-01 Thread James Preston
-BEGIN PGP SIGNED MESSAGE-

Hi,

When xdm exits straight back to the login prompt again, it
usually indicate a problem with the configuration scripts
and/or your window manager.

One rough fumble-blindly solution would be to reinstall xdm and your
window manager (perhaps with a purge'd remove first) and you'll likely
get back to a working state.  Not ideal.

Other things to check for (I'm not the xdm package manager obviously,
to YMMV):

  - check the permission of the files run by xdm, especially those
in your home director: eg. .xinitrc, .xsession (either/both)

  - check the .xinit.err file (if any)

  - make sure you can run your wm (eg. just run fvwm from the
command line and you should get unable to open display and
no some link error)

On Wed, Aug 01, 2001 at 01:01:52AM -0700, Debian GNU wrote:
  Andy Saxena writes:
[...]
  X servers is
   initialised (it seems like that) and the
  login/password screen
   reappears :(
  
   AUDIT: Tue Jul 31 10:28:47 2001: 2324 X: client 3
  rejected from local host
 Auth name: XDM-AUTHORIZATION-1 ID: -1
   Xlib: connection to :0.0 refused by server
   Xlib: Client is not authorized to connect to Server
   xmodmap:  unable to open display ':0'
   (--) SVGA: Read OPTION 0x40079121
   xdm error (pid 2371): fatal IO error 32 (Broken
  pipe)

This specific error say that the X client library (Xlib) wasn't able to
connect to the server.  This shouldn't happen with xdm as it should set
up the .Xauthority file for you (the Xstartup script).  You could
perhaps remove the ~/.Xauthority file and restart xdm (ie.
ctrl-alt-backspace):  perhaps the file can't be written to. (??)

The fact the xmodmap is also running (and failing) says that your
start-up script is probably okay.

Hope some of the above leads you to a solution,

James.

PGP Key: http://www.mds.rmit.edu.au/~james/plan

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQBVAwUBO2e7XSX8mcqArqQRAQFUfwH+O8gbHJRdLPVzmOFXOwj3R1KUi2RmdHeg
220KrV28G81NBXt1RRTT7uLBmc27sT2/wvrMKX8oSYnVB9ycLZ6ZpA==
=u/fB
-END PGP SIGNATURE-



Re: xdm login problems

2001-07-31 Thread Andy Saxena
On Monday July 30 2001 14:46, Pedro Quaresma de Almeida wrote:
 Hi

 my xdm setup is broken... :(

 When I try to run xdm, it starts nicely showing the login-screen but
 when I try to login it fails returning to the xdm login-screen.

 Whats the problem?

 Can you help me? Thank you.

You need to provide more details. When you say it fails exactly what 
happens? Does the login screen reappear after disappearing for a second? Or 
do you get another message?

-Andy



Re: xdm login problems

2001-07-31 Thread Pedro Quaresma de Almeida
Andy Saxena writes:
  On Monday July 30 2001 14:46, Pedro Quaresma de Almeida wrote:
   Hi
  
   my xdm setup is broken... :(
  
   When I try to run xdm, it starts nicely showing the login-screen but
   when I try to login it fails returning to the xdm login-screen.
  
   Whats the problem?
  
   Can you help me? Thank you.
  
  You need to provide more details. When you say it fails exactly what 
  happens? Does the login screen reappear after disappearing for a second? Or 
  do you get another message?
  
  -Andy
  

Trying to provide more info.

i) xdm starts and show the login/password screen :)

ii) I provide my username and password :)

iii) the login/password screen disappears :)

iv) the user's X session does not begin, instead the X servers is
 initialised (it seems like that) and the login/password screen
 reappears :(

I am trying to look in the /etc/X11/xdm/ files for something wrong but
without any luck...

The end of the file /etc/X11/xdm/xdm-errors looks like this

 AUDIT: Tue Jul 31 10:28:47 2001: 2324 X: client 3 rejected from local host
   Auth name: XDM-AUTHORIZATION-1 ID: -1
 Xlib: connection to :0.0 refused by server
 Xlib: Client is not authorized to connect to Server
 xmodmap:  unable to open display ':0'
 (--) SVGA: Read OPTION 0x40079121
 xdm error (pid 2371): fatal IO error 32 (Broken pipe)

Thanks.

-- 

Pedro Quaresma de Almeida
e-mail: [EMAIL PROTECTED]



Fwd: Re: xdm login problems

2001-07-31 Thread Andy Saxena
Andy Saxena writes:
  On Monday July 30 2001 14:46, Pedro Quaresma de Almeida wrote:
   Hi
  
   my xdm setup is broken... :(
  
   When I try to run xdm, it starts nicely showing the login-screen but
   when I try to login it fails returning to the xdm login-screen.
  
   Whats the problem?
  
   Can you help me? Thank you.
 
  You need to provide more details. When you say it fails exactly what
  happens? Does the login screen reappear after disappearing for a
  second? Or
  do you get another message?
 
  -Andy

Pedro said:

Thank you for your answer.

Trying to provide more info.

i) xdm starts and show the login/password screen :)

ii) I provide my username and password :)

iii) the login/password screen disappears :)

iv) the user's X session does not begin, instead the X servers is
initialised (it seems like that) and the login/password screen
reappears :(

I am trying to look in the /etc/X11/xdm/ files for something wrong but
without any luck...

The end of the file /etc/X11/xdm/xdm-errors looks like this

AUDIT: Tue Jul 31 10:28:47 2001: 2324 X: client 3 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
Xlib: connection to :0.0 refused by server
Xlib: Client is not authorized to connect to Server
xmodmap:  unable to open display ':0'
(--) SVGA: Read OPTION 0x40079121
xdm error (pid 2371): fatal IO error 32 (Broken pipe)

Thanks.

--
At\'e breve

Pedro Quaresma
Departamento de Matem\'atica
Faculdade de Ci\^encias e Tecnologia
Universidade de Coimbra
P-3000 COIMBRA, PORTUGAL
e-mail: [EMAIL PROTECTED]
url: http://www.mat.uc.pt/~pedro/
phone: 351+ 239 791 181

---



xdm login problems

2001-07-30 Thread Pedro Quaresma de Almeida
Hi

my xdm setup is broken... :(

When I try to run xdm, it starts nicely showing the login-screen but
when I try to login it fails returning to the xdm login-screen.

Whats the problem?

Can you help me? Thank you.

-- 

Pedro Quaresma de Almeida
e-mail: [EMAIL PROTECTED]



nis login problems

2001-04-09 Thread Andrew D Dixon
Hi All,
I'm trying to implement NIS and I'm stuck.

I've set up the server on our RedHat machine and the client on my Debian
box.

When I run ypcat I get the following:

[EMAIL PROTECTED]:~$ ypcat passwd
andrew.dixon:$1$h7CPc4pd$WilaTSJaZOPgHfvhqwVnJ.:11424:11424::/home/andrew.dixon:/bin/bash

ming.gao:$1$eYE/v93N$X8a4bjprJCPYvI6/efDGB/:11423:11423::/home/ming.gao:/bin/bash

mike.wilson:$1$KXvcabWc$SHuCdrhC00VP4yAbTzYW..:11422:11422::/home/mike.wilson:/bin/bash

brad.kemp:$1$aSXA.ncX$93r3dg1PQ9azJtady8iAq/:502:502::/home/brad.kemp:/bin/bash

and when I run $ypmatch andrew.dixon passwd:

[EMAIL PROTECTED]:~$ ypmatch andrew.dixon passwd
andrew.dixon:$1$h7CPc4pd$WilaTSJaZOPgHfvhqwVnJ.:11424:11424::/home/andrew.dixon:/bin/bash



The problem is that when I try to login with the username andrew.dixon
on my Debian box the login fails.  It does fail differently then if
I just give it a garbage login so I do believe that it is accessing the
maps in some way.

The RedHat server is also running shadow password which I know can cause
trouble for NIS.

Any help would be greatly appreciated.

Thanks,
Andy



Re: nis login problems

2001-04-09 Thread Andrew D Dixon
Just figured out that this does actually work.  The problem is that I had gdm 
running on the
Linux box and the RedHat server logs you into runlevel 3.

I'll start to look into gdm to tell it to deal with NIS but has anyone come 
across this
problem before?

thanks,
Andy

Andrew D Dixon wrote:

 Hi All,
 I'm trying to implement NIS and I'm stuck.

 I've set up the server on our RedHat machine and the client on my Debian
 box.

 When I run ypcat I get the following:

 [EMAIL PROTECTED]:~$ ypcat passwd
 andrew.dixon:$1$h7CPc4pd$WilaTSJaZOPgHfvhqwVnJ.:11424:11424::/home/andrew.dixon:/bin/bash

 ming.gao:$1$eYE/v93N$X8a4bjprJCPYvI6/efDGB/:11423:11423::/home/ming.gao:/bin/bash

 mike.wilson:$1$KXvcabWc$SHuCdrhC00VP4yAbTzYW..:11422:11422::/home/mike.wilson:/bin/bash

 brad.kemp:$1$aSXA.ncX$93r3dg1PQ9azJtady8iAq/:502:502::/home/brad.kemp:/bin/bash

 and when I run $ypmatch andrew.dixon passwd:

 [EMAIL PROTECTED]:~$ ypmatch andrew.dixon passwd
 andrew.dixon:$1$h7CPc4pd$WilaTSJaZOPgHfvhqwVnJ.:11424:11424::/home/andrew.dixon:/bin/bash

 The problem is that when I try to login with the username andrew.dixon
 on my Debian box the login fails.  It does fail differently then if
 I just give it a garbage login so I do believe that it is accessing the
 maps in some way.

 The RedHat server is also running shadow password which I know can cause
 trouble for NIS.

 Any help would be greatly appreciated.

 Thanks,
 Andy

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



Re: nis login problems

2001-04-09 Thread Nate Amsden
Andrew D Dixon wrote:

 The problem is that when I try to login with the username andrew.dixon
 on my Debian box the login fails.  It does fail differently then if
 I just give it a garbage login so I do believe that it is accessing the
 maps in some way.

did you follow the directions noted when you installed the nis package?
i.e. you have to have something like
+:::
in /etc/passwd
and
+:::
in /etc/group
(that may not be the right number of colons, check the docs)

for nis logins to work.. i use it on one debian 2.2 machine at work(client)
and the NIS server is a solaris machine, works great, i think the only
thing that doesn't work is changing the password from the client(although
i haven't tried it in months), since nobody but the IT staff can login
to it though its not an issue.

nate


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



Re: nis login problems

2001-04-09 Thread Michael Soulier
On Mon, Apr 09, 2001 at 11:34:25AM -0500, Andrew D Dixon wrote:

 The RedHat server is also running shadow password which I know can cause
 trouble for NIS.

Seems like you already said it to me. I'm no NIS expert, but I'd
double-check the maps that it's pushing out to the client. Make sure that the
shadow passwords aren't pushing something stupid for the password, like ! or
*. 

Anything in the relevant log files?

Mike

-- 
Michael P. Soulier, TD12, SKY  Tel: 613-765-4699 (ESN: 39-54699)
Optical Networks, Nortel Networks, SDE Pegasus
With sufficient thrust, pigs fly just fine. However, this is not necessarily a
good idea. It is hard to be sure where they are going to land, and it could be
dangerous sitting under them as they fly overhead. -- RFC 1925
Nortel Linux User's Group Ottawa: (internal) http://nlug.ca.nortel.com



Login-Problems

2001-03-28 Thread Marcel Frehner
Since I accidentally switched off my computer simly using the power-button
instead of shutdown -h now, I can't log in anymore as user to fvwm2. It
still works if I log in as root. I tried to add a new user but I had the same
problem with logging in again. The problem only arises with fvwm2 everything is
alright when I'm logging in without any gui. What can I do?

Thanks to anybody helping me!

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



Re: Login-Problems

2001-03-28 Thread Nate Amsden
Marcel Frehner wrote:
 
 Since I accidentally switched off my computer simly using the power-button
 instead of shutdown -h now, I can't log in anymore as user to fvwm2. It
 still works if I log in as root. I tried to add a new user but I had the same
 problem with logging in again. The problem only arises with fvwm2 everything 
 is
 alright when I'm logging in without any gui. What can I do?
 
 Thanks to anybody helping me!

first thing i'd try is to reinstall fvwm2

apt-get remove fvwm2 ; dpkg --purge fvwm2 ; apt-get clean ; apt-get update ;
apt-get install fvwm2

to be sure its the latest  greatest.

and/or run X via 'startx'(not by a display manager) and check the errors:

startx /tmp/X.log

and check X.log to see what is wrong

nate

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



You don't exist, go away! login problems (was Re: This is too strange.)

2001-01-23 Thread kmself
Use a descriptive subject line.  Note change.

on Wed, Jan 24, 2001 at 12:03:11AM +1100, Bill Shui ([EMAIL PROTECTED]) wrote:
 Hi,
 I have been running Debian Testing for the last few days.
 
 Just a few minutes ago, I have noticed that I could no longer log
 in as any user. 
   That is, I cannot even log in as root from the console. The system
 was not connected to the net.
 
 Luckily, I have one root shell opened, so I could still do
 things like apt-get get.
 
 but I can't do su or sudo ,etc. it always returned me error
 message:
  
 You don't exist, go away!
 
 I have checked my /etc/passwd and /etc/shadow files.
 they are in the right format.

Search the error message in Google or Deja.  You've probably got a UID
problem, and I'd suspect password/shadow file problems, despite your
statement.  

How did you validate these files?  Anyone know of validator tools for
these file formats?  Do you have backup copies of either (system
backups, or the local '~' backups.

-- 
Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/
 What part of Gestalt don't you understand?   There is no K5 cabal
  http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org


pgpioffftbIJ2.pgp
Description: PGP signature


xdm login problems

2000-08-17 Thread Nathan Smith
Hello all:

A strange problem with xdm.  The setup is this:  a NIS server we'll cleverly
call server, and a NIS client we'll cleverly call client.  xdm works
with no problems on server.  Console logins on client work fine.
However if I start xdm and then try to log in on client the following
happen:

when attempting to log in as a regular user the screen accepts the
correct password, goes blank and clicks for a second, then goes back to
the xdm login prompt.  Deliberately (or indeliberately) entering an
incorrect password results in the usual incorrect login message.  When
attempting to log in as root on client using the client root password,
xdm gives the incorrect login message.  When attempting to log in as
root on client using server's root password the screen goes blank and
clicks for a second, then goes back to the xdm login prompt.

Logging in on the console then typing startx starts X on the client
fine, so I don't think it's a problem analogous to trying to log in with
no shell.  The following lines are from the xdm.log file:

AUDIT: Thu Aug 17 03:40:27 2000: 621 X: client 2 rejected from local
host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
Xlib: connection to :0.0 refused by server
Xlib: Client is not authorized to connect to Server
/usr/X11R6/bin/xrdb: Can't open display ':0'
AUDIT: Thu Aug 17 03:40:27 2000: 621 X: client 3 rejected from local
host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
Xlib: connection to :0.0 refused by server
Xlib: Client is not authorized to connect to Server
xmodmap:  unable to open display ':0'
AUDIT: Thu Aug 17 03:40:30 2000: 621 X: client 2 rejected from local
host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Thu Aug 17 03:40:30 2000: 621 X: client 2 rejected from local
host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Thu Aug 17 03:40:30 2000: 621 X: client 2 rejected from local
host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Thu Aug 17 03:40:30 2000: 621 X: client 2 rejected from local
host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Thu Aug 17 03:40:30 2000: 621 X: client 2 rejected from local
host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Thu Aug 17 03:40:31 2000: 621 X: client 2 rejected from local
host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Thu Aug 17 03:40:31 2000: 621 X: client 2 rejected from local
host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Thu Aug 17 03:40:32 2000: 621 X: client 2 rejected from local
host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
Xlib: connection to :0.0 refused by server
Xlib: Client is not authorized to connect to Server
/usr/X11R6/bin/xrdb: Can't open display ':0'
AUDIT: Thu Aug 17 03:40:32 2000: 621 X: client 3 rejected from local
host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
Xlib: connection to :0.0 refused by server
Xlib: Client is not authorized to connect to Server
xmodmap:  unable to open display ':0'

Any suggestions would be greatly appreciated.

Thanks,

Nate



login problems

1998-12-30 Thread Paulussen Edmond
Last week I installed Debian GNU/Linux 2.0
Everything went (quite) well. I installed Linux, windowmanager, Netscape, 
connection with my ISP,... and got it working.

Since yesterday I am unable to login. After login (with correct username  
password) I get following error message:

login [128] unable to change tty '/dev/tty1' for user root
 Unable to change tty /dev/tty1: illegal seek

I get the error message at every login (root, normal user)

What is the problem?
What have I done wrong?
What is the solution?

Paulussen Edmond


Re: login problems

1998-12-30 Thread Jim Foltz
On Wed, Dec 30, 1998 at 07:23:56PM +0100, Paulussen Edmond wrote:
 Last week I installed Debian GNU/Linux 2.0
 Everything went (quite) well. I installed Linux, windowmanager, Netscape, 
 connection with my ISP,... and got it working.
 
 Since yesterday I am unable to login. After login (with correct username  
 password) I get following error message:
 
 login [128] unable to change tty '/dev/tty1' for user root
  Unable to change tty /dev/tty1: illegal seek
 
 I get the error message at every login (root, normal user)
 
 What is the problem?

I don't know.

 What have I done wrong?

Maybe nothing.

 What is the solution?

I can only say what I would try: Use a rescue floppy to boot from. Mount
your root partition and cd to the /dev directory. Look at the owner and
permissions of the tty1 psuedo terminal. Change the owner, group and
permissions of /dev/tty1 to reasonable settings.

An example after booting from rescue floppy.

Mount the root under /mnt
# mount -t ext2 /dev/your-root-patition
# cd /mnt/dev
# ls -l tty1
crw---   1 jf   tty4,   1 Dec 30 14:00 /dev/tty1
# chown root.tty tty1
# chmod 666 tty1
# reboot


 
 Paulussen Edmond
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
--
Jim


login problems

1998-01-05 Thread Franck LE GALL - STAGIAIRE A FT.BD/CNET/DTD/PIH
Hi,
I got Debian 1.3.1 installed from hamm and I had a problem at the end of the 
install. Now, all works fine, except for the prompt login: as soon as I start
my computer, root is logged on and I can't exit from it. I created a user 
account but it doesn't change anything.

Thanks for help
Franck


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .