Ubuntu Servers :: Newly Created User's SSH Shell Looks Different ?

Jan 25, 2011

I am running Ubuntu Server 10.04 and I just created a new user. Everything works great except the new user's SSH shell can not do certain things.

For example, I cannot arrow up for previous commands on the new user. I just get "^[[A" when I try that. (I can do this on root.)

It also looks different on root versus the user, look:

Code:

Code:

View 6 Replies


ADVERTISEMENT

General :: Change Password For Newly Created User And Root User Using Graphical?

Jan 15, 2010

I am using mint 8 for a 2 weeks, I am noob to linux but I like Mint than any other linux distro which is great alternative to windows. I have a problem regarding password reseting.

1. My laptop automatically get logged in without asking user name and password.

2. I tried to change password for newly created user and root user using graphical way but it does not work.

2. I can perform administrator task using only OEM user which is default inbuilt user of mint.

How can make my laptop to ask password when mint get booted? How to change password for other users?

View 1 Replies View Related

Fedora Servers :: Mounting NFS Share On Newly Created Directory Failed

Mar 12, 2010

Running NFS on Fedora 10. Exports fine. I tested it locally. I tested the NFS configuration by trying to access the exported directory from my local machine, before testing it from a remote machine. While logged in as root, I created a new directory "/mnt/nfstest".

Then I mounted the NFS share at the new directory I created:
[root@eric root]# mount -t nfs localhost:/mnt/nfs /mnt/nfstest

When I tried to mount on the remote client:
[root@frank root]# mount -t nfs eric:/mnt/nfs /mnt/nfstest

After a while I got:
# mount eric:/mnt/nfs /mnt/nfstest
mount.nfs: mount system call failed

I tried strace but wasn't sure what I was looking for, but I've attached the results as a .odt file.

View 1 Replies View Related

Fedora Servers :: Add Newly Created Users To Supplementary Groups Automatically?

Jul 30, 2010

The question is, as far as I know Ubuntu distro adds a user created with useradd to supplementary groups automatically. For instance, I want to enable sudo for all newly created users on my LiveCD and want them to be added to the group 'wheel' on creation. I'm sure it is possible to do it in Fedora, but how?

View 10 Replies View Related

Ubuntu Servers :: Move A User To Group When He Is Created With Adducer?

Jan 14, 2010

When you create an user with adducer (name) an folder is automatically created to that user.

But how can i move a user to a group when he is created with adducer.

View 3 Replies View Related

Ubuntu :: Mouse Follows Newly Created Windows With Compiz

Feb 6, 2011

