CentOS 5 :: Adding User To SSH ?

Jul 13, 2010

I've created a new user on the system and can login to the server with SFTP but can only add/remove files in the users folder and nowhere else on the server.

I've tried adding

AllowUsers username to sshd_config but that made no difference?

View 6 Replies


ADVERTISEMENT

CentOS 5 :: Adding User To System?

Aug 6, 2009

I've been trying to add a user to the system, so I can use it through samba to access the shares on the server. I'm using "useradd" but the command is not found... with a little search, I was able to find the command "/usr/sbin/useradd username" my question is can someone point me to a guide with basic administration task, I was checking out the wiki on Centos, but didn't find "adding user"; I know Centos has a gui for this, but I would like to stick to shell commands. By the way why some commands are only access through /sbin and others /usr/sbin. I know this probably has to do with your path, but how can I fix this so I don't have to type the whole path every time.

View 1 Replies View Related

CentOS 5 :: Adding User More Than 30 Character?

Aug 9, 2010

Unable to add user name which contains more than 30 character in Centos 5.4. how to add user more than 30 character.

View 2 Replies View Related

CentOS 5 :: Adding A User With Options?

Jul 8, 2011

I am adding a user with these options:

usernamen: evarie
path to home : /home2/evarie2
shell : same as standard users and root
group : evarie

How can is see all options i did choose? What is the default shell in CentOS? With which command can i see which shell i use now? becaus my new user have these wrong shell: -bash-3.2$

View 5 Replies View Related

CentOS 5 :: Removing Root SSH Access / Adding New User?

Jul 13, 2010

I am going to remove root access via SSH which seems fine but I don't know how to add a new user, do I have to create a group first or are there existing groups I can add a user to, and does it matter which group I add a user to if I want this user to have root access with sudo?

View 11 Replies View Related

General :: Adding A New User?

Jun 10, 2010

i would like to know the commands that one use when adding a new user?

View 3 Replies View Related

Fedora :: Adding The User And Groups?

Jan 15, 2009

just getting startedin linux <fedora9> and haveseveral questions. first what bookwould be best to start the learning process? have looked at fedora 9 and enterprise and the newest fedora 10 with enterprise and these seem to be aimed at networking setups which I do not have.also in adding users and groups which I have done I think successfully however when I use the newgrp command and try to access a file I have saved under a group with two members the file does not show in the ls command.

users are jevans in group programmers cevans in group programmers in creating the file I didthe newgrp programmers command and created the filein the cevans spotand changed to jevans and negrp programmers and the filedoes not show.so what do I do here, or is my understaning of this incorrect?

View 14 Replies View Related

General :: No .ssh Directory When Adding A New User / Get That?

Mar 5, 2010

CentOS 5.3

I have added a new user by doing the following:

useradd -m jobBlogs

It creates the home directory with initial files. However, when I do the following

ls -a

there is no .ssh directory.

Am I doing something incorrect here?

View 2 Replies View Related

Ubuntu :: Cannot Login After Adding A User?

Mar 27, 2011

Running 10.10. Had one user and now wanted to add a second user.Added the user and a password, disabled auto-logon and set system to show the list of users. Upon reboot, I get the list of two users and 'Other...'. Clicking any of this just loops back to the same screen

View 3 Replies View Related

Programming :: Adding User Through The Script?

Jun 6, 2010

Im trying to create the following script...I want to create an interactive script that prompts the user for the following:

user name
user home directory
user login shell
user comment

the script then needs to read those variables that are entered by the user and actually create the user account. and of course, would like the script to display what user account was just created so that i know in fact the script worked successful.

View 2 Replies View Related

General :: Adding And Removing A User?

Mar 13, 2011

command for adding a user and removing a user.

View 3 Replies View Related

Ubuntu Networking :: SSH Adding A New Non-Local User?

Jan 5, 2011

Trying to add my wife as a user to my computer, only to log on through SSH, not locally. Only problem is I use keys for logging in.

I've gone through the guide on the ubuntu website, created a key, copied to through a pen drive, put it in her .ssh folder on my computer, but it still comes up with the error:

Code:
Agent admitted failure to sign using the key.
Permission denied (publickey).

Is there a group I need to add her to, or add her public key to a different file somewhere?

View 1 Replies View Related

General :: Adding Description To User Account?

Aug 20, 2009

I did an adduser to create a new account, but i forgot to add a description to the account, so it just looks like this when i look at the passwd file. how can i go back and add one? all my other accounts have descriptions after the two numbers.

testuser:x:512:512::/home/testuser:/bin/bash

View 5 Replies View Related

General :: Adding User Accounts To Different Domains?

May 11, 2010

i'm configuring sendmail for a little office but i was requested for two domains e.g. [URL] and [URL] i've created this two domains but at the moment i create a user account how could i make the difference between wich domain the user belongs?

View 1 Replies View Related

General :: Adding User To A Secondary Group?

Sep 10, 2009

If user1's main group is genetics and one wants to add him/her to group biochem and to assign biochem as his/her secondary group will the following suffice ?

Code:

$ sudo usermod -G biochem user1

I would like for user1 to have genetics as the main group but also belong to biochem. When user1 creates a file, as he/she belongs to main group genetics, I assume the file will be owned by user1 and group owner will be genetics. Ideally files created by user1 should be accessible to users in group genetics(when permissions are tweaked) but not by individuals in group biochem. However, any files with group owner biochem should be accessible to user1 as he/she does belong to biochem as a secondary group. Would having user1 main group genetics, secondary group biochem fulfil this criteria ?

View 5 Replies View Related

Server :: Adding New User In LDAP Client

May 2, 2010

I am facing problem in adding new users in ldap server and client for a long time. I configure ldap server and client successfully and I can login the client machine by a user. User is created on server during configuring the server but after same time when I create a new user on server and create a home dir for the same user on client machine and assign 700 permission on home dir of same user and copy the /etc/skel/.* /home/user-dir and when run the command "#chown -R user:users /home/user" it shows invalid user error.

View 1 Replies View Related

Server :: SFTP User Adding For VSFTPD?

Oct 24, 2010

I just installed Wordpress and i am delighted of it, nice peace of software. Even so I have to get running a FTP or SFTP server on my localhost machine. I did installed in my Ubuntu 10.10 the VSFTPD server and generated a RSA certificate file (vsftpd.pem). Strange it is that there is no vsftpd folder under /etc, instead vsftpd.conf file is directly into /etc ... so I have generated also my .pem file into /etc. Anyway I have a lot of trouble adding new users to access this server. I use Filezilla as SFTP client. Please let me know if you encountered such an issue, and what is the solution for it. Downwards is my vsftpd.conf file.

# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.

[code]....

View 38 Replies View Related

Ubuntu Security :: Adding User To Admin Group

Jun 15, 2010

I'm trying to edit a "xl2tpd.conf" file but it always says I have no write permission tried to add my account to admin group but it says something about not able to lock on password try later.

View 3 Replies View Related

Ubuntu :: Can't Sudo From Desktop User After Adding Root

Feb 22, 2011

I recently re-installed my U10.04 and this time around, I added a root user and brought the permission levels of my default user to "Desktop User" as well as elevate the root permissions as explained elsewhere in these forums. Everything went fine until I wanted to "sudo" something from the Desktop User account terminal. I use Skype a lot and preferred to use the repos to get it loaded. Into synaptic where it asked me for the password. I entered the password and I was rejected. Ok, maybe I typed it in wrong. Tried again. The third time I checked in an editor to make sure I wasn't in all-caps. Third time OUT!

Switched user to root and there were no problems. Enabled the partner repos, installed Skype, as well as all the other stuff I use to run my home office. I have missed something, I know I have - perhaps a setting somewhere in the user permissions. I don't want to have to switch user every time I have to make changes to the system. Alternatively, if it's better practise to just leave my system as it is for security purposes I'm not running a server, but I'd like to have my system as secure as reasonably possible without elevating my problem to "paranoid security" level.......

View 5 Replies View Related

Ubuntu :: Adding Multiple User Account With Different Priviliges?

Jul 28, 2011

I have a desktop which has both windows and ubuntu. I want to add some users in ubuntu, say Me (first user),B and C. i) Certain folders should remain inaccessible from windows partition.ii)Me should be able access both B and C home folder, but not otherwise.iii) user B can access user C, but user C cannot access user B.

View 5 Replies View Related

OpenSUSE :: Adding User To Access Control List In Nautilus

Aug 13, 2010

I have a shared folder that has it's access restricted to certain users on a file server at work. Currently when I try to add a user I follow this process:
Right click the Folder, go to Properties
Click the "Access Control List" tab
Select a user from the "Participants List"
Click Add

For most users this process works fine but with one of them I get the following error:
"Could not add ACL entry: Invalid Argument"
I also tried a script that a former employee created which seems to employ this command:
setfacl -m u:<USER>:rw- <PATH>
Running the command with the correct user and path returns a similar "Invalid Argument" error.
We're using OpenSuse 10.2.

View 1 Replies View Related

Ubuntu Installation :: Adding Spotify - Cannot Find Root User

Sep 27, 2010

[URL]. I don't have permission to add the first thing and I cant find my root user on the list. I am an administrator.

