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

RE: [cobalt-users] Raq4 Adding a second Server admin user



> 
> I have added the user on the command line logging in as root 
> and typing this "useradd -n sysadmin -p test -g admin -G 
> admin,site-adm,home -d /home/sites/home/users/sysadmin" This 
> adds a user with username sysadmin, password test and 
> permissions for the admin site, right??? I cant login as 
> sysadmin on FTP, Telnet, ssh, or the GUI. The sysadmin home 
> directory has been created but its in 
> /home/sites/home/users/sysadmin and I cant open the folder 
> logged in as admin. it says 550:permission denied! I'm 
> probably just missing something so simple.
> 
> Any Ideas?
There will be a separate home directory for each user. By default, when a user's home directory is created, no other users can get into that directory w/o you changing the permissions on that directory.
There should be plenty of posts in the archives on file or directory permissions.
Here's one that might help you get started http://www.linux-mag.com/2002-11/power_01.html

If you want a user that you can use through the GUI, I would add the user through the GUI. Then you can control the shell access from the GUI. Then you can add the user to the necessary groups on the command line later. Note, that this user will not be a root user, and will not have complete control of the server. This means you won't be able to edit settings in the control panel. The GUI will only let the admin and alteradmin account do this.

-Vidar

> 
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Ligard, Vidar
> Sent: 08 January 2004 21:45
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: RE: [cobalt-users] Raq4 Adding a second Server admin user
> 
> 
> > Sorry to be a real pain here but I'm new to Linux and all this 
> > telneting. Do I add the user to the home site of the server 
> in the GUI 
> > or do I add the user in a telnet session??
> >
> > If I have to add one in the telnet session any chance of letting me 
> > know how? Cheers Jason
> 
> If you are using telnet, I _strongly_ urge you to use SSH. 
> Telnet is not encrypted, and anyhting you type, including 
> passwords and usernames can be seen by hackers who are 
> sniffing the lines. If you are using windows to connect from, 
> you can download the puTTY ssh client at 
> http://www.chiark.greenend.org.uk/~sgtatham/putty/download.htm
> l (watch for the line wrap)
> 
> 
> I think I misread your first post. If you want a secondary 
> admin user to be able edit DNS entries and other server 
> config from the _GUI_, you will need to enable the account 
> called "alteradmin". If your box is with a hosting company, 
> they are probably using this account, and it would then be 
> unavailable to you. If you have physical control of the box, 
> the account is probably still available. On my XTR, it's 
> found under Personal Profile > Account > Enable 'Alteradmin' Account
> 
> 
> If you want to do stuff on the command line using another 
> admin account, you can add the user by typing: useradd -g 
> admin -G admin,site-adm,home,site2,site3,...,siteN -s /bin/bash
> 
> For more info on the command, type:
> man useradd
> 
> Vidar
> >
> > -----Original Message-----
> > From: cobalt-users-admin@xxxxxxxxxxxxxxx
> > [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of 
> Ligard, Vidar
> > Sent: 08 January 2004 20:18
> > To: cobalt-users@xxxxxxxxxxxxxxx
> > Subject: RE: [cobalt-users] Raq4 Adding a second Server admin user
> >
> >
> > > Hi,
> > > We have two people who set-up virtual sites and the DNS
> > server on our
> > > raqs. Me and my college. I can never remember passwords 
> unless they 
> > > are something personal. but we have some silly made up
> > password which
> > > means nothing.
> > >
> > > SO...
> > > Is it possible to set-up a second admin username something
> > like admin2
> > > which will allow me into the admin GUI and give me the same file 
> > > permissions as the user admin. Meaning I could have a separate 
> > > password which I can remember?
> >
> > Yes, you can add a user (with any username),
> > and make sure they are in the same groups as the
> > Admin user. After adding the user, edit the etc/groups file 
> Be careful 
> > if you edit the raw file, you don't want to make mistakes here.
> >
> > Or you can use commandline tools to add groups:
> > usermod -G [comma-separated list of groups] [username]
> >
> > If you want 2 superuser (root) accounts, edit the /etc/passwd file, 
> > And change the numbers for a particular user to be 0:0, 
> just like the 
> > root user has. Whatever user you put 0:0 on will be superusers, and 
> > have complete control of your server.
> >
> > Vidar
> > >
> > > I can't find anything in the archives so I'm guessing its
> > not a common
> > > thing to do.
> > >
> > > Thanks for any help
> > > Jason
> > > Jasonh@xxxxxxxxxxxx
> > >
> > > _____________________________________
> > > cobalt-users mailing list
> > > cobalt-users@xxxxxxxxxxxxxxx
> > > To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to: 
> > > http://list.cobalt.com/mailman/listinfo/cobalt> -users
> > >
> >
> > _____________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to: 
> > http://list.cobalt.com/mailman/listinfo/cobalt> -users
> >
> >
> > _____________________________________
> > cobalt-users
> > mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to: 
> > http://list.cobalt.com/mailman/listinfo/cobalt> -users
> >
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to: 
> http://list.cobalt.com/mailman/listinfo/cobalt> -users
> 
> 
> _____________________________________
> cobalt-users 
> mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to: 
> http://list.cobalt.com/mailman/listinfo/cobalt> -users
>