Debian :: Adding New Users Restricted To Root

May 22, 2010

I am running an updated Lenny. Just discovered that as user I am able to add new users via gui:
System > Administration > Users and Groups.
I was under the impression adding new users was restricted to root. Is this is a bug, and if so who do I report this to?

View 1 Replies


Debian :: Adding FTP Users Without Shell Access?

Dec 20, 2010

I use this command line to add an FTP user:

useradd ftpuser1 -d /userdir

This works, but I don't want to give Shell access to the users.

I tried this:

useradd ftpuser1 -d /userdir -s /sbin/nologin

but then user can't login at all - not into FTP and not into Shell.

View 5 Replies View Related

General :: Mounting Restricted Share For All Users?

Jan 25, 2010

I have a NAS on which I created a share with CIFS that has restricted access (that is: you need a username and password to access it). The reason is that I don't want any user in the network to mount this share.On one computer I have Bacula installed to run backups. I would Bacula to store the backups on the NAS share. So I mount the share in fstab. Works fine but the share directory is not read+write for all users but only for the root (since the mount was done for the root).The line in fstab:\readynasackup /readynas cifs user,rw,password=thePassword,username=bacula,umask=017 0 0How can I have Bacula (running as user Bacula) get read+write access to the directory representing the share?I tried to remove access control to the share but the directory representing the mount remains readonly...

View 1 Replies View Related

Ubuntu Multimedia :: Adding Restricted Nvidia Drivers To Fresh Install Script?

Dec 30, 2010

Just wondering how i could add a entry into a restore script i would run after doing a fresh install of #! Crunch bang. going to be using a base script from [URL] do the basics replacing the aptitude thing with apt-get of course What i will be using is as follows

# This script is the first in a series of setup scripts for gnome
# Check for admin rights. If user is not an admin user, exit the script
if [ $UID != 0 ]


View 2 Replies View Related

Ubuntu Servers :: Access Restricted To Select Computers Not Users

Apr 21, 2011

I want to configure a remote internet facing server as git server. I would like to restrict access to the server to a few systems (access is restricted to select computers, not users). I first thought of using ssh key, but the key can be copied to another system hence that alone is not sufficient. I am having a dynamic IP, so simple IP based firewall blocking is also not possible. I was thinking about the possibility of using both SSH Key and IP based access. Is it possible to update the firewall rule whenever my ip gets changed?

View 6 Replies View Related

Red Hat / Fedora :: Creating Web Page For Users With Restricted Shell To Change System Pw?

Feb 3, 2011

I have a box that's used as an SFTP server. All users have restricted shell so they can only use SFTP to send and receive files. But it makes it hard to have them change their passwords. I thought that if we had a web page set up where the user could enter their username, old password, new password and confirmed new password, that this would be the easiest solution.

View 1 Replies View Related

Debian :: Run An Installation With Other Users Not Root

Mar 3, 2011

I have downloaded a package when i have logged in with a user that is not root. I download the package and it is under the folder "Downloads". When i try to unzip the package it sägs that the user does not have the priveliges to run the command. When i change to the root with the command "su -" i cannot see the package to unzip it from the root user prompt. What shuold i do?

View 7 Replies View Related

Debian Installation :: Different Locales For Root And Users

Mar 30, 2015

I've just installed a Debian wheezy and I'm experiencing some issues regarding the "locales". No matter what I've tried (ran "dpkg-reconfigure locales" and restarted my session, edited "/etc/default/locale" then ran "locale-gen") to update the locales, running "locale" in a root shell or as a regular user returns different results.

In a root shell, the result is the right one (similar to "/etc/default/locale").

I do not understand why locales values are different in one case or another.

As a side question, what is the correct syntax for /etc/default/locale ? Is it case sensitive (I've encountered "en_US.utf8" and "en_US.UTF-8") ? Are double quotes mandatory (encountered values with or without double quotes) ?

user@pc ~ cat /etc/default/locale

Code: Select all#  File generated by update-locale

[Code] ....

View 4 Replies View Related

Debian :: Why Only Root Has Internet Connection And Other Users Don't

Jan 12, 2016

When launching any program (iceweasel, ssh, dropbox) that requires internet connection as a normal user it does not connect.

However if I try launching them as root it does. Sometimes, I have to manually disable/enable wifi and then reboot in order to access Internet, sometimes it works and sometimes it does not.

I have Code: Select all3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u1 (2015-12-14) x86_64 GNU/Linux

My resolv.conf has the following permissions

Code: Select allsudo ls -l /etc/resolv.conf
-rw-r--r-- 1 root root 26 Jan 12 05:03 /etc/resolv.conf
My Code: Select allsudo lspci is
Code: Select all00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)