View 3 Replies View Related

Ubuntu Servers :: LDAP Users And Groups - Adding A User

Aug 4, 2011

I have Ubuntu 10.04.2 (Linux 2.6.32-33-server on x86_64) with OpenLDAP 2.4.21 and Webmin1.550. I converted my ldap database from another system with the older style schema (OpenLDAP 2.3.3 with slightly older Webmin version 1.480) and no longer use slapd.conf, but the newer slapd.d format.

It all works fine except for one thing. When I add a new user, it lets me type in the additional LDAP fields:

But when I click the Create button, all the fields get jumbled together in the Title/Position box with a diamond question mark delimiting the fields:

Modifying existing users (which have the Additional fields displaying correctly) also has the same result - it moves the fields all into the one Title/Position box with the diamond shapes with question marks inside between each entry. Is it a problem with my schema files? I tried reverting to the older shema files and slapd.conf and it still did the same thing on the new system. I am really at a loss.

Here is also the output of ldapsearch for that user (host and samba ids are sanitized):

Previously added users that show the fields properly have "description:" and then the field listed for each Additional LDAP field. Also shouldn't the "title" be visible in plain human readable text here? - it looks like it encrypted it somehow - similar to a password hash. The older system works fine and the fields are all readable and in their proper locations. But the new system just doesn't work right.

View 1 Replies View Related

Red Hat / Fedora :: Permanently Adding File Location To User Path?

Aug 20, 2010

I have added the smbd file location to the path of root. I can now execute it from any location. I noticed after reboot of the machine (RHEL 5) that this file location is no longer in the path. How do I make this permanent?

View 1 Replies View Related

Software :: Adding User Access To Tortoise SVN Repository Browser

Sep 20, 2010

what commands should I need to run on CentOS to add user on tortoisesvn repository browser? any related link out there?

View 2 Replies View Related

OpenSUSE Install :: Automatically Adding Local User To Xhost List?

Jun 8, 2011

On Ubuntu, the local user is automatically added the xhost list when logging in (via a script in /etc/X11/Xsession.d).

Is there a way to enable this in OpenSUSE?

(My original problem is that I cannot interact with a running X session when loggin in via SSH, since newer GDM versions don't create $HOME/.Xauthority any longer.)

View 9 Replies View Related

Ubuntu :: Adding A Line To Sudoers File So That Every User Can Run A Particular Program As Root?

Mar 27, 2010

is it possible to do so? I mean, I want every user to be able to run '/bin/x' for example, as root without entering a password. I know the security risks, but I'm trying this in a risk-free environment which security does not matter very much.

View 2 Replies View Related

Ubuntu Security :: Adding User With Access To Mount Point Over SSHFS Only

Sep 2, 2010

I'd like to add a user to my server that will only have access to a mount point over sshfs. Is there any way I can provide them this access without actually giving them permission to open a terminal on my server? I tried /bin/false and /sbin/nologin already, but /bin/false didn't allow the mount point to be made and /sbin/nologin prevented a login completely (also stopped the mount point from working).

View 6 Replies View Related

Programming :: Bash Scripting - Taking User Input And Adding It To A Particular Area Of A File?

Jan 12, 2010

in bash scripting...say I want to take the input from a user via a question...I would do this:

Quote:

#!/bin/bash

echo "How large do you want this partition to be in GB (enter only the number)?" read PART_SIZE echo "You want your partition to be $PART_SIZE GB" But I don't want to echo it back to the screen, I want to add it to the content of /etc/fstab. I have been mucking around with sed to find the tmpfs partition in /etc/fstab and add the partition size attribute (this is to use the onboard RAM as a volatile partition)...but am not having any luck...

The portion of /etc/fstab that uses /dev/shm for the tmpfs partition is:

tmpfs /dev/shm tmpfs defaults 0 0

So, if a user says "24" GB to the answer (from above), how do I get it to automatically add that value to the tmpfs partition line in /etc/fstab? So it would look like:

tmpfs /dev/shm tmpfs size=24g,defaults 0 0

I understand that I would also have to come up with a way to put "size=XXg", which I could do with a copied over generic file before this action...then the script would have to find "XX" and replace it with the user's figure...

View 7 Replies View Related

Red Hat :: Adding Repositories To My CentOS Box ?

Nov 7, 2010

I have noticed that some repos in /etc/yum.repos.d/*.repo files have the definition "enable=0", I am not talking specifically about the "testing" repos... of course these have some packages tha may disrupt the normal working of CentOS... but about all the remaining repos ( non "testing" ) that are disabled by default...Is it dangerous to enable them...? even respecting priorities and having yum priorities activated...?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved