• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: only root can login with new kernel  (Read 2026 times)
pirata
Newbie
*

Karma: 0
Posts: 2


View Profile
« on: September 09, 2009, 06:47:15 PM »

I recently build a new 2.6.30.5 kernel, everything works fine, except that i found i can only login as root.

When I login as other user, it succeed and shows last login time, then jump back to login prompt immediately.

It's not a root file system issue, because i put root file system on SD card, and use the same SD card tested with new kernel and original kernel. It works with original kernel.
( I have 2 plugpc, I upgraded kernel image in NAND flash on one PlugPC, another keep unchanged)

Can anybody confirm that this works on your plugpc. For example:
  root@debian:~# su backup
  $

On my PlugPC, i see:
  root@debian:~# su backup
  root@debian:~#

Any ideas?
Logged

cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« Reply #1 on: September 09, 2009, 07:09:08 PM »

This is clipped from http://sheeva.with-linux.com/sheeva/README-2.6.30.5.

####### change vm security settings
# Due to changes in vm security a change must be made in /etc/sysctl.d/10-process-security.conf.
# vm.mmap_min_addr should be set to 32768 (This change is safe for any kernel version).
# If this is not done it is likely that you will not be able to login remotely.
# Although you should still be able to login as root on the main console.
Logged

pirata
Newbie
*

Karma: 0
Posts: 2


View Profile
« Reply #2 on: September 09, 2009, 07:20:09 PM »

You are my hero.
I spend days on this issue.
Well, seems read the README file is a must from now on.
Logged

Pages: [1]
Print
Jump to: