Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> User-rights - Maybe An Interesting Problem
athan
post Aug 20 2004, 09:07 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 20-August 04
Member No.: 3,592



I've been practically all over the net trying to find out. I admit that I'm a linux-newbie, so please don't flame me sad.gif

Problem is this:

I've got a box up with Redhat 7.3 and ProFTPD+Apache+Mysql

ProFTPd gets it's configuration straight from Apache 1.3.x, and does not allow anonymous logins. When a new user is created, it makes the homedir and everything is ready. The same is with an account for the user in MySQL.

Now the user is up, ftp works, the user has access to his own database. The problem is - the user has shell-acces, which i DON'T want to allow.

I've tried setting the login-shell to /sbin/nologin - that only lead to the user being completely shut out from everything sad.gif

Thanks in advance

What is an easy way to set ssh-acces and permissions per-user?
Go to the top of the page
 
+Quote Post
Termina
post Aug 20 2004, 08:02 PM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



You don't want them using SSH?

Do either of the following:

1) Turn off SSH/SSHD.

2) Add the comment "AllowUsers root blah blah2" near the bottom of your sshd_config file. This means that no one can log in via SSH but root, blah, and blah2

This way only you decide who gets shell access.


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
athan
post Aug 23 2004, 03:23 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 20-August 04
Member No.: 3,592



Ok

Turning off SSH wouldn't be so smart... The server is 200 kilometres away from me... I'll try the other trick...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 05:44 PM