Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Son of BASH!
Message
General information
Forum:
Linux
Category:
Other
Title:
Miscellaneous
Thread ID:
00451468
Message ID:
00452288
Views:
18
>>Here's the problem: my user 'names' are 5 digit numbers. You can add them
>>with Kmuser, as I said before, but I have not been able to find a way
>>to make useradd work.
>>
>>Any suggestions?
>
>I suggest you don't use numerical usernames. =) That is a no no anyway, cause some programs will get confusled thinking that the name is the UID instead.

Ya, I know the risk I'm taking. But, the end justifies these means...
The users are income tax preparers and their id number is being used because
the files downloaded from the IRS are identified by these numbers and a Julian date. SuSE is being used as a BBS app and the users login with their number and a password. The shell is a bash script which allows them to only download existing files, change their password or logoff. Any other commands or keyboard entries are ignored (Cntl-C , Cntl-D, Cntl-Z, etc...). If they squat on the line it logs them out after 600 seconds.

The only program that is used is mgetty, which watches two dedicated phone lines. The phone company rolls an incoming call to the second line automatically if the first line is busy. A third simultaneous caller will just have to wait. The ReiserFS allows operation without an UPS and the whole system will be unattended. If the computer is shut off or the power goes out the phones won't answer an incoming call. After the power comes back on ReiserFS restores the filesystem and since mgetty is respawned it will always come back up, even if there is line noise or other unforseen problems. So far, it is working great. Besides 'basic' SuSE, the whole shebang is run using three scripts - one bash shell, one python script to distribute downloaded IRS files to user accounts so they can download them from us, and one bash script to call the python script. Simple.
JLK


>
>If you really really want to use numerical names, then create the names as characters, then scan through the passwd and shadow files and manually change them (with awk or something).
>
>j
Nebraska Dept of Revenue
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform