Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: robyboy on January 23, 2008, 07:07:22 PM

Title: deleting user ssh access
Post by: robyboy on January 23, 2008, 07:07:22 PM
Hi!

I create an user ssh access with this commands:

db accounts setprop username Shell /bin/bash
chsh -s /bin/bash username

How can I remove this settings?
Title: Re: deleting user ssh access
Post by: raem on January 24, 2008, 02:49:53 PM
robyboy

To get the syntax for the db command, at the command prompt type
db

Title: Re: deleting user ssh access
Post by: Jáder on January 25, 2008, 01:14:37 PM
Hi!

I create an user ssh access with this commands:

db accounts setprop username Shell /bin/bash
chsh -s /bin/bash username

How can I remove this settings?


Hi

I´d like to advise you to do not use command line when web interface is available. It´s a BAD and unsafe choice.

for now, you should to be able to delete your account using the web interface (users on left panel).
If this is not possible, please try: db accounts delprop username

SME is not a regular linux distro and should be used as planned (primary interface is WEB not command line!)
Title: Re: deleting user ssh access
Post by: cactus on January 25, 2008, 01:53:54 PM
Hi

I´d like to advise you to do not use command line when web interface is available. It´s a BAD and unsafe choice.

for now, you should to be able to delete your account using the web interface (users on left panel).
If this is not possible, please try: db accounts delprop username

SME is not a regular linux distro and should be used as planned (primary interface is WEB not command line!)
OP does not want to delete the user, OP wants to reset SSH access for a certain user, this can not be done per server-manager on a default setup. OP could consider installing smeserver-remoteuseraccess-1.2-13.el4.sme from http://www.dungog.net/wiki/Smeserver-remoteuseraccess as this will make it possible to set it per server-manager.