I have an Intel setup with 64bit Ubuntu. I have an NVIDIA graphics card. When I used compiz, I found that my mouse would follow newly created windows. (e.g, I would bring up terminal and if I hit F1, the mouse would move to the upper right of the screen by itself. I have since turned off compiz which resolves the issue. where I can turn it off/on.

View 1 Replies View Related

Ubuntu :: Cannot Mount Newly Created LUKS Filesystem

Jun 24, 2011

I just created a LUKS filesystem following these instructions. Everything seemed okay at first. It mounted with no problem and I moved some files there. I then unmounted it and remounted it to see if I would need to use a special command. It mounted right away and even allowed access to normal users. So, I rebooted to see if anything would change. Before I go on I should say that my partitioning scheme is weird. Not knowing any better I 'upgraded' to 11.04 when my update manager told me a new version was out. This didn't go well and I had to do a fresh install to put 10.10 back on my machine. After this the way it partitions the drive has been weird. What I had was /dev/sda1 which has my installation on it including /home. But, where it gets weird is /dev/sda2 would not manually mount. Looking at the disk in gparted it showed /dev/sda2 THEN under that, as if they were sub partitions or something, I had sda6 and sda7. I had been using 6 and 7 for various things and they mounted fine, so I decided to encrypt 7. After reboot I only have sda1. Everything else shows up as unallocated and ever way I try to mount I get device does not exist.

I only did the procedure for sda7 but 6 has been affected as well. There is no longer a sda2 the way there was before. This always bothered me anyway since I wanted sda2 for my /home but it wanted to call it sda6 and put it under sda2 like I said, I could never fix that, now this.

View 3 Replies View Related

Red Hat :: Adding Newly Created LUNS Dynamically

Apr 13, 2010

We are running Oracle 10.2.04 RAC on Red Hat Linux 5 and when ever our SAN storage admin created new LUNS we have to reboot the servers so that server can see newly created LUNS. This causing downtime to our application. How we can add LUNS dynamically without rebooting servers. We are using device mapper mulitpath from red hat version 0.4.7-30.el5 and we have QLOGIC HBA's.

View 1 Replies View Related

Ubuntu Servers :: Postfix, When I Use Postfixadmin To Setup A New User, The Maildir Does Not Get Created ?

Jan 31, 2011

I configured my server to have the virtual mail authenticated and stored through mysql DB.Now the authentication works, but then I got the dreaded -ERR chdir error.After research and testing for ohurs I finally got it working on ONE account after I created the maildir with maildirmake.Now I am able to login and "list" messages, but nothing else. When I use postfixadmin to setup a new user, the maildir does not get created so I have the same problem.I'm trying to troubleshoot what is happening.Here are the relevant config files:

/etc/postfix/main.cf

Code:
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no[code].....

View 3 Replies View Related

Ubuntu :: Set Default File Permissions For Newly Created Directories?

Nov 18, 2010

I'm just wondering: I know that umask sets the default file permissions for files, however I want to know if there is anyway to set default file permissions for newly created directories.

For example, I want my user to create new directories that anyone can access and modify (777) but I want the new files the user creates to be 755 (read by everyone, written only by user).

Is this possible?

View 1 Replies View Related

Debian Configuration :: Newly Created Users Can't Login?

Aug 27, 2010

i've written a bash script to add new users to our system. the script works so I won't bother you all about that. when a new user is created with it, they can immediately login to our domain from any terminal, which is good. However, the newly created user is unable to login to debian at all, and so cannot access the server. when attempting to do so, they get a message like "the system administrator has disabled your account". This is a good thing really as normal users have no need for debian login, but I do need to add a few admin users who will need direct access to the server machine.

/usr/sbin/useradd -g smbusers -d /home/$username -s /bin/false -m $username
passwd $username
smbpasswd -a $username

This is the code I'm using to add the user. The rest of my script is just a wrapper and GUI. I figure the login shell may have something to do with it, so I tried changing the shell of a user to the default /bin/bash. This resulted in the user being able to login - sort of. Gnome doesn't load though, and there's a cascade of errors across the screen about things failing to save or load settings. mostly stuff like nautilus, X, and gnome. the desktop background is black and there's no interface. Logging in with a previously existing account works fine though. Clearly I have an issue somewhere.

View 1 Replies View Related

Fedora :: Unable To Select The Newly Created GLX Context?

Jul 25, 2011

I just updated my system, not sure which package may have caused this, here are the outputs:

Mutter:
Code:
(mutter:4637): Clutter-CRITICAL **: Unable to initialize Clutter: Unable to select the newly created GLX context
Window manager error: Unable to initialize Clutter.
Compiz:

[Code]...

View 3 Replies View Related

General :: Set 775 Permission For All Newly Created Files And Folders

Sep 30, 2010

i am facing a problem regarding permissions. how can i set 775 permission for all newly created files and folders. when i give chmod -R 775 /data permission is getting to all files and folders. but when i create a folder i wont get that permission. i want this 755 permission should be permanent for all old and newly create files

View 7 Replies View Related

Server :: Default Size Of A Newly Created Folder?

Dec 4, 2010

I just want to know how the default size of a newly created file or folder is 4.0 kb.Does this value is mentioned in any configuration file,if that is the case can we edit that file and can we change this default value.

View 7 Replies View Related

Ubuntu Servers :: Apache User_dir Mod And Home Directories - Automatically Set When User Account Created?

May 28, 2010

I want to automaticly set the group ownership of user home directories to a group that the user is not part of. This is so that Apache can be part of this group and can access user public HTML directory, but other users are not able to access in any way the files in the users home directory. What I have seen that works manually is adding the user and then changing the group for the home directory. But I want to automatically set this when the user account is created. WHat I see happening is that when /etc/skel is copied, it automatically sets the group and ownership of everything to the users default group and ownership. I've seen some suggestions on setting permissions, but these don't seem to work because it seems that users are able to cd into a directory and not list it, but if they know the file name they can access the file.

View 1 Replies View Related

Debian :: Change Default Permissions For Newly Created Files?

Jan 19, 2011

I'm new to Debian. I've read the documentation on this but it is too heavy for a new user to understand. I would like to change the default permissions for newly created files/directories.

I want all newly created files by 'user1' to have the default permissions of:
1. "owner can read and write"
2. "group can read and write"
3. "other can read only"

Permission 1 and 3 are already default. But I would like number 2 to be default as well. (the current default for group is read only).

View 9 Replies View Related

General :: Can't Make New Folder Or Copy Paste In Newly Created Partition?

Mar 17, 2011

I just maked an ext4 partition by the help of gparted. Ubuntu is my only OS no dual boot. Using Ubuntu Maverick. The problem is partition must be open as root to do any work else it wont even allow me to open file,create folder,cut copy paste or anything.

View 9 Replies View Related

General :: How To Update Newly Created Partion In RHEL6 Without Rebooting System?

Apr 17, 2011

How to update newly created partion in RHEL6 without rebooting the system?partprobe /dev/sdaN...does not work here in RHEL6, however it did work in RHEL 5.

View 2 Replies View Related

CentOS 5 :: How To Change Owner Of Copied Files To Newly Created Users

Jan 29, 2010

CentOS 5.4 install, likewise open standard install (For active directory authentication).I have a license service which requires a license.txt be in the users home directory.The group owner for license.txt must be the same as the license service. Whenever a new domain user logs in, it creates the all the appropriate files but the group owner for license.txt is the users domain group. My current workaround seems like more effort than it's worth, is there another way to get this process solved easier/more secure?

- copy the license.txt into /etc/skel

- created a script to check for the presence of license.txt, check it's permissions and change them if necessary

- gave the domain's group sudo [nopasswd] access to the script (the script is not writable)

- execute the script in /etc/bashrc

View 1 Replies View Related

Programming :: Detecting Newly Created Folders / Files On Local File System?

Apr 16, 2010

Using C++, I want to process sub-folders on my home folder sequentially each with a special naming format and containing some binary files in it:

Code:
1/
2/
3/
4/
5/
6/
...

Give above folders, I will process files in 1/ at first, 2/ at second, 3/ at third, and so on.

For some n/ folder, if I realize that n/ actually does not exist in local file system, I do not want to wait for it. Hence I will keep processing (n+1)/ folder, and so on.

However, when processing some (n+m)/ folder, previously not processed n/ folder may have been created on local file system. In this case, I do not want to miss processing it, but somehow detect its creation and process it. After processing n/ folder, I want to continue from (n+m+1)/.

View 5 Replies View Related

Security :: Group Write Access For Newly Created Files / Directories Without Changing Umask

Apr 3, 2009

I have several directories, each owned by root and a group of the same name,By setting the sgid bit, I made sure that newly created files and directories are owned by the correct group, and that directories have the sgid bit set too.On each newly created directory or file, the permissions are set to 755. This is because this is the default umask, and I cannot change a users umask. I actually only want files created below a particular directory to have group write access, inheriting this behaviour to newly created directories properly.I'm not on samba or NFS, I have to do this for SSH users.The filesystem is ext3.I started to fool around with ACLs, but couldn't find what I was looking for.

View 3 Replies View Related

Ubuntu Servers :: Run A Shell Command As Another User?

Apr 26, 2011

The short version: I have to manage some virtual machines using php shell_exec function, so far I cant do this because apache is run by the user www-data and virtualbox by the user vboxuserFrom what I've read so far, I've thought of 3 possible solutions: 1.- Create a script on my vboxuser that I can call from php to manage the Virtual Machines.2.- Change the apache user from www-data to vboxuser so I can manage the Virtual Machines through php
3.- Reinstall VirtualBox, this time using www-data as my user. I'm not sure if any of these will work and I'm not too sure of which would be the best solutionNow the longer more detailed version:

I have a remote server running Ubuntu 10.04.2, in that server I have set up VirtualBox so I can run several instances of WinXP to perform different tasks. Everything is setup and I can manage the virtual machines through SSH. If I want to run them as a different user than the one that created them (a user that so far only has been used to create the Virtual Machines) I have to do sudo -u vboxuser.Now, I need to create a PHP script to manage these virtual machines (I know about phpVirtualBox, but it's not what I need). If I try to run the virtual machines using shell_exec() from php, I get no answer at all (And I have tested that shell_exec is working on my server).

View 6 Replies View Related

Ubuntu Servers :: New User Shell - Tab Completion Does Not Work

Nov 30, 2010

When I add a new user and SSH to my server as that new user, my command prompt is just a '$'. Tab completion doesn't work either. What I notice is that I get this:
Could not chdir to home directory /home/scaldwell: No such file or directory
$
Echo PS1 yields nothing. There is also nothing in /etc/skel. I didn't have to do anything special to get my initial user setup with the right prompt, and the second user has been added to the admin group as well. I have noticed that if I issue the command sudo chsh -s /bin/bash the account gets the correct prompt.

View 1 Replies View Related

Ubuntu :: No SUDO Access When Admin User Created Through Kubuntu User Manager?

Jan 6, 2010

Original HOWTO can be found at: [URL]... So the other day I was in IRC and someone had brought up a problem where they created a new Administrative user, but didnt have rights to use sudo. Looked into the problem a little bit to figure out what was wrong, and it turns out that when you create a new user through the user manager (in kubuntu, anyways. Havent tested in Gnome.) the user gets added to the adm group, however, a quick look at the sudoers file shows that its looking for users in the admin group to allow the use of sudo. So, to solve the problem we do the following: If youre on the new admin user (which Im assuming you are) use the following commands:

Code:
su [insert username of old account without brackets]
sudo usermod -G admin [username of new admin account without brackets]
exit

Then simply logout, and then log back in (not always necessary, but the easiest way to flush the permissions.)

Code:
su [insert username of old account without brackets]
Means were going to Switch User to the old admin account
Code:
sudo usermod -G admin [username of new admin account without brackets]
This simply adds the admin group to the secondary group list for the new user
Code:
exit
Pretty self explanatory

View 4 Replies View Related

Ubuntu :: Why The User Created At Installation Time Is A Custom User Instead Of An Administrator

Oct 31, 2010

why the user created at installation time is a Custom User instead of an Administrator.

View 4 Replies View Related

Programming :: Shell Script To Copy Newly Changed Files With Rsync?

Apr 20, 2010

I've got quite a decent rsync script setup, however I'd like to invoke it whenever there's change to a file. My initial idea was to use find, however this has two major flaws - the first being my particular unix veriant cant understand -print0 which means this doesn't work, the second is that I'm not 100% sure how to put variables into quotation marks so ls can understand the target:

Code:

for i in `find /shares/ -mtime -1 -print`; do ls -ltr $i;done

View 14 Replies View Related

Security :: Changing Home Directory Permission In User Management After User Created In Suse(KDE)?

Feb 2, 2011

created a user but i forgot to change the home directory permission.so after user created when i go to the user and group mangement i cant see that permission filed related to the home permission directory.my purpose is to stop accessing other user to my home directory,how it can be possible??

View 4 Replies View Related

Red Hat / Fedora :: Unable To Access Newly Added User In Home Directory

May 12, 2011

I have added a new user by following command :
root# useradd -u 100 -g 120 -d /product -s /bin/bash sandesh
I am not able to access it in /export/home directory..?

View 1 Replies View Related

Programming :: Shell Script To Monitor Files Created On A Folder

Aug 27, 2009

Can someone please help me on how can i create a script that will monitor file creation on a single folder and sending the newly created file on a separate folder? Only the new created file must be transffered or copied to the other folder. The old ones remains.I urgently need this for production deployment.

View 8 Replies View Related

General :: $HOME/.bashrc Disabled When User Shell Is 'rbash' (restricted Shell)?

Jun 15, 2011

MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.

View 2 Replies View Related







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