Solved

ISP: HOWTO CREATE 10H accounts ??

Posted on 1997-12-10
7
225 Views
Last Modified: 2010-03-18
I'm setting up an ISP here in Portugal,I would like to create several demo accounts with 10 hours limit of internet access (PPP). Which program should I use to limit the user access to a determined number of hours? (Not per day... but total).
I'm using Slackware Linux 2.0.31, PPPD version 2.3.1, USR modems on a Cyclades serial ports ctrl.

Thank you,

Sergio
aranae.telecom@usa.net
0
Comment
Question by:vil
7 Comments
 

Expert Comment

by:moxie
ID: 1587071
You can use the generic Shadow Password suite to limit usage to 1 day or so.  The format is as thus:

login:password:Days since Jan 1, 1970 that password was last changed:Days before password may be changed:Days before password is to expire that user is warned:Days after password expires that account is disabled:Days since Jan 1, 1970 that account is disabled:reserved field.

So, simply change the second to last field to the day before the following day, and the account will expire at that time.

                  - Mike
0
 

Author Comment

by:vil
ID: 1587072
No... I was willing a 10 hour account... Not a single day.
Users should be able to use 10 hours in various days... No day limit.
0
 
LVL 2

Accepted Solution

by:
frowijn earned 80 total points
ID: 1587073
You can install a internet time server, this is found on the linux cd's, the sunsite part, somewhere with daemons, networks and modems, there is a help file with it, adjust it, boot it, and then it's possible to install a minimum time of users exacly you want it to, i am now at my work, so i can't check on what dir. it maybe found, when i find this week, i shall place a second answer,

Oscar Frowijn
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:vil
ID: 1587074
Adjusted points to 60
0
 

Expert Comment

by:brunocarpinteiro
ID: 1587075
Hello ! Check it on the Linux CD, somewhere near the modems, networks, deamons. Check it out... I'll check it on my CD..
0
 

Author Comment

by:vil
ID: 1587076
Adjusted points to 70
0
 

Author Comment

by:vil
ID: 1587077
Adjusted points to 80
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CPU#7 stuck for 22s! 4 315
Client VPN Solution with Different LAN Access Based On User 2 79
linux dns for internal resolve 2 59
OpenVPN Speed limitation to only 10 mbps 7 188
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question