Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: jimgoode on March 25, 2009, 10:38:06 PM

Title: Why Eliminate bash?
Post by: jimgoode 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
Title: Re: Why Eliminate bash?
Post by: Stefano 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
Title: Re: Why Eliminate bash?
Post by: uniqsys 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!
Title: Re: Why Eliminate bash?
Post by: CharlieBrady 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.
Title: Re: Why Eliminate bash?
Post by: David Harper 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.