[Code] .....

View 9 Replies View Related

Debian :: Accessing Windows Volumes From Non Root Users?

Mar 25, 2010

How to access Windows volumes from non-root users?

View 4 Replies View Related

Ubuntu :: How To Delete A Root-restricted Folder

Sep 9, 2010

I backed up my information from 10.4 to an external hard drive before I switched to pinguy using sbackup. Once I installed pinguy, I made sure to download sbackup and hit restore. So far, all fine and dandy, except when it restored my information, it extracted all the information to a new folder in /home, which is root-restricted, so I can't even access it normally. I got annoyed, and just manually extracted the music and documents (which were the only things I really cared about anyway), and now I'd like to delete the 15 or so gigabytes just sitting on my computer, taking up space. The folder being root, I couldn't just drag it to the wastebasket. so I started terminal, entered root, typed rm /home/tmpuWiQlI (the folder in question), only to be told it's a directory and can't delete it! What gives?

View 5 Replies View Related

OpenSUSE :: Setup Private Git Repository With Restricted Rights On Server Without Root Access?

May 15, 2011

a friend of mine is doing a small website-project in school (group of ~6 people). They want to use git as VCS and need acces to a server. I have an account on the server from university, but - of course - no root access.

I could create private/public keys for them, to SSH into my account, but I don't want them to have this power I found 'git-shell', which seems to be used for restricted access with git (although I'm not sure whether I understood the functionality).

My question is: Is it possible to configure SSH keys in that way, that the server runs them (and only them) in git-shell in a specified directory (using ~/.ssh/{config,authorized_keys})?

So that they can
- log in with their SSH key
- use git, execute scripts etc.
- use git push/pull from their private+school PC
- work only in a specific directory (like chroot) eg. ~/web-project/


View 2 Replies View Related

Red Hat / Fedora :: History Of All Sudo Users And All Root Users In F13?

Jan 18, 2011

How can i see history of all sudo users and all root users in fedora 13 ? history command only shows one users history ?

View 5 Replies View Related

Ubuntu :: Adding A Directory For New Users?

Apr 17, 2011

When i create a new user i want this user to have a public_html directory created in their home.

View 5 Replies View Related

Red Hat / Fedora :: Adding Users With Kickstart

May 2, 2010

You can add a user with their password in one go, just use the -p option:

useradd -p '$1$S5P0QMGg$1RJ8yBPnDvyJ0SynNkESL1' mruser

The above password hash is for the word: password The easiest way to hash your password would be to grab it out of /etc/shadow

I am trying the same with the ks.cfg for RHEL5.4, but the users dont seem to get creted, after I login.

useradd -p <ENCRYPTE_PWD> username

View 2 Replies View Related

Red Hat / Fedora :: Adding Users With Vipw?

Feb 23, 2011

I have bits and pieces but I'm wondering if anyone could post a step by step way to add a user using vipw? It seems handy to know. And am I correct in saying that the user added with vipw could then be added to a group using vigr?

View 1 Replies View Related

Ubuntu :: Managing / Adding Users In Lucid?

May 7, 2010

Basically if you go through System > Administration > Users and Groups then I do not get prompted for a password, I cannot see the root account, nor can I add/modify other accounts.

I understand that Ubuntu has now moved away from allowing the root account desktop access which is ok by me even though it's very much in line with something Apple would do. (odd that this comes right after Ubuntu went all apple style with the default theme too.) However, I would like to add other accounts to the machine, for my wife and anyone else i choose for example. Anyways, pushing the "add" button does nothing. Thankfully the "help" button did work which allowed me to do the following workaround.

I managed to get around this by working through the command prompt, open terminal:

user> sudo -i
type in your password
root> users-admin

This allows the addition of accounts, also seems it allows the root account to be enabled though I haven't bothered to test it. The one thing I'll say is that it runs VERY SLOW!

