General :: How To Create SSH Users

Jun 10, 2010

I just loaded a new server. I did an adduser with the -c and -p to create a few new users. The users show up in /etc/passwd, but when i try to SSH to the server as them I get access denied.

Is there somewhere I have to add their names to allow them to SSH in? they have /bin/bash as their shell accord to passwd.

View 5 Replies


ADVERTISEMENT

General :: Create 100 Users In One Go

Jan 24, 2011

i have to create 100 users in Linux with some password can it be done in one go i tried newuser command but the home directory is not created for those users.

plus when i login for the first time into a server i got
EXECUTING /etc/profile ...
EXECUTING .profile ...
EXECUTING /xyz/abc/bin/setenv.ksh file ...

before the prompt. The above three lines shows that some kind of script was set to run when a user login for the first time that will create the home directory (if i am not guessing wrong)and never run if user login again.

View 7 Replies View Related

General :: Create Users For Email Only And Not On The System?

Feb 20, 2011

i am reading on sendmail and so far my impression is, we must create users on the system (where sendmail is installed) for them to be able to access their emails. I wanted to ask that is it possible to create users for email only and not on the system ? Like lets say i want to create a user client named noony, who gets and sends his email to my sendmail server, but i dont want to actually create the user on my system ?

View 1 Replies View Related

General :: Create System And Samba Users With A Script?

Jan 7, 2010

I need to add linux and samba users using a shell script, it falls over because you are prompted to set a password.

I had a similar problem when installing the samba package using a script because it asks for confirmation after the command, I got round it using --force-yes -y as below.

apt-get install samba smbfs swat --force-yes -y

I suspect and hope you can do something along those lines when creating a linux user and a samba user, something like

smbpasswd �a username ?

View 3 Replies View Related

General :: If Some Users Modify/delete/create Files/directories?

Oct 25, 2010

i've been wondering how do i know if some users create/modify/delete file/directory in linux, i've been using pyinotify in python script.this script like the example from the manual:

Code:
#!/usr/bin/python
import pyinotify, os, time

[code]...

View 10 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

View 2 Replies View Related

Ubuntu :: Create And Log Onto New Users In 10.10?

May 28, 2011

How do you create and log onto new users in 10.10? Is it possible to change the user that logs on at startup?

View 4 Replies View Related

Fedora :: Create Several Different Users For Different Members?

Sep 14, 2009

I wish to create several different users for different members of the family. They should all have different menus, and they should not be able to access some programs, above and beyond just the normal root blocked ones. Any personal configuration files (eg, bookmarks, saved passwords, logins for other programs (IRC, MSN, etc) should also not carry over. One of them needs to have KDE enabled as default (as it looks the most like windows). I however, would prefer to have enlightenment enabled as default for me. Is this in any way possible?

View 3 Replies View Related

Red Hat / Fedora :: How To Create Multiple Users

Aug 27, 2010

how to create multiple users in linux

View 4 Replies View Related

Ubuntu :: Create A Logon Script To Run An App For All Users?

Mar 12, 2010

I'm working on the design of a system that will serve Ubuntu virtual machines to users (via the FreeNX server and NoMachine's NX Web Companion plugin) and I'd like to launch a specific application a soon as someone logs into the VM. What is the best way to do this? Specifics would be helpful since I'm 95% software developer and 5% Linux administrator.

View 7 Replies View Related

Ubuntu :: Create Users And Groups By Using CLI Tools?

May 7, 2010

How do you create users and groups by using CLI tools?

View 1 Replies View Related

Ubuntu :: Create Ftp Users With Assigned Directory?

May 17, 2011

i wanted to make some ftp users that will be hooked to directory and wont be able to move backward and to see the system files

ex
user : Eyal
Directory : /home/Eyal/Eyal
so he cant get to /home/Eyal
but he can go to /home/Eyal/Eyal/cstrike

View 4 Replies View Related

CentOS 5 Server :: Create Users With Ssh Access?

Sep 15, 2009

