Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jul 27, 2011 1:48 pm 
Offline
Junior Member

Joined: Mon Jun 13, 2011 8:11 pm
Posts: 23
Hi,

I'm new to sysadmin - I'm just a business guy with no real sysadmin knowledge. But I was trying to set up my debian distro on my linode and create a user account with restricted rights. I installed sudo. I figured out how to create a user and a group. But I could not figure out how to assign an alias (the "User_Alias" command did not work). I also could not figure out how to prevent the user using the "su" command (the "!su" didn't work). I don't know if I need to create an alias to do this, but the sites I read seemed to indicate that I do.

I looked at the man sudo pages/site but that didn't seem to have easy explanations

Does anyone know where I can see something for beginners to teach me how to do all of this. I need something that is clear and accurate and has good examples.

Thanks


Top
   
 Post subject:
PostPosted: Wed Jul 27, 2011 4:54 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
The "su" command can only be used if the user has the password to the account they're trying to "su" to, so there's no point in restricting access to it.

The "sudo" command is only usable if the user is on the sudoers list, and preventing users on the sudoers list from using sudo defeats the purpose of it, so there's no point restricting access to it.


Top
   
 Post subject:
PostPosted: Wed Jul 27, 2011 5:10 pm 
Offline
Junior Member

Joined: Mon Jun 13, 2011 8:11 pm
Posts: 23
Thanks - I guess I need to do some reading or hire someone to teach me the basics


Top
   
PostPosted: Wed Jul 27, 2011 5:12 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Jackson1007 wrote:
and create a user account with restricted rights.

What exactly are you trying to restrict?


Top
   
 Post subject:
PostPosted: Wed Jul 27, 2011 5:21 pm 
Offline
Junior Member

Joined: Mon Jun 13, 2011 8:11 pm
Posts: 23
I guess there are two things:
1) I just hired a sysadmin to set up my servers, but I don't yet know if I want to keep him and I want to make sure that I can easily switch sysadmins if necessary, so i want to make sure that i have his access the way it should be - I assume there's some standard for "contractor" access

2) I have developers working on my site, but I'm not sure how long I'm going to keep them either. I want to make sure that they only have enough access to finish building the site (I'm moving from another host) and no more than that.

Thanks


Top
   
 Post subject:
PostPosted: Wed Jul 27, 2011 6:03 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Jackson1007 wrote:
I guess there are two things:
1) I just hired a sysadmin to set up my servers, but I don't yet know if I want to keep him and I want to make sure that I can easily switch sysadmins if necessary, so i want to make sure that i have his access the way it should be - I assume there's some standard for "contractor" access

2) I have developers working on my site, but I'm not sure how long I'm going to keep them either. I want to make sure that they only have enough access to finish building the site (I'm moving from another host) and no more than that.

Thanks


1)To set up a server you need root access so your sysadmin can't do his job with restricted permissions.

2) Look into sftp jails http://library.linode.com/security/sftp-jails

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Wed Jul 27, 2011 6:07 pm 
Offline
Junior Member

Joined: Mon Jun 13, 2011 8:11 pm
Posts: 23
Thanks


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group