Slackware :: Can't Make 'useradd' Work
May 10, 2010
Code:
useradd -u 8001 -g luc -p mypassword -s /usr/bin/bash -d /home/luc luc
Open another terminal:
Code:
luc[159-0]test> ssh luc@61.62.63.64
[Code].....
Jump back to the other terminal... Try SSH login... Success!
'adduser' works, 'useradd' doesn't. Why? I have read the man pages several times and can't find the error in my command line.
I have a similar problem with groupadd
This fails: groupadd -g 8001 staff
This works: groupadd staff
View 9 Replies
ADVERTISEMENT
Oct 7, 2010
when I try to add a user it fails to make the corresponding home directory. I can still su to the user, set the password, and everything else. the output is as follows:
$ useradd username
useradd: cannot create home directory /home/username
I read that this could be a result of there not being enough space but if I do df -h, i see that only 88% of the memory is being used.
View 14 Replies
View Related
Jan 6, 2010
I've been using Slackware distribution for few years now, Setup new system with Xen Server 5.5 and installed Slackware 13 on it, but network card is not detected and can't seem to make it work.
View 4 Replies
View Related
Feb 25, 2011
I have down loaded: slapt-get-0.10.2h-i386-1.tgz I have read the install directions:
Quote:
- Using pkgtools: ----------------
To install:
$ make pkg
$ installpkg ./pkg/slapt-get-${VERSION}-${ARCH}-${RELEASE}.tgz
When I try make pkg, I get:
Code:
root@darkstar:/home/rob# make pkg
make: *** No rule to make target `pkg'. Stop.
I guess that I do not understand the instructions?
View 5 Replies
View Related
Jan 6, 2011
To an empty disk I installed:
1) Windows XP & then shrank it's partition to make room for OpenSuse) 2) OpenSuse with grub installed on the MBR (& then shrank the home partition & created a new root and home partition for Slackware 13.1). These two OSes dual-booted properly 3) Slackware 13.1 with LiLo installed to the superblock of the Slackware root partition (sda8). How do I get Slackware to be a 'working' selection on the boot menu?
View 14 Replies
View Related
Jun 15, 2011
do you guys know how to add a user to a linux box without using useradd?I'm working on a project to disect the process of adding users, but can't use useradd command.I know this involves modifying couple of files such as /etc/passwd, /etc/groups, etc..but i'm sure there is more to it.
View 3 Replies
View Related
Feb 17, 2011
how to make creative web cam working with ubuntu
View 1 Replies
View Related
Apr 8, 2011
I can't get flash controls to work. If the video auto-plays, it starts just fine, if not, I'm out of luck. I've tried reinstalling flash through the software center. Even if it autoplays, I can't control volume or pause or anything. I'm at the mercy of whatever is already there.
Ubuntu Karmic 9.10 - all updated as of 1/2/2009
Firefox 3.5.6
On a Lenovo Thinkpad R400
View 3 Replies
View Related
Feb 26, 2010
You might be asking why would I want to this? I will tell you why. My wife. She has grown up using Windows. The jump from Windows XP to 7 wasn't as bad as I thought it would be for her. I just had to show her where things changed to for about 10-20 minutes and that was that.
I did a trial run with Ubuntu for about a month using Gnome and not her cup of tea. So now I did a search on the Internet and came up with a Gnome solution here is the link:
http://aminesoft.wordpress.com/2009/...ike-windows-7/
And a KDE link:
http://www.kde-look.org/content/show...content=104232
But both websites are oriented towards Ubuntu/Kubuntu. I am just wondering if this will work with Slackware???
My wife likes a speedy system almost as much as I do. She also like the Search field when you click on the Start menu in Windows 7, the taskbar at the bottom, the big red X in right hand corner of the windows.
I just hope I can go this route and change it to look like Windows 7. I will be very happy and so will my wife of course.
View 8 Replies
View Related
Sep 10, 2010
I have done several attempts to build a local mirror of Salckware 13.0. There are two problems: I have to wait very long for a connection, they appear error during a connection which broke it so I have to restart. Is there any other way to build mirror? I am using Alien Bob scripts. Never before happened something like that. The connections with common web pages (google, etc) work well. Maybe I should look for some other mirror than those listed in mirror-slackware-current.sh.
[code]....
View 8 Replies
View Related
Dec 12, 2010
How can I add user on LDAP to my Linux server ?
View 1 Replies
View Related
Feb 10, 2010
I am trying to learn shell scripting from a book and all I am doing is following few instruction from the book. Now this is what I am doing. I am trying to add a user using the useradd command so I run the following at command prompt root@S8500C_9>useradd ajit. The first time when I add this user I was successful.Later I deleted this suer using the userdel -r ajit command.Now when again I am trying to add this user it gives me following error. useradd: group ajit exists - if you want to add this user to that group, use -g. Now when I try using the -g option with the useradd command it gives we all the set off options avaiable to use along with the useradd command but doesnt create the ajit use
View 5 Replies
View Related
May 25, 2010
when i see /usr/bin there is no useradd command. and i want to add a user.if i type the command it is shooting an error saying command nt found .how should i create a user.
View 3 Replies
View Related
Mar 26, 2011
I want to add a user with useradd command, however I get this error:
Code:
mahmood@node1:home$ sudo useradd user2
useradd: cannot lock /etc/passwd; try again later.
View 3 Replies
View Related
Jul 29, 2010
I'm having trouble getting compiz to work on my Laptop. It worked for a while and then I turned on Shift Switcher and a message popped up saying..."The new value for the button binding for the action Terminate in plugin Shift Switcher conflicts with the action Zoom Window of the Scale Addons plugin. Do you wish to disable Zoom Window in the Scale Addons plugin?" I was given the option of Set Terminate anyway, Don't set Terminate, and Disable Zoom Window. I clicked Don't set Terminate and ever since the only thing that works in compiz are the bindings in the general options. I've used synaptic to completely remove and then reinstall compiz but the problem persist. Something else weird, all of the changes I made are still there, even after complete removal, but they don't work?
View 2 Replies
View Related
Oct 29, 2010
When I try to hibernate, the computer just goes to a blank, black screen and doesn't turn off. I have to hold the power button to get it to shut down, and when I turn it back on none of the programs running before hibernation have been saved.
View 8 Replies
View Related
Feb 16, 2011
I just recently (about an hour ago) installed Ubuntu Netbook edition on my old laptop, and I was greeted with the message, that unity could not be run due to some sort of missing driver...fair enough, I was then greeted with the default Ubuntu desktop, I installed all my needed software (wine, google chrome) and installed the missing display drivers. I then rebooted the system, and once again I am stuck with the default desktop, and not the Unity interface. I checked the software center, and it says Unity IS in fact installed.. And yet I cannot make it appear. So now I ask you Ubuntu veterans. How do I make it work?
P.S. I wiped the system of windows, and the computer is an old HP Pavilion DV6000
View 2 Replies
View Related
May 2, 2011
getting a error return code for useradd commandthe return code is 1cite or tell me the explanation of return code 1 .
View 1 Replies
View Related
Mar 9, 2011
I encountered a question in the Redhat Skills Assessment regarding useradd: Which of the following cannot be defined when you create a user account with useradd?
a* A password expiration date.
b* The user's primary group.
c* The user's default shell.
d* The user's NIS or LDAP group.
e* The user's home directory.
Which is the correct answer? I have my own thinking which will be explained later.
View 2 Replies
View Related
Apr 5, 2011
how to useradd & smbpasswd using shell script.The below script i tried but its not working.
echo "$ecare2@" | smbpasswd -as "$ramecare"
View 5 Replies
View Related
Sep 5, 2015
I created a new user with command useradd (as root) :
Code: Select alluseradd razer123
And then set a password with command passwd (as root):
Code: Select allpasswd razer123
No Error!
When I logged out and tried to login with new user, I coulden't! (even after restart!)
I looked into /etc/passwd :
Code: Select allcat /etc/passwd | grep razer123
result:
Code: Select allrazer123:x:1002:1002::/home/razer123:/bin/bash
There is no home folder in the path!
# I have debian 8 and MATE desktop.
View 5 Replies
View Related
Jul 1, 2010
I want to create one user without password using useradd command. Is there any way we can do the same? I have googled it but couldn't get the perfect solution
View 1 Replies
View Related
Aug 4, 2010
Proftpd is installed and running fine on 8.04 server. I want to streamline the process of adding users. Adding a ftp user with USERADD fails (user is created but connection fails when trying to connect with ftp client).
Code:
useradd -d /ftp/ftphome/myuser -g ftp -m -p mypassword -s /usr/sbin/nologin myuser
But, ADDUSER works:
Code:
adduser myuser
usermod -d /ftp/ftphome/myuser -g ftp -m -p mypassword -s /usr/sbin/nologin myuser
It's a bother because I want to automate the process, and ADDUSER has all those prompts and asks for the password twice.
View 2 Replies
View Related
Jun 30, 2010
I would like to add a new user with useradd (on Debian 4.0), I get the message Segmentation fault. I made a strace, that says: access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) I have read maybe the libc6 is missing or damaged, so I installed it again (apt-get install libc6, install was successfull), but the problem is still there. I touched it (touch /etc/ld.so.nohwcap)
View 7 Replies
View Related
Apr 6, 2009
I work under centos 5, I would like to know which command to use in order to find where the useradd command is geinstalled. Second How can I find the 10 last files sorted (reverse) from the /etc directory.
View 2 Replies
View Related
Jan 14, 2011
I just installed Squeeze_di_rc1, whit gnome, when i insert any usb stick i recive how can i solve it?At the same times i tried to format in fat 16 with gparted but the result is the same.
View 6 Replies
View Related
Feb 2, 2010
I have followed the instructions at http://www.vcn.bc.ca/~dugan/setting-up-slackware.html (under "Making Firefox Perfect"), but I still get the error message"Firefox doesn't know how to open this address, because the protocol (rtsp) isn't associated with any program."
View 13 Replies
View Related
Jun 7, 2010
I try to add a new user but got error (shown in title). Is it possible to create a new user and create a new group at the same time? Or should I create the new group first then the new user?
View 1 Replies
View Related
May 27, 2010
I will be finishing my upgrade cycle to 13.1 and I am a very happy man! Slackware 13.1 is First Rate. I think it is very important that we support Patrick Volkerding so that he can continue to deliver our favourite OS to us. Slackware is PV's source of income. I just made a donation to Slackware using paypal (see the donate link in my signature), it works flawlessly. donate whatever you can: Make a donation using paypal, buy the CDs/DVD, buy a Slackware subscription, or pick up some merchandise at the Slackware store.
View 14 Replies
View Related
May 19, 2011
I am bulding my own image based on 2.6.32 kernel, I wish to add a guest user:
In a script thats invoked by the makefile, I use 'useradd' command & this updates the shadow, passwd files under /etc on the host, is it possible to tell the command to create the shadow / password under some other folder on the host? may be /tmp?
View 2 Replies
View Related