users-admin limitations

Questions about applications and software
Forum rules
Before you post please read how to get help

users-admin limitations

Postby reson5 on Wed May 28, 2008 6:58 am

Hi all
For most of the installations of LinuxMint the users' UIDs do not present a problem when managed via users-admin tool.
The tool is sleak and well matched with the LinuxMint look-and-feel.
The problem starts when LinuxMint is to be installed in existing and more demanding environment. In such case the 16bit integer limit on UID makes that tool unusable and a command line adduser has to be used.
I am sure there are other limitations but this one makes really no sense at all, as Linux itself (and UIDs as well) are at least 32bit for a long time.
Since I am not sure who supports LinuxMint version of users-admin tool (which seems to be very well integrated), I post it here and I hope that this post will get to the developers.
Regards,
Reson5
reson5
Level 1
Level 1
 
Posts: 1
Joined: Wed May 28, 2008 6:30 am

Linux Mint is funded by ads and donations.
 

Re: users-admin limitations

Postby Husse on Thu May 29, 2008 6:00 am

This is beyond my limitations :)
I'll see if you can get an answer from someone else
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: users-admin limitations

Postby clem on Thu May 29, 2008 8:12 am

Hi,

This is an upstream component packaged by Ubuntu. I would recommend to report a bug at this address: https://bugs.launchpad.net/ubuntu/+sour ... s/+filebug

Clem.
Image
User avatar
clem
Level 15
Level 15
 
Posts: 5580
Joined: Wed Nov 15, 2006 8:34 am

Re: users-admin limitations

Postby Boo on Thu May 29, 2008 10:10 am

I think the problem is an int in C is 16bits so ~65000 and no one has thought to use long (int) or 32bit.
also be careful as some GUI tools (or automatically set values) limit the range of available UIDs.
eg some config file has
first_uid=1000
last_uid=29999
(a quick check shows that /etc/adduser.conf has this)
an edit of these config files may fix them. eg last_uid=65000

why? who knows.
I have always marveled at how and why when someone creates a GUI that eventually runs cli command, why the give you less options or variable range than the command it self.

Boo
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am


Return to Software & Applications

Who is online

Users browsing this forum: slipstick, Yahoo [Bot] and 25 guests