i have created a user like this :

useradd -d /home/testuser -s /bin/bash -c "Test User" testuser
passwd testuser

After this beeing done, i whant to login with this user via ssh using putty. Do i have to set-up something in centos 5.3 to allow user logins via ssh? With root user i can login without problems.

View 1 Replies View Related

Ubuntu :: Create A Directory That Can Be Written To By Multiple Users

Feb 6, 2010

I have a small ubuntu server setup and I would like to create a directory that can be written to by a select number of users. I have a backup directory setup and I want to enable my account as well as three others to be able to read/write to that directory. So far I haven't had any luck.

The owner of the backups folder, a directory on a separate disk mounted under /srv/storage, was owned by root and under the root group. I added the group backups and then changed the backups directory group to backups. I then used chown to change the backups directory to 775 to enable group members to write to it. I then tried to touch a file in the backups folder but no such luck. I did notice that when I run groups, my user account isn't shown as belonging to backups but is shown under the /etc/group file. I even made sure the GID of backups is in fact below 1000.

Anyone have an idea on how to create a shared directory that everyone can create, modify and delete any file? I believe my problem is related to the fact that root is the owner of the backups directory.

View 4 Replies View Related

Ubuntu :: Write A Bash Script To Create Users?

Oct 17, 2010

I have started using Ubuntu and I have to add a large number of users, over
a thousand, using a Bash Script. I also have to give them a password. Do you create a text file first.

View 1 Replies View Related

Ubuntu :: Create Dekstop Shortcut To Programs For All Users?

Nov 4, 2010

Does someone know how to create desktop shortcuts to programs (e.g to rdesktop) to all users on Ubuntu 10.04 ?Where (in which file) do I put the shortcut so it will appare (clickable) on the dekstop for all users logging into the machine

View 1 Replies View Related

Red Hat / Fedora :: Cannot Create Directory /home/users/newuser

Apr 5, 2011

CentOS 5.5

I am trying to add new users, when I use the command: # useradd newuser

I get: useradd: cannot create directory /home/users/newuser

I went to my /etc/skel and when I use the command ls it displays:
home

and when I go into /etc/skel/home I have the two directories that I created.

I am logged in as root, and when I ls cd / it shows /home, when I cd into /home everything looks normal.

How do I get this error to stop so I can add new users?

View 7 Replies View Related

Server :: Create Users On Mounted Disk Image?

Sep 30, 2010

I'm currently in the middle of developing an automatic system which can provision Linux VMs automatically.Let's say I have a disk image which has a Linux distro installed on it. How would I change the root password on that, without having to boot the OS?It would be nice if I could just simply run passwd with some switch to point to the /etc/shadow file on the (mounted) VM disk image..

View 2 Replies View Related

Server :: Create Postfix Virtual Users Without Dovecot

May 28, 2010

I just want to create virtual postfix users using static external file, without using dovecot as MDA or mysql db.

View 1 Replies View Related

Programming :: Using Shell To Create A Default Web Page For New Users?

Nov 14, 2010

I came across this script a while back that i found. What i want to do is edit the script to create a default web page in /var/www/html a new user is added through the script.What the script does now is adds a user and sets a password for the user. What possible way (either through a combination of python or c or some other language) could i add to the shell script to do this? I've tried just dointhe command to touch index.html /var/www/html but it puts it on the desktop. Here's the script....

Code:
#!/bin/bash
# Script to add a user to Linux system

[code]...

View 3 Replies View Related

Debian :: Import List From Excel File To Create Many Users

Sep 22, 2015

I'm working in a school and we have a Apple server, we have many problem with it. So, I would install a linux server instead.

Anyway, there is just one big problem (or I miss a simple tip to do it )

We have 1300 students. If I must create them one by one, that will take a lot of time. Actually with the apple server, we can go on a web interface & import an excel list with theses columns :

"Name", "Login", "Password", "Class", "Group", "HDD Space", "Print quota", "Internet access or not", etc ...

