Koozali.org: home of the SME Server

Why Eliminate bash?

Offline jimgoode

  • *
  • 40
  • +0/-0
Why Eliminate bash?
« on: March 25, 2009, 10:38:06 PM »
I am upgrading from 6.0.1-01 to 7.4, but also experimented with a 7.4 clean install. One thing I noticed on the clean install was that /bin/bash, among other shells, had been eliminated.

Does anyone know why? How does one activate a non-root user for ssh access?

Thanks,
Jim

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Why Eliminate bash?
« Reply #1 on: March 25, 2009, 10:59:02 PM »
jimgoode:

if you feel something is wrong, please fill a bug in bugzilla.

anyway, you can change user's shell via db commands; search the wiki.

thank you
ciao
Stefano

Offline uniqsys

  • *
  • 133
  • +0/-0
Re: Why Eliminate bash?
« Reply #2 on: March 25, 2009, 11:02:42 PM »
I am upgrading from 6.0.1-01 to 7.4, but also experimented with a 7.4 clean install. One thing I noticed on the clean install was that /bin/bash, among other shells, had been eliminated.

Does anyone know why?
Security.  That should be obvious.

Quote
How does one activate a non-root user for ssh access?

Although not recommended there is a way around it.  Creating links and editing passwd.  Search the forum, I think this has been answered in detail before.
Quote
Thanks,
Jim
You're welcome!
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Why Eliminate bash?
« Reply #3 on: March 25, 2009, 11:16:08 PM »
I am upgrading from 6.0.1-01 to 7.4, but also experimented with a 7.4 clean install. One thing I noticed on the clean install was that /bin/bash, among other shells, had been eliminated.

/bin/bash has not been eliminated. It still exists on my system.

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Why Eliminate bash?
« Reply #4 on: March 26, 2009, 03:39:17 AM »
In the 7.x series, console access is disabled for all users except root and admin. This is by design.

To re-enable access, you can use the smeserver-remoteuseraccess contrib.