View 3 Replies View Related

Ubuntu :: Adding Multiple Users Terminal?

Jun 1, 2010

I want to add users from the command line, I know I can use the adduser for individual users, but if you have 50 or more there must be another way. I'd rather not use the GUI.

View 2 Replies View Related

General :: Adding Users To Existing Group

Aug 26, 2010

I've been asked by my professor to add the list of users to a linux server (not sure of the OS type I think he said debian) but anyway. He gave me this script to add users.

Code: #!/bin/bash
# Script to add a user to Linux system
if [ $(id -u) -eq 0 ]; then
read -p "Enter username : " username
read -s -p "Enter password : " password
egrep "^$username" /etc/passwd >/dev/null
if [ $? -eq 0 ]; then
echo "$username exists!"
exit 1
pass=$(perl -e 'print crypt($ARGV[0], "password")' $password)
useradd -m -p $pass $username
[ $? -eq 0 ] && echo "User has been added to system!" || echo "Failed to add a user!"
echo "Only root may add a user to the system"
exit 2

I need to see if I can get this script to read a file that list the usernames and their passwords using the pipe command (or some similar command) so I can just do it in one batch. I've done some searching but there are so many vairiations of the code that I've confused myself. Also, I'm not too familiar with linux, it's been a few years since I've used it but in the prior script, I need to add the users to an existing group named "forensics". Which line would I change/add in order to do this?

View 3 Replies View Related

Ubuntu :: Adding Users In Php With Shell_exec() Command?

Aug 22, 2010

i'm working on a small servermanagement app in php to manage the ubuntu server. Someone told me I have to use the shell_exec() command in php to execute the commandlines in ubuntu.

I did a ping test wich works... PHP Code:


But I can't seem to add any users. When I list my user using "users" command in ubuntu, I only see my loginname. How do I add users using php?

View 2 Replies View Related

General :: Changing Password And Adding Users?

May 6, 2011

I am using Mandriva 2010.2 KDE. When I try to change my password, using the Welcome>About Me>Change Password, I am asked to type in my current password, after I press OK, the dialogue box just seems to hang, nothing happens, the computer does not freeze, just the password dialogue box kind of stops responding.

View 3 Replies View Related

CentOS 5 :: Adding Users With Disabled Logins?

Mar 16, 2011

I have recently installed CentOS on my server and I am trying to install a Teamspeak server as well as a web server using ISPConfig. But, for installing a Teamspeak server I wanted to create the user account "teamspeak" to run it so my files under root are not accessible for security reasons. I was wondering if there was a way of creating the user teamspeak with a disabled login, I know in Ubuntu to do this you do: adduser --disabled-login teamspeak

View 6 Replies View Related

Ubuntu Servers :: Adding AD Domain Users Group?

May 4, 2010

I have server 9.04 and joined thru winbind to Windows Domain and subversion installed.Windows AD users can use their own credentials to join and everything is working fine.However the group svn which is used to access the repos in /etc/groups has some users.However I would like to add the domain users group to the svn group but the domain users contains Space. And /etc/groups does not happend to read the space any ideas on how to add "domain users" to the svn group in /etc/groups

View 1 Replies View Related

Ubuntu Installation :: Adding SSH Users - Permissions Set Incorrectly?

Jun 14, 2010

I was just trying to add new ssh users for tonight session and really messed up badly. I first installed package ibsh (iron-bars shell). I didn't know how to use it so I just went to a new user account and added ibsh at the end of his .profile. (I wrote

sudo gedit /home/username/.profile
which I suspect is the problem, I should have written
gksu gedit /home/username/.profile

Well graphical logging became impossible in my own account until I did the following in my own account:

chmod 777 .profile
chmod 777 .ICEauthority

But desktop is still empty. I have restarted the system. I cannot use Firefox (it works without output for 10 sec and then dies). Chromium says something like "Problems due to not being able to update profile" but works. (I cannot see any files on desktop. But if I do places > desktop I can see them.) All the mentioned files had -------- for permissions so I did:

