[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Solution to user admin losing ftp access to sites



>You will lose FTP access if user 'admin' belongs to more than 32 groups.
>This is a limitation of the Linux OS.  If you lower the number of
>groups admin belongs to to under 32, your problem should go away.

I am new to /etc/passwd and /etc/group, does anyone see a problem
with adding four new FTP admins, i.e., admin1,admin2,admin3,admin4

I then changed /etc/passwd/ admin from admin#:x:###:100: to
admin#:x:###:27: Is their a way to restrict these admins to
just the /home/sites/ directory? Then my designers will be 
unable to pokearound the system via FTP?

admin1:x:116:27:admin1:/home/sites/home/users/admin1:/bin/badsh
admin2:x:117:27:admin2:/home/sites/home/users/admin2:/bin/badsh
admin3:x:118:27:admin3:/home/sites/home/users/admin3:/bin/badsh 

Also in the group file I added admin1 to the first 30 sites,
admin2 to the next 30 sites, and so on.

Does anyone see a problem with this setup? Or is their a better
solution? I would like to give my html designers FTP access
to all the sites they admin... But I would like to keep them
restricted to /home/sites/ ???

Bill