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
ADVERTISEMENT
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
View Related
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
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
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
Mar 1, 2011
I have a hp pavillion a340n running centos 5.5 on 2 hard drives
%%%%%%%%%%%%%%%%%%5
# fdisk -lu
Disk /dev/hda: 200.0 GB, 200049647616 bytes[code]...
View 19 Replies
View Related
Sep 30, 2010
I have install Cent OS 5.5 on VM Ware ESXi 4. I have added new hard disk of 100 GB Disk space to same VM Ware instance.
How do I initialize that volume so I can see it on Linux server and use it.
View 3 Replies
View Related
Sep 8, 2011
I was wondering if anyone knew how to add a user/pass and allow them to issue the reboot command. Ideally, I dont want them to be able to see files/directories or anything else for that matter.I was thinking something along the lines of a chroot jail that has a single script that would call the reboot.
View 2 Replies
View Related
Jun 10, 2010
i would like to know the commands that one use when adding a new user?
View 3 Replies
View Related
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
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
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
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
Mar 13, 2011
command for adding a user and removing a user.
View 3 Replies
View Related
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
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
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
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
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
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
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
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
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
Jan 6, 2010
when a remove a user from the system using the domain userdel guest the user gets removed but the /home/guest doesn't get removed so i remove it by command rm -rf /home/guest then i recreate the user by giving in the command useradd guest now it gives the error mailbox file already exists what does it mean when it says so though this command creates the user.
View 3 Replies
View Related
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
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
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
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
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
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