[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Raq4 Adding a second Server admin user
- Subject: RE: [cobalt-users] Raq4 Adding a second Server admin user
- From: "Jason Humphrey" <Jasonh@xxxxxxxxxxxx>
- Date: Thu Jan 8 15:45:01 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
I have also tried changing the passwd file and group file but no luck.
I can now get into the sysadmin folder (changed permission to admin)
but I cant delete it. I think this is because it is a group folder
as I know believe the command line I used to make the user also made a new
group!
If any one has any ideas how to delete this folder or how I can create a
second admin user it would be much appreciated.
Jason
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Jason Humphrey
Sent: 08 January 2004 22:34
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: 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?
-----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.html (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