Wishlist: Implement a better "gecos" name for the LTSP guest users

Bug #412191 reported by Guillaume Pratte
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ltsp-cluster
Fix Committed
Wishlist
Marc Gariépy

Bug Description

The guest login button in LDM enables the creation of an account with a random name (gecos) such as zyHsUdQbnJlPwqCwe. This name may appear in different location in the user interface, including in the command line interface.

It would be nice to have a more "human" name for this value, such as "Guest user", "LTSP", or whatever. Ideally such name should be translatable -- or be universal across languages so it does not need translation.

Changed in ltsp-cluster:
status: New → In Progress
assignee: nobody → Marc Gariépy (mgariepy)
importance: Undecided → Low
importance: Low → Wishlist
Revision history for this message
Marc Gariépy (mgariepy) wrote :

Added the comment option for the useradd command.

=== modified file 'src/bin/ltsp-cluster-accountmanager'
--- src/bin/ltsp-cluster-accountmanager 2009-10-20 20:08:57 +0000
+++ src/bin/ltsp-cluster-accountmanager 2009-10-24 15:14:52 +0000
@@ -139,7 +139,7 @@

 def CreateAutologinUser(user, data):
     Log("Creating autologin user \""+user['name']+"\"")
- useradd=subprocess.Popen(["useradd","-K","UID_MIN="+str(autologin_uidmin),"-K","UID_MAX="+str(autologin_uidmax),"-d",autologin_root+user['name'],"-m","-s","/bin/bash","-G",autologin_groups,user['name']],stdout=subprocess.PIPE,stderr=subprocess.PIPE)
+ useradd=subprocess.Popen(["useradd","-K","UID_MIN="+str(autologin_uidmin),"-K","UID_MAX="+str(autologin_uidmax),"-d",autologin_root+user['name'],"-m","-s","/bin/bash","-c","LTSP","-G",autologin_groups,user['name']],stdout=subprocess.PIPE,stderr=subprocess.PIPE)
     if useradd.wait() != 0:
         Log("Failed to create user \""+user['name']+"\"")
         return

Changed in ltsp-cluster:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.