Server :: Specify Several Different User Login Directories?
Jan 25, 2010
I'm having trouble setting up a vsftp server correctly. What I want to do is allow a number of users to log on (no anonymous user) and each of them to be taken to their own "top level directory" from which they can not escape.
I've got most of this working, but I can't find a way to automatically transfer each user to *their* working area. The "local_root" directive doesn't quite do what I want as everybody has to share the same working area (potentially users could interfere with each other). On the other hand I don't want each user to work from their home directory because there are loads of special files there that I don't want users playing with.
To add one extra compilation, I'm also running an html server on the same machine. One of the directories the html server can see is one of the ftp area root directories (So what I'm trying to do is give one special user ability to ftp files onto the html server. Other users must *NOT* have this ability)
View 6 Replies
ADVERTISEMENT
Mar 5, 2010
For some reason, my user directories don't seem to process php files. For example, server/~reduxtion/index.php forces the browser to download the file while server/index.php is fine.
View 1 Replies
View Related
Jun 15, 2011
we have purchased the Dell PowerVault NF 500 NAS Storage Box with Window Storage server 2003 is Installed.we have LDAP server for authentication the user in network for accessing network resources.All ubuntu users on client side use ubuntu(LDAP server )for user authentication.when a user logon on client side machine his home directory is created on client machine .
but we want to use the NAS storage device to store the home directories of user.we want to implement that ,whenever a user logon his home directory is created on powerValut NF 500 storage device so that all user data is stored centrally for taking the backup .we want to mount NAS storage device so that user uses when they login and create user profile.
View 1 Replies
View Related
Oct 6, 2010
I'm running a Samba server (3.5.2-60.fc13) on Fedora 13 (64 bit). I want to share the user home directories and want to allow following of symlinks out of the share tree. So in smb.conf I used
unix extensions = no
wide links = yes
For SELinux I did:
setsebool -P samba_enable_home_dirs=1
getsebool -a | grep samba
samba_create_home_dirs --> off
samba_domain_controller --> off
[code]....
However I can't follow the symlinks when mounting my home directory on a Windows machine, unless I disable SeLinux.
View 5 Replies
View Related
May 26, 2010
I noticed in Fedora that in Authenticate Configs ->Advanced, that there is an option to "Create home directories on the first login".I'd like to know if its possible to enable that through a text config file on a CentOS box that has ldap authentication enabled. Right now it's complaining that the home folder does not exist upon loggin with an ldap account.
View 1 Replies
View Related
Oct 20, 2010
I would like to configure an access to folder
/fileserver
for two services : Samba and VSFTPD
How to do it ? How to create folder rights that samba and ftp user will have an access (read/write/delete) to all directories in /fileserver.
My system is CentOS. I`m starting samba and vsftpd like a root (/etc/init.d/vsftpd start etc.)
View 1 Replies
View Related
Oct 29, 2010
Where I work, the IT people have the systems setup (wrongly in my opinion) to require not just the user's username but to have the username pre-pended with regional info. Like this:Username: RegionName//UserNamePassword: ********The server I maintain doesn't require this (even though I have it authenticate through the same services as the rest of IT (active directory via ldap))The problem is I see lots of authentication errors in my apache error_log file because people are using the RegionName//UserName login
View 1 Replies
View Related
Aug 4, 2010
When I try to login root from my normal user, I can see this:
Code:
Cannot exec /usr/libexec/openssh/sftp-server: File or directory doesn't exist
(Translateted from my nativ language)
I think that is my bad shell configuration so I check file /etc/ssh/sshd_config and see in the end (this lines couse this bug):
Code:
Match User root
ChrootDirectory /home
AllowTCPForwarding no
X11Forwarding no
[Code].....
View 2 Replies
View Related
Dec 29, 2010
How to allow a user to login without entering a password?
If my question sounds wierd then check out m-net at www.arbornet.org/m-net.php and see how it works.
Telnet / SSH to m-net.arbornet.org and type in newuser and it won't prompt for a password.
View 11 Replies
View Related
Jan 9, 2011
Years ago I was able to set this up, but my old method has become obsolete. How do you do it today with Ubuntu 10.10?I want:* A VNC server always running* The server should start at boot time* The user should come to the login screen of ubuntu and need to loginI have Googled, but there are so many versions of this and none of those I tried solve all of the above requirements.
View 4 Replies
View Related
Sep 18, 2010
I am new to ldap. I've installed openldap server in a centos but yet to test it. My question is how to force user to login to the system using ldap instead of non-ldap login? For example, I created some users in the ldap server, these users are exist in /etc/passwd, when ssh login to server as user, it normally authenticates through /etc/passwd file without being forced to use ldap.
View 3 Replies
View Related
Oct 21, 2010
So if I get their public key for ssh how do I add and then how do I delete it my problem is in .ssh/authorized_keys file I do not understand how to add and how to delete the key so that I can enable and disable root login this way.I am not sure as how do I comment the key assuming that the person sends me his public key then in .ssh/authorized_keysfile how do I add so that a comment can also be added so that I can identify that person as a legitimate user.
View 1 Replies
View Related
Oct 4, 2010
I installed Centos 5.5 on a home PC to be used remotely.
All server daemons work fine but only start if the user is logged in.
How do I set the SSH server to start whenever the PC is turned on, rather than when the user is logged in? I read the chkconfig man page online but couldn't find anything.
Plus I put a script in my startup services to be run whenever the computer boots (I'm guessing when the users logs in). How do I go about setting that to run too whenever the system boots instead?
View 1 Replies
View Related
May 8, 2011
Network server to administer accounts for all users, one login ie at login select or type in user name and password to login - so that I don't have to setup users separately on all PC's so that they can login from any computer.
View 3 Replies
View Related
May 5, 2010
My goal is this: Allow a user to connect to a server via SSH with any login name or password without checking to see if that account exists on that server. Their account would be captured by a universal account say, 'generic_user', and then they would be directed to one of my python scripts with the username and password they supplied for initial login. At this point my script would capture their SSHD process ID and allow/deny their existence based upon a MySQL/Subscription check.
The part I'm having trouble with is with PAM and allowing the user to login with any credentials and be successfully authenticated under the generic account. Beyond that, everything is great.
View 2 Replies
View Related
Jul 19, 2011
So I've been trying to get a single user to login to an FTP site I've created using proftpd and I haven't had much luck. So check this out: this only applies to one user, I can "su" to the user account so I know the password is set, and I am even able to SSH into the box as this user. This totally eliminates a bad/incorrect password and the server IS accepting connections on port 21 because I can FTP as other users. I've ruled out the client because I tried locally and using a command promptWinders but still no luck. This is what I'm seeing in the logs when I attempt to connect using an FTP client.
::ffff:192.168.1.118 UNKNOWN proftpd [18/Jul/2011:15:57:44 -0700] "USER crownftp" 331 -
Jul 18 15:57:44 ctserver-2 proftpd: pam_unix(proftpd:session): session opened for user crownftp by (uid=0)
[code]....
View 2 Replies
View Related
Jul 3, 2011
I'm trying to configure dovecot in RHEL6, but seems system won't accept local user login. I've already disabled pam. I've tried mutt -f imap://xxxx, and Thunderbird to connect as imap and pop3, but both failed, seems dovecot won't accept the password of the login user.the dovecot info log as, Jul 03 20:48:42 imap-login: Info: Disconnected: Too many invalid commands (no auth attempts): rip=192.168.1.3, lip=192.168.1.3, mpid=0, secured
#passdb {
# driver = pam
# [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>]
# [cache_key=<key>] [<service name>]
[code]....
View 1 Replies
View Related
Nov 4, 2010
I need;
1- X user login to server
2- X user used command du,mkdir,cat .. etc.
3- 1-2 actions and included command print send specified emails.
View 2 Replies
View Related
Sep 10, 2010
I've had a server setup working perfectly for the last 2 years. Today we installed a newer version of postgresql and recompiled apache/php.
Postgresql will not start now.
"service postgresql start" = /var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first. To initdb we need to be as user postgres.
"su - postgres" = "no file or directory"
In /etc/passwd = postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash
how i can login as postgres user and enter these commands?
View 2 Replies
View Related
Mar 18, 2010
I wanted to set up Computer Lab. loading Fedora 11 OS and one system acting as a Server to store Users(Student) Login Informations. When students do a programs, all programs (eg, C++ programs) files should be saved in the local fedora system but when login to the system, the login should be validate by a Server System.
View 5 Replies
View Related
Mar 6, 2011
I have an H340 Home Server, and I really want to eliminate any Windows on it.Having read what people have written here, I installed Ubuntu Server 10.10 on an empty drive via an existing machine. Then I removed the supplied 1 TB drive with Windows Server on it from the H340, inserted the new Ubuntu server drive.Now I can power up the machine, the lights come on, the network light flickers with activity, and...
Well, I am at a bit of a loss at what to "do" now. The H340 is connected to a router, just like my existing machine, so it gets an IP address from the DHCP server in the router. How do I actually connect to the H340? I really don't know. Do I go "Places->Network"? or "Places->Connect to Server"? Or do I do a remote desktop connection?
When it is powered up, how does it start without a user doing a login? There is no keyboard, screen, etc. Only the network cable. I have simply never had to deal with a Server before, so I need some hand-holding for a while. I have Ubuntu 10.10 desktop and Windows 7 dual boot.
View 2 Replies
View Related
Jul 20, 2011
I have a samba server with security user. I have a number of shares inside the share with different users logins. But while accessing the shares from windows, in the login prompt, by default username it takes as the guest. How will I disable the default guest user login ?
View 2 Replies
View Related
Apr 25, 2011
I have a nagios server monitoring around a 1000 hosts in our office. To make things easier, i've integrated apache into Active Directory for the website authentication. This works perfectly, however the Nagios website uses alot of CGI scripts to display information I get the message below when trying to show CGI scripts with an AD user. Local users work fine. 403 Forbidden You don't have permission to access /nagios/cgi-bin/status.cgi on this server. I tried adding the AD users to the cgi.conf file within Nagios (which works for local accounts) but it doesn't seem to work even with this change.
View 4 Replies
View Related
Aug 10, 2010
Not able to login to a user account, even after clearing the password from root using passwd -d
[root@ivrsdb1_pnq /]# passwd -S oracle
Password locked.
[root@ivrsdb1_pnq /]# passwd -u -f oracle
Unlocking password for user oracle.
[code]....
View 3 Replies
View Related
Oct 16, 2015
I need to permanently delete the following dirs in my home, that I really do not need (want!):
~/Documenti/Immagini
~/Documenti/Musica
~/Documenti/Video
how to do that?
I think I've learned that these directories are 'predefined' and eventually recreated at each login (even when deleted they appear again and over again, pretty annoying indeed...)
[URL] ....
[URL] ....
Now I would like to avoid the default creation of those dirs but I did not understand how to edit the local and global configuration files controlling this behaviour (I think)
Code: Select allgedit ~/.config/user-dirs.dirs
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
[Code] .....
View 7 Replies
View Related
Jul 22, 2010
How do I create a user with ftp access and/or Putty access that can only see and change certain directories. I want to create users to work on my website but I don't want them to have access to all of the folders.
View 2 Replies
View Related
Jul 15, 2010
I have just installed an SSD as a secondary hard drive and formatted as ext4. (the Ubuntu installation is on a different drive)how I would go about creating a directory on the SSD that is owned by the user 'Test user'.
View 8 Replies
View Related
Jun 4, 2010
Why when I command "useradd -m barth" do I get the error message: "cannot create directory /home/barth"? It only does this when a partition is mounted to /home.
View 14 Replies
View Related
Jul 15, 2010
I have just installed an SSD as a secondary hard drive and formatted as ext4. (the Ubuntu installation is on a different drive) Im very new to linux, Could someone inform me how I would go about creating a directory on the SSD that is owned by the user 'Test user'
Im sorry if this is a daft question, im just moving from windows to linux and struggling a lot.
View 3 Replies
View Related
Dec 11, 2009
I am using the sudo command to log on locally as another user by the following command:
sudo -u theotheruser -s
or
sudo -u theotheruser sh
As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.
View 11 Replies
View Related