CentOS 5 :: How To Create Nologin User
Oct 9, 2009I want create no login ssh user for ssh tunnel with ssh.
View 4 RepliesI want create no login ssh user for ssh tunnel with ssh.
View 4 Repliesnow how can i create ftp user id and password and allow them to access only specific directory under the wwwhtml directory.
ftp-0.17-35.el5
vsftpd-2.0.5-16.el5_4.1
lftp-4.0.5-1.el5.rf
actually i am having three different user and i want them to allow three different directory under www/html/user1 www/html/user2 www/html/user3
I've got a remote server running CentOS and I require a new user account who would have access to sftp & ssh functions.I've got a bit of a problem creating the user since whenever I try to login with the new account through ssh (putty) I keep getting access denied.I've made different accounts with userids above /below 500; even though I'm a complete noob so no idea how I'm supposed to go about this.
View 6 Replies View Relatedi wan to create ftp user id and password in centos , so that i can provide access to various director in www folder.
View 7 Replies View RelatedI understand how to create a super user, but I do not understand how to create a password for that user. Can someone tell me how to please? Also when do I do this? Logged in as who?
View 1 Replies View Relatedi have a server running on centos5, i have run vsftp and samba, and i need create a user through command line and set your default directory, i can do this through graphic interface, but i need do throug line command.
View 12 Replies View RelatedI want to create account for user named John Doe.
I'm trying: useradd "John Doe" and it's not work.
How to create user account with space inside on CentOS CLI?
I have installed on a remote server phpmyadmin 3.3.1 and mysql 5.1.46 on a centos 5.4 OS.
Any newly created user with phamyadmin is unable to login both from mysql command line (from localhost) and phpmyadmin (localhost and remotely).
No prob when the user is created with mysql command line (from localhost). All of the users created with phpmyadmin, are not "visible" recognized from the show user command via the mysql command line. The setting I used when I create any user was the same as the ones with the mysql command line creation.
The error message I get when accessing from mysql command line (from localhost) is the following: "Access denied for user ... @localhost (using password: yes)"
What is the command I need to create a new user and give the user only permission to a single folder via ftp?
View 3 Replies View RelatedRunning a server using CentOS 5.5 (yum updated, x86_64), found that when using /usr/sbin/useradd to create system user, the quota for the user will default set to 5M soft and 10M hard (on /var/spool/mail partition). As remember the default setting for user quota should be both zero when create a new user.
man useradd and quota related command and no help, had any idea how to change/set the default quota when create user.
I've got Samba server running on CentOS box. Everything works fine when I use "path" parameter, but I think Samba should create /home dirs for clients automatically. It should look like this:
comment = Home Directory of '%u'
valid users = @"Domain Group"
browseable = no
writable = yes
[Code]....
When I explicitly declare "path" param, it works ok. But I need PERSONAL home dir for every user separately, not one dir for everyone.
I wanted to create an user but don't allow it to see the other user's home folder so I made chmod 0750 /home/folder and it worked fine so I went ahead and decided to completely forbid access to the root folder and I had the "great" idea to make chmod 0750 /, and now I'm having problems with wine and other applications, in example I used to have a folder in this address 209.239.114.51/mmgr but now it's giving me errors and if I try to run some applications I got error "There was an error creating the child process for this terminal"
View 9 Replies View RelatedI want to add 50 new users, not on the server yet I want to add them all to group Accounting - with 1 option, not user by user I want to setup a default password for them all, and have it say something like 'You must now change password or no access will be permitted' Any other options I also want to do once, not for each user?
View 3 Replies View RelatedThis netbook only has a user with non-administrative privs on it and root user but I do not have root's password.Is there a way that I can create a new administrative user of change the current user's group so that it can do sudo commands or have more privs?
View 1 Replies View RelatedI have just installed vsftpd on my debain server..I want to know how can I create a new user called mesk as FTP user and set a home page to some folder on my server? I tried this:
Code: Select allhtpasswd -c /etc/vsftpd/passwd mesk but got: cannot create file /etc/vsftpd/passwd.
i have rhel 5.2 and i want to create user using useradd command without creating user home directory and not throwing any warning/error about not creating any home directory.i have tried useradd -u "$NEW_UID" -g <gid> -d "/home/$1" -M "$1"where $1 is user name and $NEW_UID is i am calculating.it throws error as useradd: cannot create directory /home/$1which i dont want to come , how to prevent this?
View 1 Replies View RelatedI've been looking for this feature for months and couldn't find a solution for this. Does anyone know how to create users and limit the user to a specified directory?
View 6 Replies View RelatedI have a network set up that has been working for around a year with no problems but has now developed a login problem. The system was set up with a main server with all users on it and another PC located elsewhere that people could log onto using there personal login and password that then gained access to the account on the main server. This remote PC has now got the problem. When you try to log onto an account it comes up with the message "your session has lasted less than 10 seconds. If you have not logged out yourself this could mean there is a installation problem or that you are out of disk space."
Error message says that no profile for the user can be found and it couldnt create per-user gnome configuration directory. I can log on as root onto the remote PC as it is obviously a local account but all the account on the main server are not accessible. From the root account I can see that the connection to the server is OK and I can actually log into the accounts on the server using the failsafe session so the physical network is OK.
I never built or designed this set up and to be honest I normally work with windows so its all a bit strange to me. Both PC's run Centos 5. I have checked the messages log and there doesnt seem to be any indication of a problem. Just that it stopped connecting from the remote PC. The accounts are all active on the main server itself and have no problems being accessed.
I windows xp. I install vmware on it and install centos 5. Now how to use internet in centos 5 using user name and password. Our internet provider give us user name and password.
View 1 Replies View RelatedI'm trying to create a CentOS based liveCD that mounts a NFS share and executes one script there. The NFS never mounts altough while logged I can mount it with the very same command that I use in the KS.
In the %post I have :
%post --log=/tmp/post.log --erroronfail
mkdir /mnt/nfs
mount -o nolock 10.23.1.1:/csc/RemoteHome /mnt/nfs
I added the --log in order to debug, but nothing is written in /tmp/post.log. I tried redirection on the mount command with >> /tmp/debug.log but this is not written. Maybe during the post sequence /tmp is RO ? Anyway, I tried with ifup lo, service portmap start in the %post, but doesnt change (I even have a service : command not found in the live cd creator output).
Here is the remainder of the KS :
lang en_US.UTF-8
keyboard us
timezone US/Eastern
[Code]...
How can i add a PPPOE connection witch connect automatically on system start up in text mode in centos 5.4
View 3 Replies View RelatedIve installed centos freebsd and mandriva but i want to manage grub from my centos and y create successfully a boot load for freebds. But for mandriva it just doesnt work... so how can a create a boot load entry for mandriva from grub centos?
View 1 Replies View RelatedI installed the latest CentOS 5.5 in my PC. I added some public domain projects on it. Now how can I make another boot-able CentOS iso file with all the new projects I just added? In the other words, I try to create a boot-able CD with the CentOS and all the projects on it.
View 1 Replies View Relatedno need to say i'm new to it so, do i have to create a new user for security reasons in ubuntu lucid?
when i run wireshark it prompts it is dangerous to run as root so what do i have to do?
I know this will sound stupid, but we've been tasked with standing up a professional Linux server to run a vendor tool and product on. And my team has never administered a Linux or Unix box before. I know the concepts, but can't find the tools!
How do I create a user-ID? And is there a GUI tool I can fire up from the command line to make some of this easier? We can get to the box, manipulate files, etc. But to this point we're exclusively usint 'root', and I know I need to stop that, and prevent that happening in the future.
I want to try out KDE on Lucid, but I don't want to install KDE on top of ubuntu, because I will end up with two sets of applications and software that is gnome specific to load in the KDE environment.SOOOOO, I want to create a separate user that is only KDE and a user(my current one) that is only gnome. Different names, different environments and applications.
Also, if it is possible, I will need instructions to remove a user as well, so in the future I decide which one I like better, I can delete the other user account.
how can I create a new user account?
View 2 Replies View Relatedi have changed the home folder of the administrative user i cant create new users .
View 1 Replies View RelatedAny idea how to "repair" "the configuration server" ? I'm only a month into Ubuntu and I have this fatal inability to create a new user from the Gnome GUI. For any new user I create, I get the following fatal errors upon rebooting and trying to log in to that user.
- Purple clouds for about a minute.
-- then --
- Could not update ICEauthority file /home/user_encrypted/.ICEauthority
- There is a problem with the configuration server.
- (/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 256)
-- then --
- Nautilus could not create the following required folders:
- /home/user_encrypted/Desktop, /home/user_encrypted/.nautilus
[Code]...
When I create a new desktop user(i.e. without administrative privileges), I am given the option of letting him have the ability to connect to wired/wireless networks or not. Should I let a normal user have this privilege? Are there any security issues if I let him connect to wireless networks?
View 2 Replies View Related