General :: Usermod Command Not Working Properly?
Mar 22, 2011
I created a user named Bob. Now i want to change its home directory to be Bob1. I did this
usermod -d /home/Bob1 Bob
but not effect !!!
The name was still Bob. What might be issue ?
View 8 Replies
ADVERTISEMENT
Jul 20, 2010
I am trying to change the password of a user by 'usermod' command. let us assume that there is a user named "test" to change the password of the user we can type "passwd test" which will change the password of the user "test". I want to change the password similarly using the command "usermod". when I give usermod -p yahoo test"(yahoo is the password which I want to set), I am not getting any errors but when I switch user to test, I am unable to login.
View 1 Replies
View Related
Oct 3, 2010
I need to add a comment to /etc/passwd using usermod, but everytime I do it tells me that I can't modify a user in the LDAP database without DN. What is DN?
View 7 Replies
View Related
Oct 30, 2009
I have some files which are UTF8 and have first line as blank. It shows as data file by "file" command. If I remove the blank line, it shows it as UTF8 text file. I have to choose displayable text files from many files, so I used "file" command.
Note: I do not have permission to attach file. So not able to attach sample file here.
View 5 Replies
View Related
May 27, 2011
My Question is I have installed the ssh key authentication in Server A. User can connect this using key file via SSH. without authentication user can't connect this system via SSH. Now I am trying to copy the file from Server B through SCP command. But it is not working. While I am trying use this command from Server B I am getting below error "ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection timed out lost connection". xxx.xxx.xxx.xxx is Server A. SSH is enabled in both server A,B.
why SCP command is not working?
View 1 Replies
View Related
Mar 2, 2011
I have installed Ubuntu 10.10 to a live USB stick and created a new user with an encrypted home directory.Everything is working fine apart from a weird problem.when I create a new file or directory in the encrypted home it does not show up in directory listing.eg:cd ~/Documentstouch test.txtls -aldrwxr-xr-x 2 USER USER 4096 2011-03-02 14:12 .drwx------ 32 USER USER 8192 2011-03-02 13:03 ..if I try editing the file by entering the path, it works, even though ls does not list it!eg: nano ./testls as root makes no difference and the file is not hidden.If I create a file in nautilus, it shows there but still does not show in the terminal or any other app
View 2 Replies
View Related
Apr 20, 2011
basically in the child process iam just calling the ptrace(PTRACE_TRACEME, 0, NULL, NULL) system call but if add this stsyem call rest of the code not working properly. i found the reason basically what happening is when we have ptrace() system call its printing the same variable 3 times i.e its not executing it 3 times but just it is printing 3 times .iam just wondering how it could be possible.
View 1 Replies
View Related
Jul 22, 2011
Is there a way to manually change a username without using usermod? What files would I need to edit? I am using Micro Core 3.7.
View 4 Replies
View Related
Mar 23, 2010
modifying an account from bunnyb to bugs using the usermod options -d and -m?
View 1 Replies
View Related
Jan 21, 2010
I am using inotify-tools in order to achive my task. inotify-tools has two commands inotifywait or inotifywatch. I am using inotifywait. I want to be able to extract unique paths that inotifywait will output and then take those unique file path run them through clamscan and quarantine the files if necessary. Here's what I have come up with so far.
View 6 Replies
View Related
Aug 1, 2010
I've noticed that, I can not copy a file trough scp .here is an example:
[root@Radius ~]# scp 123.txt /etc/logrotate.d/radiusd.log "nasser@192.168.8.46:/tmp"
nasser@192.168.8.46's password:
[root@Radius ~]#
[code]....
View 2 Replies
View Related
Jan 18, 2010
I am currently trying to make a front-end (client) for xmms2. However, I have run into a road block. I need to get the current number of seconds of the current playing song, so one would think to use:
Code:
xmms2 current "${playtime}"
However, all this does is return a blank line. Infact, if I try to do any "formatting" for
[code]...
View 4 Replies
View Related
Apr 30, 2010
i am using ubuntu 8.04 and i am facing a problem of mounting external pen drive, exernal harddisk or even other /dev/ partitions in my login mount is not working so i manually mount the partition by mount command .. but i dont know how i can resolve this problem ...
fdisk -l currently returns as
Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
[code]...
View 1 Replies
View Related
Jan 31, 2010
I installed Kubuntu 9.10 this morning and haven't been able to get my wireless working properly. I can connect to my network (WEP 128bit key) and acquire an IP address without any problems. But as soon as it connects it stops talking to the router (about 4 pings after it connects). The pings then change from a reply to saying "Destination host unreachable", even though it works fine on the Windows box I'm sending this from.
View 1 Replies
View Related
Jan 14, 2010
When i use the shutdown-command in the terminal as root, it nearly works. It starts to shut down, and it looks like all programs and the kernels shuts down. I end up with a black screen, sometimes with the ubuntu-logo on, but it never powers off. I have to force it off by holding the power button. When i use the graphical interface to shut it down, it works perfectly. The poweroff-command works without problem too.
Here is the command i use:
Code:
View 4 Replies
View Related
Jun 16, 2010
1). vlc player not working properly..when i play the video in vlc audio is not clear its strucks every few min.. but video is moving nice....how to solve this problem i'm newbie to linux open suse
2)when i play Mp3 songs in banshee its good but some times its hang...
3)how to restore the linux?(i mean how to restore the operating system)
View 2 Replies
View Related
Jun 22, 2010
i'm just trying to understand named pipes in linux.For that i'm just trying to create one named pipe using mkfifo.but its not working properly..following is my code snippet. so if anyone comes across the mistake i made
Code:
#include <stdio.h>
#include <errno.h>
[code]....
View 8 Replies
View Related
May 30, 2010
My sound on Runescape stops and picks up, is very choppy and annoying. I'm using Debian "Lenny". Sound on everything else works just fine (Flash, VLC, etc...)
Here are the Java packages I have installed:
Here is my computers hardware:
Intel Core 2 Duo 1.8Ghz
2GB RAM
250GB HDD
nVidia 8600GT
View 10 Replies
View Related
Apr 25, 2011
I had a problem with apache2 and getting .htaccess working. I have done some things and i believe its working the ErrorDocument command is anyway. I believe there may be some problems with the rewrites though.Im trying to take a urlhttp://localhost/showthread/123and make it display whats on http://localhost/index.php?showthread=123The rewrite rule is Quote:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^showthread/([^/.]+)/?$ index.php?showthread=$1 [L]
[code]....
View 8 Replies
View Related
Jun 12, 2010
I'm trying to start the fluidsynth MIDI program, and it's asking me to run 'usermod -a -G audio username' to configure it correctly. However, when I try that, it says:
Code:
usermod: cannot lock /etc/passwd; try again later.
I've rebooted multiple times, and it still persists. Is there a way to fix this or achieve this another way?
View 2 Replies
View Related
Jul 2, 2010
I was planning on getting the USB to work in my 3.2.4 Oracle virtual box, and I found a post that says you have to be a part of vboxusers. I ran > sudo usermod -G vboxusers alias and then id to see that I was a part of the vboxusers group. After I installed an update which required restart. That is right! I am no longer in the /etc/sudoers file!!!
View 2 Replies
View Related
Oct 19, 2010
I installed Intrepid on my netbook a few months ago, and since I'm the only one who uses it I decided to set it to log me in automatically. Unfortunately, I recently realized that for whatever reason, even if I disable screen lock in configuration editor, it still wants my password (which I can't remember for the life of me). To solve this problem, i ranCode:sudo usermod acidicninja --password <new password>Two problems: the new password doesn't log me in, and my root password no longer unlocks root! I'm in deep trouble... is there any way to reset the root password without reinstalling?
View 1 Replies
View Related
Aug 18, 2009
I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?
NOTE: apache have the privileges to execute the command
View 7 Replies
View Related
Dec 21, 2010
Does anyone know why vi text editor would not work. I'm running Ubuntu server with SIP service and apache and when i try to edit config files with vi it gets messy.On the bottom of the screen it would not indicate if I'm in backup mode or not. I won't same changes, and it messes up the layout when you use arrow keys to move between the lines. Also sometimes when I use arrow keys it will insert capital A, B, C or D.
View 5 Replies
View Related
Apr 28, 2011
I have a Lenovo W500 ThinkPad. It is running XP on first partition, then Ubuntu. I've tried both 10.10, 11.04 beta 2, and now 11.04 release.With the release I just installed, it seemed OK till reboot-after-install, at which point nothing came up. I rebooted several times and just got errors and kernel panics in the ATI video driver. I also saw a lot of these messages:"udevd[80]: worker [XXX] did not accept message -1 (Connection refused), kill it" URL...
I had download updates on, I'm trying again with a clean install without updates. (Although, I said don't download while installing, and it says it is downloading language packs...?)Now, I also had issues with 10.10, where it would intermittently boot and fail to get video, I'd just be at a tty, and have to reboot and try again. I found it usually got video if I had just booted Windows (XP Pro SP3) beforehand, and not otherwise So what's going on there? Something up with the actual video card? I want to run Gnome anyways, is there a way I can specify that during the install?At any rate, if I can't get 11.04 working properly, I'll have to run 10.10, which I didn't want to do. I'm starting from scratch and wish to start from 11.04 if at all possible.
View 2 Replies
View Related
Apr 29, 2011
So yesterday I upgraded to 11.04 from 10.10 and now when I enter Ubuntu only my background image appears. No files, programs, or anything. It worked right after it rebooted to finish the upgrade but when I turned my computer on this morning I got nothing but background.
View 4 Replies
View Related
Jul 6, 2011
I am running this command in Ubuntu and windows but I get the full length instead of 10 mins. I want to split it in 10 minutes.ffmpeg -i 2000.flv -ss "00:00:00" -t "00:10:00" -vcodec copy -acodec libfaac 2010.flv
View 2 Replies
View Related
Jan 2, 2011
I'm running Ubuntu 10.04 and while trying to install the Wacom driver and kernel I get to the step after ./config and get this message when I use make.
make: *** No targets specified and no makefile found. Stop.
I've tried looking up on it and they all say that build-essentials should be installed first. So I looked into it and I found out that it's already installed along with the make command itself.
Anyway to get Ubuntu to recognize it as installed?
View 8 Replies
View Related
Jan 25, 2010
Ive set a password for root after rebooting tried to su in console and authentication error. however sudo works fine but if your like me using sudo all the time starts getting annoying and at times i find myself apt-getting alot of packages so su is best for me my other 9.10 works fine which i installed from a canoical cd i went through my normal routine of changing my default user permissions.
e.g(add default to everygroup, and set a root password) so after the first time it wouldn't work i remembered that on my other 9.10 i changed the groups that root was in so i did the same thing i did with my default user. well it still doesn't work but i read somewhere that its possible to change it in the console.
View 5 Replies
View Related
Jan 5, 2010
I have a website that I need to go to often and disable a monitor. To disable I need to login to the website-> click on monitor -> then uncheck a box.
I am told that I can do this through a scipt using the WGET command. I got the parameterized query and then tried to execute it through a *.sh script.
The script generates a php file in the location from where it is executed. When I go to the site and check the monitor is not disabled.
View 2 Replies
View Related