chmod 777 ~/Desktop/*

How to get my system back to normal. I think I got botched up permissions. If I create new user accounts, I get several error messages in these accounts.

View 3 Replies View Related

Ubuntu :: Adding Multiple Users Using Batch File?

Oct 26, 2010

Idealy I want to create a batch file which would read the list and create a user and a password.

I know i need to create the file using the vi command and using the useradd facility to add the users however where i go from there i am lost.

View 5 Replies View Related

Server :: Adding LDAP People Entries That Are Not Users

Jan 22, 2010

I currently have an LDAP database on my Suse 10.2 server for managing authentication and controlling emails for my Cyrus email server. I use this setup to provide email functionality to my web and email hosting clients, as well as DNS functionality, and it uses the default LDAP database that was setup when OpenLDAP was initially configured. Email support is working wonderfully, I might add. I also tested and verified the use of an email lookup directory in two different email clients (Outlook and Evolution) so that I can tell one of my clients how to lookup the email address of users who are setup in the LDAP server, and it works beautifully.

However, I'd also like to be able to allow my clients to build a shared contact database that can also be used in their email clients so that they can share them among all of their users. Ideally, I would need to be able to allow each client to have their own database of shared contacts, and I assume this would be done by creating a new LDAP database for each client company (i.e. group of users) that can contain the list of shared contacts for any of that client's users. When they configure their email client directory settings, they would enter the base path to their database in order to retrieve their shared contact database entries.

In my web searches, I've found plenty of CRM solutions on the web that claim to provide this type of functionality, but I believe that OpenLDAP contains everything I need to make this work without adding another layer of software to the server solution. (I subscribe to the "Keep it Simple, Stupid!" approach whenever possible.) Essentially, I need to have People entries in a client's LDAP database that are NOT email users on the system. The fields in the standard people schema are all the fields they would need - as long as I can figure out how best to add these non-user entries in the LDAP database. Are there any potential difficulties in creating additional LDAP databases expressly for this purpose?

Are there any tricks to adding contact entries into a client's LDAP database without them also being current email users on the server, so that those entries can be retrieved through an Email Client directory lookup? I will also want to provide an easy method for my client users to add new entries to their LDAP contact database, most likely through a web interface for them that could then issue LDAP commands on the server based on the input fields for the new contact. (I don't believe this is possible from within the email client itself.) Is there any reason this could not be done with the proper configuration? What should I be aware of as I setup this contact management web interface? Is there a better way for non-technical client users to manage this list of shared contacts?

View 3 Replies View Related

Server :: Adding More Users In LDAP Servers And Clients?

Mar 18, 2011

I installed and configured LDAP server and client on RHEL5 successfully. Problem is that when I add more than one user on server and clients, It shows error 'invalid user'.When I run the command:-#chown -R user:users /home/user, It shows error 'invalid user'. by step for adding and modifying more users in ldap servers.

View 1 Replies View Related

Ubuntu :: Adding Additional Users Causes Large Number Of Errors?

Jun 29, 2010

I'm running 64-bit 10.04, upgraded from 9.10. The problem I am experiencing is that any user accounts aside from my main account are problematic. This includes any accounts I add, as well as the GDM guest session.The specific problems that I have thus far experienced are as follows:

1. The desktop loads often improperly. In the latest instance of this the graphics on the right side top panel were randomly chopped-up, leaving parts of my clock on either side of the volume control, among other things. 2. If I make ANY customizations to the desktop at all, the desktop takes nearly a full minute to load on log-in. 3. Flash videos don't work properly on Firefox. Sometimes they only play after refreshing a page, often they will not load at all. Also, attempting to load or play a flash video will sometimes causes Gnome or Firefox to crash. 4. (And this is the one that REALLY has me stumped) Whenever I log into my main accountant after logging out of another account, the IBus control appears in my system tray.However, when I open the IBus preferences the associated check box is (and has always remained) unchecked.Not sure where to go with this one. More than anything, the IBus bug makes me unsure of where to even begin looking for the problem.

View 1 Replies View Related

Ubuntu Servers :: LDAP Users And Groups - Adding A User

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

General :: Resetting Password And Adding Users - For Acer Aspire One

Aug 27, 2009

I have no fracking clue what my password is and I want to create multiple user accounts. I have no idea whether or not I need to re-install the OS or what..nor can I even begin to imagine how to do so without a CD drive..I should also note I didn't start her up myself.

View 1 Replies View Related

Copyrights 2005-15, All rights reserved