Koozali.org: home of the SME Server

deleting user ssh access

robyboy

deleting user ssh access
« 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?

Offline raem

  • *
  • 3,972
  • +4/-0
Re: deleting user ssh access
« Reply #1 on: January 24, 2008, 02:49:53 PM »
robyboy

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

...

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: deleting user ssh access
« Reply #2 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!)
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: deleting user ssh access
« Reply #3 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)