LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-21-2003, 09:08 PM   #1
KneeLess
Member
 
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.

Thanks.
 
Old 06-22-2003, 04:01 AM   #2
SlashDebian
Member
 
Registered: Jan 2003
Posts: 35

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

Greetz
 
Old 06-22-2003, 10:41 AM   #3
nemesisza
Member
 
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: lqforums@nemesis.za.net

Thanks


Nemesis(ZA)
 
Old 06-22-2003, 09:08 PM   #4
KneeLess
Member
 
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, 09:23 PM   #5
Qwik
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-22-2003, 11:08 PM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

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

Cool
 
Old 06-23-2003, 08:51 PM   #7
KneeLess
Member
 
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, 07:29 AM   #8
figadiablo
Member
 
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.

Thanks
Figa
 
  


Reply


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 06:19 AM
Free Shell Accounts xKintaro General 2 10-18-2005 01:54 PM
Tightening shell accounts? SSH & RSync gian2oo1 Slackware 2 01-07-2005 02:15 PM
Free Shell Accounts anubis01 General 1 06-27-2004 01:45 PM
setting up/ giving out shell accounts skeletal29 Linux - Security 2 08-25-2002 02:36 AM


All times are GMT -5. The time now is 12:53 PM.

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