Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-21-2003, 10:08 PM   #1
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Rep: Reputation: 30
How would I go about offering ssh Shell accounts?

Okay. I'm planning on setting up my now soon-to-be webserver to offer shell accounts under ssh. On logon it would greet the user, and tell him to logon as newuser or adduser or the like. Then it would throw him into creating a new user, but not with 'adduser' (since the user could easily just set the UID to 0, heh easiest root ever).

My friend told me to write a secure adduser program in C, only accepting the username and password as input from the user (the rest would be hardcoded into it).

But, C is not exactly my forte. I mean I could probably manage to do it, but it would take me a month or two to learn everything required. I've looked around, but to no avail.

Does anyone know of a way I could go about this easily? If not, any C programming guides that act around this (e.g. not general Learn C now! guides) will do fine.

Old 06-22-2003, 05:01 AM   #2
Registered: Jan 2003
Posts: 35

Rep: Reputation: 15
I can write this simple program for you. Send me a mail if you're interested -

Old 06-22-2003, 11:41 AM   #3
Registered: Apr 2003
Distribution: Slackware 9.1
Posts: 36

Rep: Reputation: 15
Hey KneeLess, I would be keen on checking out one of these free shell accounts. Please let me know when u have it up, I would be a keen contributor to your cause.

Email addy is:


Old 06-22-2003, 10:08 PM   #4
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Original Poster
Rep: Reputation: 30
Sure nemesisza.

Might be a few days though, I have to order new hard drives.
Old 06-22-2003, 10:23 PM   #5
LQ Newbie
Registered: Jun 2003
Location: Austin, Texas
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
may i ask, why would someone want a ssh shell account on somone else's computer?
Old 06-23-2003, 12:08 AM   #6
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
File storage/manipulation, pretty much any reason you have one on yours. Easiest reason being, more flexibility than just FTP/HTTP access.

Old 06-23-2003, 09:51 PM   #7
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Original Poster
Rep: Reputation: 30
Well, also, it will be a learning system. There will be generic 'help' commands to help Linux newbies learn their way around a command console without getting a distro themselves.

Sadly, I will have to secure this box up like a mobo (sorry for the intended pun ) so some commands will be unavailable.

Old 07-21-2003, 08:29 AM   #8
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
KneeLess if you ever do get your server running let me know. I am interested in optaining a account too.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
why shell accounts? arunswarup General 6 11-07-2005 07:19 AM
Free Shell Accounts xKintaro General 2 10-18-2005 02:54 PM
Tightening shell accounts? SSH & RSync gian2oo1 Slackware 2 01-07-2005 03:15 PM
Free Shell Accounts anubis01 General 1 06-27-2004 02:45 PM
setting up/ giving out shell accounts skeletal29 Linux - Security 2 08-25-2002 03:36 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration