SUSE / Novell :: Use The Usermod Command To Add A Comment To /etc/passwd?
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?
I am using openSUSE 10.3 and the pc is DELL Optiplex 780. The network devices is not supported by openSUSE 10.3 but I may have found it's module. But I can't "MAKE INSTALL" it as my installation does not have MAKE command.
I have selected "Install All" during my installation. Linux version is 2.6.22.5-31-default.
What is the package name for the MAKE command? So that I can find it so that I can install it into my openSUSE 10.3?
I have a command which is application related and I get a output some thing like this when I execute the command...Quote:applicationrunningSo I need to write script to see if application is running, if application state running run some command else run echo command to state application is not running.So I need to run the first command, then based on output (Application status), run the second command else echo command.
I have a script: Quote: # Call mail script to send an email if [ -f /tmp/report.txt ]; then /usr/local/scripts/mail.pl sleep 10 rm /tmp/report.txt else exit fi
What I need to do is, I want to check if file exists, if file exists call other script (mail.pl) and then delete the file (assuming mail.pl script executed). If file not exists just exit out of the script. I'm not sure how I can see that other script execution completed or not before I delete the file even though I put sleep command. And also it seems like its not that good, even though it is working. I wanted to see if we can write in more efficient way.
I am using SLES10 and i checked with command crontab -l and when i compared it with the cron.d/daily/monthly/hourly , all they are different. is there any single command that list out all the cronjobs that exist under the system.
i tried to install java jdk, and vlc, but to my surprise everytime i wanted to install a single application, a massive 500MB update appeared along with the 2 applications i wanted to install, then i tried the command line to just install one program, and got rep. errors, and several .lock errors at the command line. after hours of googling i gave up , this distro was recommended because of great laptop support, but it's a hell of trying to install a single program, with fedora i just did su -c 'yum install vim' , or ubuntu sudo apt-get install vim or slackware: installpkg vim.tgz , but opensuse was so bloated whenever i wanted to install a program or two. it is a royal pain to install anything in opensuse how do you guys deal with dependency hell in opensuse?
I use vncviewer command line to remote access my pc from my notebook. Is there any option to resize the view like windows client can by percentage? my notebook screen size is 1280x800, while I use bigger resolution for my pc 1280x1024 if not mistaken. already look here: http://linux.die.net/man/1/vncviewer but I don't see any option to do that.
i ran into a problem when i installed mplayer on suse 11.1 from source, it works just fine BUT it has no GUI.When i try to use the command "gmplayer", it returns 'bash: gmplayer: command not found
I am using SUSE 11.0 KDE 4.0 . My system has root user, one normal user and both are me only. I am using only 'user account' only.I used to install softwares from 'user account' by using YAST.
Now my problem is - when i am trying install a rmp file through YAST, it ask root password by a dailog window. when i entered the root password it is giving error
Quote:
The program 'SU' not found. </br>Make sure your path
I had attched a screen captured image of that window.
And then after i had to be ignore that message. Installation just starts and then gives error, installation fails. so now i am not able to install any softwares through YAST !
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.
I've got several language multimedia CD-Rom's, made for Windows 95/98/98 SE and 2000, that I'm using by means of my daughter's old PC (Win 98 SE O.S.). However I noticed, also, that you can perfectly use them even with Windows Vista. What I'd like to know is if you can use them even with Suse/Novell and (why not?) OpenSuse Linux.
OK... I tried everything i could think of... but i still cannot get my Open SUSE 11.1 to mount my samba share at boot! I still don't understand the 11.1 boot sequence. can NE one help me... tell me what files to give you output from... Ty guys P.S. My shares originate from a Windows Server 2003 RC2 machine, and it's dns server doesn't work correctly... so my mount command is
mount -t //192.168.x.x/files/ /nET/ -o username=linux,password=xxxxxx please let me know what other info you need... I don't have the internet, so it will be tommorow b4 i see this again!!! Thanks
When i am adding a user using "useradd -d /home/test test" or "useradd test", it is now creating the home directory, whereas when i am using the graphical mode and going through several menu options, i am getting the home directory.
how to install a D-Link Access Point on Suse 11.0 or steer me toward documentation that will do that? I configured the device on XP following instruction from this forum and the AP configured perfectly.The AP is plugged directly into the network port on the computer. It *should* function correctly without a router. I tried a restart and Suse has no idea it's there. The computer is currently configured for a wired connection which needs to be changed. The computer itself is going to be used as a small home storage server.
I have a disturbing problem with my monitor which goes to sleep (or ??) after few minutes if my comp is not used and most of the time I have to restart my comp.I disabled everything in Powersave , but nothing. I did have that problem in previous versions of SUSE, but somehow, I solved that. I cant remember what I did then.
I've pre-partitioned my HDD and want to install 11.2 on the second primary partition.However, when using the installer, I can't get Suse to install on the prepared 20gb partition - it keeps insisting it wants to install on the large unallocated section of the drive.
I find the partitioner somewhat hard to use and the answer may be staring me in the face but I can't see it.
PackageKit Error repo-not-available: File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.2/' My 11.2 won't update and gives this error. Anyone know how to fix it?
New Suse 11.3 installation with Gnome desktop. Added K3B using Yast2, and after completing the install of K3B, there is no icon for K3B! Instead there is an "X" and the text for K3B in it.From the main menu -> more applications -> multimedia, is where the K3B icon is.Yast2 is supposed to install any dependencies needed or warn if it can not find any missing dependencies. What is missing, or is it a permission problem? All the other application icons seem fine.
/etc/passwd permissions keep getting reset to 600. When I set it to 644 as su, it eventually changes back.This occurs on my openSuse10.2 machine but not the openSuse 11.1 machine, but I assume that is irrelevant. Is there something that got tweaked that I need to change in Yast to stop this from happening?
I have been searching for 2 days and cannot find an answer. Apparently Sax2 isn't available in 11.3. It looks as if many are having the same difficulty. I've tried xrandr and tried to edit /etc/X11/Xorg.conf with no success.Copying a working xorg conf file might be a fix, I don't know.
I use Termlite from SCO as my terminal emulator. It works on SUSe 9.3 but i can not get it working on 11.3. How do I enable the networking for this in SUSE 11.3.
to get flash 10 working. I just decided to update to 11.3. Bought a 8.0GB USB stick to copy files to. USB DISK icon on visible on Desktop. mounted on /media/USB DISK Clicking on device properties it is read only. I can change permissions but that is only temporary. Looking under my computer it is formated as vfat device name is /dev/sdb
I can't copy any files to it. Can't see in terminal even being root as well. Almost started the Partitioner in Yast but didn't want to accidently crash the system. That WOULD be my luck Can't find a way to format it via GUI interface. Can I use something like fdisk in terminal. I guess I need to format it as ext3.
I have SuSE 11 box. I notice that there's an entry in /etc/services that shows windream running on port 534. Can someone tell what is windream? I tried to google but it keeps bring up German website or something.
we know that /etc/passwd - is a replica of /etc/passwd file and acts as a backup in any damage done to /etc/passwd file..i have observed a strange thing in RHEL 5.4....for example... if /etc/passwd has 100 accounts.. then /etc/passwd - is having only 99 accounts....when i add 101 useraccount with "useradd" then /etc/passwd has 101 accounts and /etc/passwd is having the 100th account of /etc/passwd - ..when i delete /etc/passwd and recover it with /etc/passwd - from runlevel 1 the lastly created user is not having his account after recovery.. what is the solution? this is same case even with /etc/shadow and /etc/shadow -