Re: Linux Customization
- From: Todd Knarr <tknarr@xxxxxxxxxxxxxxx>
- Date: Wed, 26 Jul 2006 15:29:20 GMT
Prafulla T <prafulla.tekawade@xxxxxxxxx> wrote:
Hello to everyone
We want to customize the red-linux in following manner.
We want some more controls on the initial screen that appears in the
red-linux(the one which prompts you to key in
user name & password).Actually,We want two more text boxes there (and
one combo box also),which,along with user name & password
,will take Student's name & his class as input & then we will send
those details to the central server which we can use for the
monitoring.
You probably don't need this customization. The name associated with
a username is part of the passwd file information you can retrieve
via the getpwnam() or getpwent() functions (specifically it's in the
GECOS field). As for the class, that'll depend on how you structure
your usernames. One common method is to assign a username per student
per class, so it's possible to encode the class in the username. If
a student uses a single login for all classes, you can't identify the
class at login time because the student may do work for more than one
class without logging out and back in again for each one. Without
knowing why you want class information and what you want to do with
it I can't tell you whether what you need's already available or not.
--
death.net: because for some problems there's only one solution.
.
- References:
- Linux Customization
- From: Prafulla T
- Linux Customization
- Prev by Date: Driver memory footprint estimation
- Next by Date: 2.6 module makefile - official syntax for SUBDIRS argument
- Previous by thread: Linux Customization
- Next by thread: Linux Customization
- Index(es):
Relevant Pages
|