Due to this tool, I can upload an excel files with my 1300 students & a couple hours after, they have an account with a personal space & a shared space with their class.

My question is : This tool exist on Debian/Linux world ?

View 7 Replies View Related

Ubuntu Servers :: Create Secure Shell Environment For Users?

Feb 25, 2010

I was planning on using my VPS to grant some of my friends shells. The problem though is that I don't want them doing crazy stuff on it, like using up all my RAM or disk space. I would like to limit them to a very small 25 mb disk space, and allow them only certain application in /usr/bin like python perl irssi screen etc. I do NOT want them to be able to cd out of their home directory. I really want this to be setup like the shell provider SHellium. I can setup the FTP and SSH stuff myself.

View 3 Replies View Related

Ubuntu Servers :: How To Create Separate List Of Samba Users

Aug 19, 2011

I want to use samba in ubuntu.For samba users i make a user in my linux box like

# useradd smith
# useradd jone

These users can also login into my ubuntu system if they want. For samba I want to know that, is there any way to create separate valid list of samba users so that they may access files from windows xp.

View 8 Replies View Related

Security :: [LDAP] Account To Manage/create Only Specific Users?

Oct 19, 2010

Is there a possibility in openldap to allow a user to only create/manage specific LDAP users?For example user "mailadmin" may only create/manage mail accounts in LDAP that are named like "m1342895"? Or a specific list of user accounts that are in a specific group?

View 1 Replies View Related

Software :: Shadow Doesn't Work - Can't Create New Users Or Groups

Nov 21, 2010

I've compiled the latest version of shadow (without PAM and selinux support), but I can't create new users or groups. I don't even get a error.

It's just like:
bash-4.1# useradd -d DIR -u NUMBER USER
bash-4.1#

but if i take a look at the /etc/passwd or /etc/shadow file there's no entry.

View 5 Replies View Related

General :: Created Users In Pureftpd And The Users Are Stored In Mysql Database?

Dec 19, 2010

How to created users in pureftpd and the users are stored in mysql database. I tried when i try to connect i got like this error authentication failed error

View 1 Replies View Related

Networking :: Create A Pppd Server To Allow Other Users To Connect Through Telephone Line?

Oct 9, 2010

create a pppd server to allow other users to connect through my telephone line.Could you suggest a documentation to get started?

View 2 Replies View Related

General :: Only Limited Users Should Login In NIS (not All Nis Users) RHEL 5.4?

Aug 1, 2011

i have a NIS master server and 4 NIS clients. out of 4 nis clients two are acting as login servers ie users will login and do all their stuffs and the remaining two are application servers. But sometimes users login into applications servers and started doing all their developer's job. i want to allow only a limited number of users tointo this application users not all the users who are all part of the nis domain.all the systems are running RHEL 5.4 on hp's proliant x86_64 based servers. Please advice me how should i proceed? enabling ip tables is not possible in my environment.

View 1 Replies View Related

General :: Vsftp - Some Users See Files - Some Don't - But All Users Are In Same Group

Jan 18, 2010

When I have different people log into our ftp and browse to the same folder, some people see the files inside, some don't. all the user accounts are in the same group, which has permission to this folder. but the one user who can see the files is the owner. how can i fix it so everyone in that group who's the owner of the folder can see the files?

View 10 Replies View Related

Ubuntu :: Samba - Get The Correct Default Permissions When Users Create Directories Through Windows?

Apr 1, 2010

I've got a small issue that when a Windows user creates a new folder through Windows Explorer (from the menu or by right clicking) the new folder is only accessible to that particular user. Example: user SABKAR (member of the HR group) creates a new folder called MarcTestMenu in a shared Samba directory through Windows Explorer:

[Code]....

At this point user MORAMY cannot copy a file or open the directory MarcTestMenu. MORAMY gets a 'not accessible' error message in Windows. If I su to the Samba box and issue this command:

[Code]...

how I can get the correct default permissions when users create directories through Windows?

View 1 Replies View Related







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