Wishlist: Implement a better "gecos" name for the LTSP guest users
Bug #412191 reported by
Guillaume Pratte
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 |
To post a comment you must log in.
Added the comment option for the useradd command.
=== modified file 'src/bin/ ltsp-cluster- accountmanager' ltsp-cluster- accountmanager 2009-10-20 20:08:57 +0000 ltsp-cluster- accountmanager 2009-10-24 15:14:52 +0000
--- src/bin/
+++ src/bin/
@@ -139,7 +139,7 @@
def CreateAutologin User(user, data): 'name'] +"\"") 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) 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)
Log(" Failed to create user \""+user[ 'name'] +"\"")
Log("Creating autologin user \""+user[
- useradd=
+ useradd=
if useradd.wait() != 0:
return